
.return-workspace{
  padding:54px 16px 72px;
}
.return-intro{
  max-width:760px;
  margin:0 auto 26px;
  text-align:center;
}
.return-intro h2{
  margin:0 0 10px;
  font-size:30px;
}
.return-intro p{
  margin:0;
  color:#697386;
  line-height:1.9;
}
.return-shell{
  max-width:900px;
  margin:0 auto;
}
.return-card{
  background:#fff;
  border:1px solid #e8eaf2;
  border-radius:26px;
  padding:28px;
  box-shadow:0 18px 55px rgba(31,35,48,.08);
}
.return-modes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:6px;
  background:#f4f5f9;
  border-radius:18px;
  margin-bottom:26px;
}
.return-mode{
  border:0;
  background:transparent;
  border-radius:14px;
  padding:14px 16px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  color:#5c6375;
}
.return-mode.active{
  background:#fff;
  color:#7251f5;
  box-shadow:0 4px 16px rgba(31,35,48,.08);
}
.return-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.return-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.return-field.full{
  grid-column:1/-1;
}
.return-field label{
  font-weight:800;
  font-size:14px;
}
.return-field select,
.return-field input{
  width:100%;
  box-sizing:border-box;
  border:1px solid #dfe2eb;
  border-radius:14px;
  padding:14px 15px;
  background:#fff;
  color:#202331;
  font:inherit;
  outline:none;
}
.return-field select:focus,
.return-field input:focus{
  border-color:#7251f5;
  box-shadow:0 0 0 3px rgba(114,81,245,.10);
}
.return-submit{
  grid-column:1/-1;
  border:0;
  border-radius:15px;
  padding:16px 20px;
  background:#7251f5;
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  margin-top:4px;
}
.return-submit:hover{
  transform:translateY(-1px);
}
.return-result{
  display:none;
  margin-top:22px;
  border-radius:20px;
  padding:22px;
  border:1px solid #e5e7ef;
  background:#fafbfe;
}
.return-result.show{
  display:block;
}
.return-result-status{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  font-weight:900;
  margin-bottom:10px;
}
.return-result p{
  margin:7px 0;
  line-height:1.8;
}
.return-result .return-big{
  font-size:28px;
  font-weight:900;
  color:#7251f5;
}
.return-source{
  margin-top:15px;
  padding-top:15px;
  border-top:1px solid #e4e6ed;
  font-size:13px;
  color:#697386;
}
.return-source a{
  color:#7251f5;
  font-weight:800;
}
.return-empty{
  padding:16px;
  border-radius:14px;
  background:#fff7e6;
  border:1px solid #f0d9a6;
  line-height:1.8;
}
.return-note{
  max-width:900px;
  margin:18px auto 0;
  color:#697386;
  font-size:13px;
  text-align:center;
  line-height:1.8;
}
.return-hidden{
  display:none!important;
}
.return-prebuy-box{
  grid-column:1/-1;
  padding:14px 16px;
  background:#f7f5ff;
  border:1px solid #e5dfff;
  border-radius:14px;
  line-height:1.8;
  color:#51486d;
}

html[data-theme="dark"] .return-intro p,
html[data-theme="dark"] .return-note{
  color:#aeb5c6;
}
html[data-theme="dark"] .return-card{
  background:#171a22;
  border-color:#303440;
  box-shadow:none;
}
html[data-theme="dark"] .return-modes{
  background:#101218;
}
html[data-theme="dark"] .return-mode{
  color:#aeb5c6;
}
html[data-theme="dark"] .return-mode.active{
  background:#242833;
  color:#cbbfff;
}
html[data-theme="dark"] .return-field select,
html[data-theme="dark"] .return-field input{
  background:#101218;
  border-color:#353a48;
  color:#f5f6fa;
}
html[data-theme="dark"] .return-result{
  background:#101218;
  border-color:#303440;
}
html[data-theme="dark"] .return-empty{
  background:#2a2417;
  border-color:#594b2a;
}
html[data-theme="dark"] .return-prebuy-box{
  background:#211d31;
  border-color:#41385d;
  color:#d5ccef;
}
html[data-theme="dark"] .return-source{
  border-color:#303440;
  color:#aeb5c6;
}

@media(max-width:700px){
  .return-card{padding:18px}
  .return-form{grid-template-columns:1fr}
  .return-field.full,
  .return-submit,
  .return-prebuy-box{grid-column:1}
  .return-modes{grid-template-columns:1fr}
  .return-intro h2{font-size:25px}
}


/* ==========================================================
   NUJIZ RETURN DEADLINE — PREMIUM RESULT V3
   ========================================================== */

.return-result{
  margin-top:26px;
  padding:0 !important;
  overflow:hidden;
  border-radius:26px !important;
  border:1px solid rgba(22,163,74,.32) !important;
  background:
    radial-gradient(circle at 92% 0%,rgba(34,197,94,.15),transparent 35%),
    linear-gradient(145deg,#f8fff9 0%,#ffffff 48%,#f7f9ff 100%) !important;
  box-shadow:
    0 24px 70px rgba(20,30,50,.10),
    0 0 0 1px rgba(255,255,255,.55) inset;
}

.return-result.show{
  display:block;
  animation:returnResultIn .42s cubic-bezier(.2,.8,.2,1);
}

@keyframes returnResultIn{
  from{
    opacity:0;
    transform:translateY(12px) scale(.985);
  }
  to{
    opacity:1;
    transform:none;
  }
}


/* HERO */

.rd-result-hero{
  position:relative;
  overflow:hidden;
  padding:30px;
}

.rd-result-hero::before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  border-radius:50%;
  top:-160px;
  left:-90px;
  background:rgba(34,197,94,.10);
  filter:blur(4px);
  pointer-events:none;
}

.rd-result-top{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:25px;
}

.rd-status{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:9px 15px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
}

.rd-status.good{
  background:#dcfce7;
  color:#15803d;
  border:1px solid #bbf7d0;
}

.rd-status.expired{
  background:#fee2e2;
  color:#b91c1c;
  border:1px solid #fecaca;
}

.rd-status-icon{
  width:25px;
  height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:currentColor;
  font-size:13px;
}

.rd-status-icon span{
  color:#fff;
}

.rd-store-name{
  font-size:14px;
  color:#697386;
  font-weight:800;
}


/* MAIN RESULT */

.rd-result-main{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:190px 1fr;
  gap:30px;
  align-items:center;
}


/* PROGRESS RING */

.rd-ring{
  --progress:75;
  width:170px;
  height:170px;
  border-radius:50%;
  position:relative;
  display:grid;
  place-items:center;
  margin:auto;

  background:
    conic-gradient(
      #22c55e calc(var(--progress) * 1%),
      #e6eaf0 0
    );

  box-shadow:
    0 18px 42px rgba(34,197,94,.18);
}

.rd-ring::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1px #edf0f5;
}

.rd-ring-content{
  position:relative;
  z-index:2;
  text-align:center;
}

.rd-ring-number{
  display:block;
  font-size:42px;
  line-height:1;
  font-weight:950;
  letter-spacing:-1px;
  color:#172033;
}

.rd-ring-label{
  display:block;
  margin-top:7px;
  font-size:13px;
  font-weight:800;
  color:#697386;
}


/* RESULT COPY */

.rd-big-copy{
  min-width:0;
}

.rd-eyebrow{
  display:block;
  margin-bottom:7px;
  color:#697386;
  font-size:14px;
  font-weight:800;
}

.rd-days{
  margin:0;
  font-size:44px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-1.3px;
  color:#172033;
}

.rd-days strong{
  color:#16a34a;
}

.rd-deadline-label{
  margin-top:19px;
  font-size:13px;
  color:#697386;
  font-weight:800;
}

.rd-deadline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:7px;
  padding:12px 16px;
  border-radius:14px;
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  font-size:19px;
  font-weight:950;
  color:#166534;
}

.rd-calendar{
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:9px;
  background:#dcfce7;
}


/* INFO CARDS */

.rd-info-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:27px;
}

.rd-info-card{
  min-height:78px;
  display:flex;
  gap:11px;
  align-items:center;
  padding:13px;
  border-radius:16px;
  border:1px solid #e4e8ef;
  background:rgba(255,255,255,.78);
}

.rd-info-icon{
  flex:0 0 auto;
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#eef2ff;
  font-size:18px;
}

.rd-info-card b{
  display:block;
  margin-bottom:3px;
  font-size:13px;
  color:#202638;
}

.rd-info-card small{
  display:block;
  line-height:1.45;
  color:#737b8d;
  font-size:11px;
}


/* WARNING */

.rd-warning{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:15px;
  padding:15px 17px;
  border-radius:16px;
  background:#fffbeb;
  border:1px solid #fde68a;
  color:#854d0e;
  line-height:1.7;
  font-size:13px;
}

.rd-warning-icon{
  font-size:20px;
  line-height:1.3;
}

.rd-warning strong{
  display:block;
  margin-bottom:2px;
}


/* CONDITIONS */

.rd-conditions{
  position:relative;
  z-index:2;
  margin-top:15px;
  padding:18px;
  border-radius:18px;
  border:1px solid #dbe4f0;
  background:rgba(248,250,252,.88);
}

.rd-conditions-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  font-size:15px;
  font-weight:950;
  color:#263247;
}

.rd-condition{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:8px 0;
  line-height:1.6;
  font-size:13px;
  color:#4c566a;
}

.rd-condition-check{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin-top:1px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dcfce7;
  color:#16a34a;
  font-size:11px;
  font-weight:900;
}


/* SOURCE */

.rd-source-row{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e6e9ef;
}

.rd-source-meta{
  color:#7b8495;
  font-size:12px;
  line-height:1.7;
}

.rd-source-meta strong{
  color:#39445a;
}

.rd-source-button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid #7251f5;
  text-decoration:none;
  color:#6545e8 !important;
  font-size:13px;
  font-weight:900;
  transition:.2s ease;
}

.rd-source-button:hover{
  background:#7251f5;
  color:#fff !important;
  transform:translateY(-1px);
}


/* EXPIRED */

.rd-result-expired{
  border-color:rgba(239,68,68,.32) !important;
  background:
    radial-gradient(circle at 90% 0%,rgba(239,68,68,.10),transparent 36%),
    linear-gradient(145deg,#fffafa,#fff,#fafbff) !important;
}

.rd-result-expired .rd-ring{
  background:
    conic-gradient(
      #ef4444 calc(var(--progress) * 1%),
      #e6eaf0 0
    );
  box-shadow:0 18px 42px rgba(239,68,68,.14);
}

.rd-result-expired .rd-days strong{
  color:#dc2626;
}


/* ==========================================================
   DARK MODE
   ========================================================== */

html[data-theme="dark"] .return-result{
  background:
    radial-gradient(circle at 90% 0%,rgba(34,197,94,.14),transparent 38%),
    linear-gradient(145deg,#111820,#0f141c 55%,#111621) !important;

  border-color:rgba(34,197,94,.40) !important;

  box-shadow:
    0 28px 80px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.035);
}

html[data-theme="dark"] .rd-status.good{
  background:rgba(34,197,94,.13);
  border-color:rgba(34,197,94,.32);
  color:#4ade80;
}

html[data-theme="dark"] .rd-status.expired{
  background:rgba(239,68,68,.12);
  border-color:rgba(239,68,68,.28);
  color:#f87171;
}

html[data-theme="dark"] .rd-store-name,
html[data-theme="dark"] .rd-eyebrow,
html[data-theme="dark"] .rd-deadline-label,
html[data-theme="dark"] .rd-ring-label{
  color:#9ba6b8;
}

html[data-theme="dark"] .rd-ring{
  background:
    conic-gradient(
      #38e879 calc(var(--progress) * 1%),
      #293241 0
    );
}

html[data-theme="dark"] .rd-ring::before{
  background:#111720;
  box-shadow:inset 0 0 0 1px #2c3543;
}

html[data-theme="dark"] .rd-ring-number,
html[data-theme="dark"] .rd-days{
  color:#f4f7fb;
}

html[data-theme="dark"] .rd-days strong{
  color:#42e981;
  text-shadow:0 0 24px rgba(66,233,129,.15);
}

html[data-theme="dark"] .rd-deadline{
  color:#d9ffe6;
  background:rgba(34,197,94,.10);
  border-color:rgba(34,197,94,.35);
}

html[data-theme="dark"] .rd-calendar{
  background:rgba(34,197,94,.15);
}

html[data-theme="dark"] .rd-info-card{
  background:rgba(25,33,44,.82);
  border-color:#303a49;
}

html[data-theme="dark"] .rd-info-icon{
  background:#202b40;
}

html[data-theme="dark"] .rd-info-card b{
  color:#eef2f8;
}

html[data-theme="dark"] .rd-info-card small{
  color:#9ca8ba;
}

html[data-theme="dark"] .rd-warning{
  background:rgba(234,179,8,.11);
  border-color:rgba(234,179,8,.35);
  color:#f8d978;
}

html[data-theme="dark"] .rd-conditions{
  background:rgba(18,25,35,.76);
  border-color:#303b4a;
}

html[data-theme="dark"] .rd-conditions-title{
  color:#e8edf5;
}

html[data-theme="dark"] .rd-condition{
  color:#b8c2d1;
}

html[data-theme="dark"] .rd-condition-check{
  background:rgba(34,197,94,.14);
  color:#4ade80;
}

html[data-theme="dark"] .rd-source-row{
  border-color:#303845;
}

html[data-theme="dark"] .rd-source-meta{
  color:#909caf;
}

html[data-theme="dark"] .rd-source-meta strong{
  color:#dce3ed;
}

html[data-theme="dark"] .rd-source-button{
  border-color:#5a9cff;
  color:#79b3ff !important;
}

html[data-theme="dark"] .rd-source-button:hover{
  background:#2878e8;
  color:#fff !important;
}

html[data-theme="dark"] .rd-result-expired{
  background:
    radial-gradient(circle at 90% 0%,rgba(239,68,68,.12),transparent 38%),
    linear-gradient(145deg,#191216,#10141b,#121620) !important;
  border-color:rgba(239,68,68,.36) !important;
}


/* MOBILE */

@media(max-width:700px){

  .rd-result-hero{
    padding:20px;
  }

  .rd-result-top{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }

  .rd-result-main{
    grid-template-columns:1fr;
    text-align:center;
    gap:20px;
  }

  .rd-ring{
    width:145px;
    height:145px;
  }

  .rd-ring-number{
    font-size:36px;
  }

  .rd-days{
    font-size:35px;
  }

  .rd-deadline{
    justify-content:center;
    font-size:16px;
  }

  .rd-info-grid{
    grid-template-columns:1fr;
  }

  .rd-info-card{
    text-align:start;
  }

  .rd-warning{
    text-align:start;
  }

  .rd-conditions{
    text-align:start;
  }

  .rd-source-row{
    flex-direction:column;
    align-items:stretch;
  }

  .rd-source-button{
    width:100%;
    box-sizing:border-box;
  }
}



/* ==========================================================
   NUJIZ RETURN DEADLINE — DARK CONTRAST FIX V4
   ========================================================== */

/* النصوص الثانوية في أعلى النتيجة */
html[data-theme="dark"] .rd-store-name,
html[data-theme="dark"] .rd-eyebrow,
html[data-theme="dark"] .rd-deadline-label,
html[data-theme="dark"] .rd-ring-label{
  color:#c3ccda !important;
  opacity:1 !important;
}


/* الرقم داخل الدائرة */
html[data-theme="dark"] .rd-ring-number{
  color:#ffffff !important;
  opacity:1 !important;
  text-shadow:0 2px 16px rgba(255,255,255,.08);
}


/* العنوان الكبير */
html[data-theme="dark"] .rd-days{
  color:#f8fafc !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-days strong{
  color:#4ade80 !important;
  opacity:1 !important;
}


/* تاريخ آخر يوم */
html[data-theme="dark"] .rd-deadline{
  color:#f0fff5 !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-deadline *{
  color:inherit !important;
}


/* بطاقات المعلومات */
html[data-theme="dark"] .rd-info-card{
  background:#18212d !important;
  border-color:#344154 !important;
}

html[data-theme="dark"] .rd-info-card b{
  color:#f8fafc !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-info-card small{
  color:#c0cad8 !important;
  opacity:1 !important;
}


/* التحذيرات */
html[data-theme="dark"] .rd-warning{
  background:rgba(146,101,8,.20) !important;
  border-color:#856611 !important;
  color:#f9e7a7 !important;
}

html[data-theme="dark"] .rd-warning strong{
  color:#fff4c7 !important;
}

html[data-theme="dark"] .rd-warning div,
html[data-theme="dark"] .rd-warning span{
  opacity:1 !important;
}


/* صندوق الشروط */
html[data-theme="dark"] .rd-conditions{
  background:#141c27 !important;
  border-color:#344154 !important;
}

html[data-theme="dark"] .rd-conditions-title{
  color:#ffffff !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-condition{
  color:#d2dae6 !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-condition span{
  opacity:1 !important;
}

html[data-theme="dark"] .rd-condition-check{
  color:#5df092 !important;
  background:rgba(34,197,94,.18) !important;
}


/* بيانات المصدر */
html[data-theme="dark"] .rd-source-meta{
  color:#bac5d4 !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-source-meta strong{
  color:#ffffff !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-source-button{
  color:#d7e9ff !important;
  border-color:#7899c7 !important;
  background:#172131 !important;
  opacity:1 !important;
}

html[data-theme="dark"] .rd-source-button:hover{
  color:#ffffff !important;
  background:#286ed5 !important;
}


/* حماية من أي opacity موروث من ملفات نُجِز العامة */
html[data-theme="dark"] .return-result p,
html[data-theme="dark"] .return-result small,
html[data-theme="dark"] .return-result b,
html[data-theme="dark"] .return-result strong,
html[data-theme="dark"] .return-result h3{
  opacity:1 !important;
}


/* النتيجة كاملة */
html[data-theme="dark"] .return-result{
  color:#eef2f7 !important;
}


/* الحالة أعلى النتيجة */
html[data-theme="dark"] .rd-status.good{
  color:#69f09a !important;
  background:rgba(22,163,74,.18) !important;
  border-color:rgba(74,222,128,.40) !important;
}

html[data-theme="dark"] .rd-status.expired{
  color:#ff9a9a !important;
}


/* تحسين النصوص العربية الصغيرة */
html[data-theme="dark"] .return-result{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

html[data-theme="dark"] .rd-info-card small,
html[data-theme="dark"] .rd-condition,
html[data-theme="dark"] .rd-warning,
html[data-theme="dark"] .rd-source-meta{
  font-weight:600;
}


/* الهاتف */
@media(max-width:700px){

  html[data-theme="dark"] .rd-condition,
  html[data-theme="dark"] .rd-warning{
    font-size:13px;
    line-height:1.8;
  }

  html[data-theme="dark"] .rd-info-card small{
    font-size:12px;
  }
}


/* ==========================================================
   RETURN MODE TABS — VISIBILITY FIX V5
   ========================================================== */

html[data-theme="dark"] .return-modes{
  background:#0b1018 !important;
  border:1px solid #293343 !important;
  padding:6px !important;
  gap:8px !important;
}

html[data-theme="dark"] .return-mode{
  color:#cbd5e1 !important;
  background:transparent !important;
  opacity:1 !important;
  font-weight:900 !important;
  border:1px solid transparent !important;
  text-shadow:none !important;
}

html[data-theme="dark"] .return-mode:hover{
  color:#ffffff !important;
  background:#182131 !important;
  border-color:#344154 !important;
}

/* الزر المختار */
html[data-theme="dark"] .return-mode.active{
  color:#ffffff !important;
  background:linear-gradient(
    135deg,
    #6845f5 0%,
    #7957ff 55%,
    #6541e8 100%
  ) !important;

  border-color:#8b73ff !important;

  box-shadow:
    0 8px 24px rgba(114,81,245,.30),
    inset 0 1px 0 rgba(255,255,255,.18) !important;

  opacity:1 !important;
}

/* حماية النص والأيقونة من CSS العام */
html[data-theme="dark"] .return-mode *,
html[data-theme="dark"] .return-mode.active *{
  color:inherit !important;
  opacity:1 !important;
}

/* الوضع الفاتح أيضًا */
.return-mode{
  font-weight:900 !important;
  opacity:1 !important;
}

.return-mode.active{
  color:#ffffff !important;
  background:linear-gradient(
    135deg,
    #6845f5,
    #7957ff
  ) !important;

  box-shadow:0 7px 20px rgba(114,81,245,.22) !important;
}

/* الهاتف */
@media(max-width:700px){
  .return-mode{
    min-height:52px;
    font-size:14px !important;
  }
}


/* ==========================================================
   NUJIZ RETURN DEADLINE — PREMIUM CALCULATE BUTTON V6
   ========================================================== */

/* زر احتساب مهلة الإرجاع */
#returnSubmit{
  position:relative !important;
  width:100% !important;
  min-height:58px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:11px !important;

  margin-top:18px !important;
  padding:14px 24px !important;

  border:1px solid rgba(255,255,255,.32) !important;
  border-radius:15px !important;

  background:
    linear-gradient(
      135deg,
      #603cff 0%,
      #7650ff 48%,
      #6842f4 100%
    ) !important;

  color:#ffffff !important;

  font-family:inherit !important;
  font-size:17px !important;
  font-weight:900 !important;
  line-height:1.3 !important;

  opacity:1 !important;

  text-shadow:
    0 1px 2px rgba(0,0,0,.20) !important;

  box-shadow:
    0 9px 26px rgba(105,68,255,.28),
    inset 0 1px 0 rgba(255,255,255,.25) !important;

  cursor:pointer !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;

  isolation:isolate;
}


/* لمعة داخل الزر */
#returnSubmit::before{
  content:"" !important;

  position:absolute !important;
  inset:1px !important;

  border-radius:13px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.12),
      transparent 50%
    ) !important;

  pointer-events:none !important;
  z-index:-1 !important;
}


/* أيقونة الآلة الحاسبة */
#returnSubmit::after{
  content:"⌗" !important;

  display:inline-grid !important;
  place-items:center !important;

  width:27px !important;
  height:27px !important;

  border-radius:8px !important;

  background:rgba(255,255,255,.16) !important;
  border:1px solid rgba(255,255,255,.22) !important;

  color:#ffffff !important;

  font-size:18px !important;
  font-weight:900 !important;
  line-height:1 !important;

  opacity:1 !important;
}


/* حماية النص من CSS العام للموقع */
#returnSubmit,
#returnSubmit *,
html[data-theme="dark"] #returnSubmit,
html[data-theme="dark"] #returnSubmit *{
  color:#ffffff !important;
  opacity:1 !important;
  -webkit-text-fill-color:#ffffff !important;
}


/* الوضع الداكن */
html[data-theme="dark"] #returnSubmit{
  background:
    linear-gradient(
      135deg,
      #603cff 0%,
      #7a52ff 50%,
      #6841f5 100%
    ) !important;

  border-color:rgba(187,170,255,.70) !important;

  box-shadow:
    0 9px 28px rgba(104,65,245,.38),
    0 0 22px rgba(113,72,255,.12),
    inset 0 1px 0 rgba(255,255,255,.25) !important;

  color:#ffffff !important;
}


/* Hover */
#returnSubmit:hover{
  transform:translateY(-2px) !important;

  filter:brightness(1.08) !important;

  box-shadow:
    0 13px 34px rgba(104,65,245,.38),
    0 0 26px rgba(113,72,255,.18),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
}


/* Click */
#returnSubmit:active{
  transform:translateY(0) scale(.995) !important;
  filter:brightness(.98) !important;
}


/* Keyboard accessibility */
#returnSubmit:focus-visible{
  outline:3px solid rgba(167,139,250,.55) !important;
  outline-offset:3px !important;
}


/* Disabled */
#returnSubmit:disabled{
  cursor:not-allowed !important;
  opacity:.60 !important;
  transform:none !important;
  box-shadow:none !important;
}


/* الهاتف */
@media(max-width:700px){

  #returnSubmit{
    min-height:56px !important;
    padding:13px 18px !important;
    font-size:16px !important;
    border-radius:14px !important;
  }

  #returnSubmit::after{
    width:25px !important;
    height:25px !important;
    font-size:16px !important;
  }
}


/* ==========================================================
   RETURN MODE BUTTONS — FORCE WHITE TEXT V7
   ========================================================== */

/* الزران: اشتريت بالفعل + قبل الشراء */
.return-modes .return-mode,
.return-modes .return-mode.active,
html[data-theme="dark"] .return-modes .return-mode,
html[data-theme="dark"] .return-modes .return-mode.active{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    opacity:1 !important;
}

/* أي نص أو أيقونة داخل الزرين */
.return-modes .return-mode *,
.return-modes .return-mode.active *,
html[data-theme="dark"] .return-modes .return-mode *,
html[data-theme="dark"] .return-modes .return-mode.active *{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    opacity:1 !important;
}

/* الزر غير المختار: أبيض واضح لكن بدون التدرج البنفسجي */
html[data-theme="dark"] .return-modes .return-mode:not(.active){
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    background:#0c121b !important;
}

/* الزر المختار */
html[data-theme="dark"] .return-modes .return-mode.active{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;

    background:linear-gradient(
        135deg,
        #603cff 0%,
        #7952ff 50%,
        #6842f4 100%
    ) !important;
}

/* Hover للزر غير المختار */
html[data-theme="dark"] .return-modes .return-mode:not(.active):hover{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    background:#182131 !important;
}

/* ==========================================================
   RETURN DEADLINE — EXPIRED STATE HIGH CONTRAST V8
   ========================================================== */

/* خلفية حالة انتهاء المهلة */
html[data-theme="dark"] .return-result.rd-result-expired{
  border-color:rgba(255,62,79,.65) !important;

  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(255,45,68,.15),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #12161e 0%,
      #171218 55%,
      #11161e 100%
    ) !important;

  box-shadow:
    0 25px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
}


/* الشارة: انتهت المهلة الزمنية */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-status.expired{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  background:
    linear-gradient(
      135deg,
      rgba(185,28,28,.92),
      rgba(220,38,38,.82)
    ) !important;

  border:1px solid #ff5967 !important;

  box-shadow:
    0 0 20px rgba(239,68,68,.28),
    inset 0 1px 0 rgba(255,255,255,.15) !important;

  font-weight:900 !important;
  opacity:1 !important;
}


/* أي نص داخل الشارة */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-status.expired *{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}


/* دائرة التعجب */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-status-icon{

  background:#ffffff !important;
  color:#dc2626 !important;

  box-shadow:
    0 0 12px rgba(255,255,255,.20) !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-status-icon span{

  color:#dc2626 !important;
  -webkit-text-fill-color:#dc2626 !important;
}


/* النص الصغير فوق العنوان */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-eyebrow{

  color:#cbd5e1 !important;
  -webkit-text-fill-color:#cbd5e1 !important;

  opacity:1 !important;
  font-weight:800 !important;
}


/* العنوان الكبير: انتهت المهلة */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-days,

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-days strong{

  color:#ff7d89 !important;
  -webkit-text-fill-color:#ff7d89 !important;

  opacity:1 !important;

  text-shadow:
    0 0 22px rgba(255,55,75,.25) !important;
}


/* النص: آخر يوم متوقع ضمن المهلة */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-deadline-label{

  color:#d2dae6 !important;
  -webkit-text-fill-color:#d2dae6 !important;

  opacity:1 !important;
}


/* تاريخ انتهاء المهلة */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-deadline{

  color:#ffb0b7 !important;
  -webkit-text-fill-color:#ffb0b7 !important;

  background:rgba(190,24,43,.18) !important;
  border:1px solid rgba(255,67,86,.55) !important;

  box-shadow:
    0 0 18px rgba(239,68,68,.10) !important;

  opacity:1 !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-deadline *{

  color:#ffb0b7 !important;
  -webkit-text-fill-color:#ffb0b7 !important;
  opacity:1 !important;
}


/* الدائرة تتحول من الأخضر إلى الأحمر */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-ring{

  background:
    conic-gradient(
      #ff4051 0deg,
      #ff4051 360deg
    ) !important;

  box-shadow:
    0 0 30px rgba(255,64,81,.25),
    0 15px 35px rgba(0,0,0,.25) !important;
}


/* داخل الدائرة */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-ring::before{

  background:#111821 !important;
  box-shadow:
    inset 0 0 0 1px #303a48 !important;
}


/* رقم صفر */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-ring-number{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  opacity:1 !important;
  font-weight:950 !important;

  text-shadow:
    0 0 15px rgba(255,255,255,.12) !important;
}


/* يوماً متبقياً */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-ring-label{

  color:#f1f5f9 !important;
  -webkit-text-fill-color:#f1f5f9 !important;

  opacity:1 !important;
  font-weight:800 !important;
}


/* اسم المتجر */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-store-name{

  color:#e2e8f0 !important;
  -webkit-text-fill-color:#e2e8f0 !important;

  opacity:1 !important;
  font-weight:800 !important;
}


/* بطاقات التفاصيل */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-info-card{

  background:#172230 !important;
  border-color:#36475b !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-info-card b{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-info-card small{

  color:#c7d1df !important;
  -webkit-text-fill-color:#c7d1df !important;
}


/* الشروط */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-conditions-title{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-condition{

  color:#d5dde8 !important;
  -webkit-text-fill-color:#d5dde8 !important;
}


/* تنبيه حالة منتهية */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-warning{

  color:#ffe69a !important;
  -webkit-text-fill-color:#ffe69a !important;

  background:rgba(133,91,5,.24) !important;
  border-color:#a87b0b !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-warning strong{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}


/* المصدر */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-source-meta{

  color:#c5cfdd !important;
  -webkit-text-fill-color:#c5cfdd !important;
}

html[data-theme="dark"]
.return-result.rd-result-expired
.rd-source-meta strong{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}


/* حماية نهائية من أي opacity موروث */
html[data-theme="dark"]
.return-result.rd-result-expired
.rd-result-hero *{

  opacity:1;
}


/* ==========================================================
   RETURN DEADLINE — PRE-BUY HIGH CONTRAST V9
   ========================================================== */

/* شارة تحقق قبل الشراء */
html[data-theme="dark"] .return-result .rd-status.good{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;

  background:rgba(22,163,74,.28) !important;
  border-color:rgba(74,222,128,.62) !important;

  box-shadow:
    0 0 20px rgba(34,197,94,.13) !important;

  font-weight:900 !important;
}

html[data-theme="dark"] .return-result .rd-status.good *{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}


/* أيقونة الصح */
html[data-theme="dark"] .return-result .rd-status.good .rd-status-icon{
  background:#ffffff !important;
  color:#15803d !important;
}

html[data-theme="dark"] .return-result .rd-status.good .rd-status-icon span{
  color:#15803d !important;
  -webkit-text-fill-color:#15803d !important;
}


/* اسم المتجر */
html[data-theme="dark"] .return-result .rd-store-name{
  color:#e5e7eb !important;
  -webkit-text-fill-color:#e5e7eb !important;
  opacity:1 !important;
}


/* مدة الإرجاع المنشورة */
html[data-theme="dark"] .return-result .rd-eyebrow{
  color:#cbd5e1 !important;
  -webkit-text-fill-color:#cbd5e1 !important;
  opacity:1 !important;
  font-weight:800 !important;
}


/* 7 يوماً */
html[data-theme="dark"] .return-result:not(.rd-result-expired) .rd-days,
html[data-theme="dark"] .return-result:not(.rd-result-expired) .rd-days strong{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}


/* تبدأ من تاريخ الشراء */
html[data-theme="dark"] .return-result .rd-deadline-label{
  color:#cbd5e1 !important;
  -webkit-text-fill-color:#cbd5e1 !important;
  opacity:1 !important;
}


/* دائرة الأيام */
html[data-theme="dark"] .return-result:not(.rd-result-expired) .rd-ring-number{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  font-weight:950 !important;
}

html[data-theme="dark"] .return-result:not(.rd-result-expired) .rd-ring-label{
  color:#e2e8f0 !important;
  -webkit-text-fill-color:#e2e8f0 !important;
  opacity:1 !important;
  font-weight:800 !important;
}


/* بطاقات المعلومات الثلاث */
html[data-theme="dark"] .return-result .rd-info-card b{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}

html[data-theme="dark"] .return-result .rd-info-card small{
  color:#cbd5e1 !important;
  -webkit-text-fill-color:#cbd5e1 !important;
  opacity:1 !important;
}


/* التنبيه */
html[data-theme="dark"] .return-result .rd-warning{
  color:#f9e6a1 !important;
  -webkit-text-fill-color:#f9e6a1 !important;
  opacity:1 !important;
}

html[data-theme="dark"] .return-result .rd-warning strong{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}

html[data-theme="dark"] .return-result .rd-warning div{
  color:#f9e6a1 !important;
  -webkit-text-fill-color:#f9e6a1 !important;
  opacity:1 !important;
}


/* عنوان أهم الشروط */
html[data-theme="dark"] .return-result .rd-conditions-title{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  font-weight:950 !important;
}


/* نصوص الشروط */
html[data-theme="dark"] .return-result .rd-condition,
html[data-theme="dark"] .return-result .rd-condition span:not(.rd-condition-check){
  color:#d5dde8 !important;
  -webkit-text-fill-color:#d5dde8 !important;
  opacity:1 !important;
}


/* علامات الصح */
html[data-theme="dark"] .return-result .rd-condition-check{
  color:#59ee8c !important;
  -webkit-text-fill-color:#59ee8c !important;
  background:rgba(34,197,94,.18) !important;
  opacity:1 !important;
}


/* المصدر */
html[data-theme="dark"] .return-result .rd-source-meta{
  color:#cbd5e1 !important;
  -webkit-text-fill-color:#cbd5e1 !important;
  opacity:1 !important;
}

html[data-theme="dark"] .return-result .rd-source-meta strong{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}


/* زر عرض السياسة الرسمية */
html[data-theme="dark"] .return-result .rd-source-button{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  background:#182435 !important;
  border:1px solid #6aa8ff !important;

  opacity:1 !important;
  font-weight:900 !important;

  box-shadow:
    0 0 15px rgba(59,130,246,.10) !important;
}

html[data-theme="dark"] .return-result .rd-source-button:hover{
  background:#2563eb !important;
  border-color:#93c5fd !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}


/* حماية نهائية للنصوص داخل النتيجة */
html[data-theme="dark"] .return-result .rd-result-hero p,
html[data-theme="dark"] .return-result .rd-result-hero small,
html[data-theme="dark"] .return-result .rd-result-hero b,
html[data-theme="dark"] .return-result .rd-result-hero strong{
  opacity:1 !important;
}


/* ==========================================================
   PRE-BUY ACTION BUTTON V10
   ========================================================== */

/*
  الوضع العادي:
  احسب مهلة الإرجاع = بنفسجي

  قبل الشراء:
  عرض سياسة الإرجاع = أخضر
*/

#returnSubmit.prebuy-action{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  background:
    linear-gradient(
      135deg,
      #059669 0%,
      #10b981 50%,
      #059669 100%
    ) !important;

  border-color:rgba(110,231,183,.70) !important;

  box-shadow:
    0 10px 28px rgba(16,185,129,.25),
    0 0 24px rgba(16,185,129,.10),
    inset 0 1px 0 rgba(255,255,255,.25) !important;
}


/* أيقونة مختلفة في وضع قبل الشراء */
#returnSubmit.prebuy-action::after{
  content:"⌕" !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  background:rgba(255,255,255,.16) !important;
  border-color:rgba(255,255,255,.25) !important;
}


/* Hover */
#returnSubmit.prebuy-action:hover{
  background:
    linear-gradient(
      135deg,
      #047857 0%,
      #10b981 50%,
      #059669 100%
    ) !important;

  box-shadow:
    0 14px 34px rgba(16,185,129,.32),
    0 0 28px rgba(16,185,129,.14),
    inset 0 1px 0 rgba(255,255,255,.30) !important;
}


/* الوضع الداكن */
html[data-theme="dark"] #returnSubmit.prebuy-action{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  background:
    linear-gradient(
      135deg,
      #047857,
      #10b981
    ) !important;

  border-color:#34d399 !important;
}


/* منع أي CSS عام من تغيير النص */
html[data-theme="dark"] #returnSubmit.prebuy-action,
html[data-theme="dark"] #returnSubmit.prebuy-action *{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}


/* ==========================================================
   PREMIUM DATE PICKER V11
   ========================================================== */

.rd-date-picker{
  position:relative;
  width:100%;
  height:54px;
  display:flex;
  align-items:center;
  overflow:hidden;

  background:#ffffff;
  border:1px solid #d9dee7;
  border-radius:14px;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;

  cursor:pointer;
}

.rd-date-picker:hover{
  border-color:#8b6cff;
}

.rd-date-picker:focus-within{
  border-color:#7c4dff;

  box-shadow:
    0 0 0 3px rgba(124,77,255,.13),
    0 8px 22px rgba(0,0,0,.06);
}


/* التاريخ الظاهر */
.rd-date-display{
  position:absolute !important;
  inset:0 !important;

  width:100% !important;
  height:100% !important;

  padding:0 56px 0 18px !important;

  border:0 !important;
  outline:0 !important;

  background:transparent !important;

  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;

  font-size:15px !important;
  font-weight:800 !important;
  letter-spacing:.3px;

  cursor:pointer;
  pointer-events:none;
}


/* DD / MM / YYYY */
.rd-date-placeholder{
  position:absolute;

  left:18px;
  top:50%;
  transform:translateY(-50%);

  color:#8b95a5;
  font-size:14px;
  font-weight:700;

  pointer-events:none;
}


/* إخفاؤه بعد اختيار تاريخ */
.rd-date-picker.has-date .rd-date-placeholder{
  display:none;
}


/* أيقونة التقويم */
.rd-date-calendar{
  position:absolute;

  right:15px;
  top:50%;
  transform:translateY(-50%);

  width:31px;
  height:31px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:9px;

  background:rgba(124,77,255,.10);
  border:1px solid rgba(124,77,255,.18);

  font-size:16px;

  pointer-events:none;
}


/*
 الحقل الأصلي يبقى فوق كامل المساحة
 لكنه شفاف، لذلك الضغط في أي مكان
 يفتح تقويم المتصفح.
*/
.rd-native-date{
  position:absolute !important;
  inset:0 !important;

  width:100% !important;
  height:100% !important;

  opacity:0 !important;

  cursor:pointer !important;
  z-index:5 !important;
}


/* ==========================================================
   DARK MODE
   ========================================================== */

html[data-theme="dark"] .rd-date-picker{
  background:#101720 !important;
  border-color:#3b4758 !important;
}

html[data-theme="dark"] .rd-date-picker:hover{
  border-color:#7257ff !important;
}

html[data-theme="dark"] .rd-date-picker:focus-within{
  border-color:#805fff !important;

  box-shadow:
    0 0 0 3px rgba(124,77,255,.15),
    0 0 20px rgba(124,77,255,.08) !important;
}

html[data-theme="dark"] .rd-date-display{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html[data-theme="dark"] .rd-date-placeholder{
  color:#aeb8c8 !important;
}

html[data-theme="dark"] .rd-date-calendar{
  background:rgba(124,77,255,.16) !important;
  border-color:rgba(139,108,255,.32) !important;
}


/* RTL */
html[dir="rtl"] .rd-date-display{
  padding:
    0 18px
    0 56px !important;

  text-align:right;
}

html[dir="rtl"] .rd-date-placeholder{
  right:18px;
  left:auto;
}

html[dir="rtl"] .rd-date-calendar{
  left:15px;
  right:auto;
}


/* Mobile */
@media(max-width:640px){

  .rd-date-picker{
    height:52px;
  }

  .rd-date-display{
    font-size:14px !important;
  }

}


/* ==========================================================
   MANUAL + CALENDAR DATE INPUT V12
   ========================================================== */

.rd-date-display{
  position:relative !important;
  inset:auto !important;

  width:100% !important;
  height:100% !important;

  padding-left:18px !important;
  padding-right:58px !important;

  z-index:3 !important;

  pointer-events:auto !important;
  cursor:text !important;

  caret-color:#7c4dff !important;
}


/* Placeholder */
.rd-date-display::placeholder{
  color:#7f8999 !important;
  -webkit-text-fill-color:#7f8999 !important;
  opacity:1 !important;
  letter-spacing:.3px;
}


/* زر التقويم */
.rd-date-calendar{
  z-index:8 !important;
  pointer-events:none !important;
}


/*
 الحقل الأصلي لم يعد يغطي كامل الحقل.
 نضعه فقط فوق زر التقويم.
*/
.rd-native-date{
  position:absolute !important;

  top:0 !important;
  right:0 !important;
  left:auto !important;

  width:54px !important;
  height:100% !important;

  opacity:0 !important;

  z-index:10 !important;
  cursor:pointer !important;
}


/* RTL: زر التقويم في اليسار */
html[dir="rtl"] .rd-native-date{
  left:0 !important;
  right:auto !important;
}


/* RTL padding */
html[dir="rtl"] .rd-date-display{
  padding-right:18px !important;
  padding-left:58px !important;
}


/* النص المكتوب */
html[data-theme="dark"] .rd-date-display{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  caret-color:#a78bfa !important;
}


/* Focus */
.rd-date-display:focus{
  outline:none !important;
}


/* خطأ في التاريخ */
.rd-date-picker.rd-date-error{
  border-color:#ef4444 !important;

  box-shadow:
    0 0 0 3px rgba(239,68,68,.12) !important;
}

.rd-date-picker.rd-date-error .rd-date-display{
  color:#ff8b95 !important;
  -webkit-text-fill-color:#ff8b95 !important;
}


/* تاريخ صحيح */
.rd-date-picker.rd-date-valid{
  border-color:rgba(52,211,153,.65) !important;
}


/* Mobile */
@media(max-width:640px){

  .rd-date-display{
    font-size:16px !important;
  }

}


/* ==========================================================
   SMART PURCHASE CHANNEL V14
   ========================================================== */

#returnChannel.rd-channel-online-only{
  border-color:rgba(124,77,255,.55) !important;

  background-color:
    rgba(124,77,255,.055) !important;
}

html[data-theme="dark"]
#returnChannel.rd-channel-online-only{

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  border-color:rgba(139,108,255,.55) !important;

  background-color:
    rgba(124,77,255,.09) !important;
}


/* ==========================================================
   SEARCHABLE STORE SELECTOR V15
   ========================================================== */

.rd-original-store-select{
  display:none !important;
}

.rd-store-search{
  position:relative;
  width:100%;
}

.rd-store-search-input-wrap{
  position:relative;
  width:100%;
}

.rd-store-search-input{
  width:100% !important;
  height:54px !important;

  box-sizing:border-box;

  border:1px solid #d7dce5 !important;
  border-radius:14px !important;

  background:#fff !important;

  padding:
    0 48px
    0 48px !important;

  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;

  font:inherit;
  font-size:15px !important;
  font-weight:700 !important;

  outline:none !important;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.rd-store-search-input::placeholder{
  color:#8791a1 !important;
  -webkit-text-fill-color:#8791a1 !important;
  opacity:1 !important;
}

.rd-store-search-input:hover{
  border-color:#8b6cff !important;
}

.rd-store-search-input:focus{
  border-color:#7957ff !important;

  box-shadow:
    0 0 0 3px rgba(124,77,255,.13),
    0 8px 25px rgba(0,0,0,.06) !important;
}


/* Search icon */

.rd-store-search-icon{
  position:absolute;

  left:16px;
  top:50%;

  transform:translateY(-50%);

  z-index:4;

  color:#8b6cff;

  font-size:22px;
  font-weight:900;

  pointer-events:none;
}


/* Clear */

.rd-store-clear{
  position:absolute;

  right:12px;
  top:50%;

  transform:translateY(-50%);

  z-index:6;

  width:31px;
  height:31px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:0;
  border-radius:9px;

  background:rgba(124,77,255,.10);

  color:#7657ff;
  -webkit-text-fill-color:#7657ff;

  font-size:21px;
  line-height:1;

  cursor:pointer;
}

.rd-store-clear:hover{
  background:rgba(124,77,255,.18);
}


/* ==========================================================
   RESULTS
   ========================================================== */

.rd-store-results{
  position:absolute;

  top:calc(100% + 7px);
  left:0;
  right:0;

  z-index:999;

  max-height:310px;
  overflow-y:auto;

  padding:7px;

  background:#ffffff;

  border:1px solid #d8dee8;
  border-radius:14px;

  box-shadow:
    0 20px 45px rgba(0,0,0,.18);
}

.rd-store-result{
  width:100%;

  display:flex;
  align-items:center;
  gap:11px;

  padding:11px 12px;

  border:0;
  border-radius:10px;

  background:transparent;

  color:#172033;
  -webkit-text-fill-color:#172033;

  text-align:left;

  font:inherit;
  font-weight:750;

  cursor:pointer;

  transition:
    background .14s ease,
    transform .14s ease;
}

.rd-store-result:hover,
.rd-store-result.rd-active{
  background:rgba(124,77,255,.10);
}

.rd-store-result:active{
  transform:scale(.995);
}

.rd-store-result-icon{
  width:34px;
  height:34px;

  flex:0 0 34px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:9px;

  background:rgba(124,77,255,.10);

  font-size:17px;
}

.rd-store-result-name{
  flex:1;

  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
}

.rd-store-empty{
  padding:18px 12px;

  color:#7b8493;
  text-align:center;
  font-size:14px;
}


/* ==========================================================
   DARK MODE
   ========================================================== */

html[data-theme="dark"] .rd-store-search-input{
  background:#101720 !important;

  border-color:#3a4658 !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html[data-theme="dark"]
.rd-store-search-input::placeholder{
  color:#aab4c4 !important;
  -webkit-text-fill-color:#aab4c4 !important;
}

html[data-theme="dark"]
.rd-store-search-input:focus{
  border-color:#805fff !important;

  box-shadow:
    0 0 0 3px rgba(124,77,255,.14),
    0 0 24px rgba(124,77,255,.08) !important;
}

html[data-theme="dark"] .rd-store-results{
  background:#111822 !important;

  border-color:#3a4658 !important;

  box-shadow:
    0 22px 50px rgba(0,0,0,.42) !important;
}

html[data-theme="dark"] .rd-store-result{
  color:#f4f7fb !important;
  -webkit-text-fill-color:#f4f7fb !important;
}

html[data-theme="dark"] .rd-store-result:hover,
html[data-theme="dark"] .rd-store-result.rd-active{
  background:
    linear-gradient(
      135deg,
      rgba(98,63,255,.20),
      rgba(124,77,255,.11)
    ) !important;
}

html[data-theme="dark"] .rd-store-result-icon{
  background:rgba(124,77,255,.16) !important;
}

html[data-theme="dark"] .rd-store-empty{
  color:#aeb8c8 !important;
}


/* ==========================================================
   RTL
   ========================================================== */

html[dir="rtl"] .rd-store-search-input{
  padding:
    0 48px
    0 48px !important;

  text-align:right;
}

html[dir="rtl"] .rd-store-search-icon{
  right:16px;
  left:auto;
}

html[dir="rtl"] .rd-store-clear{
  left:12px;
  right:auto;
}

html[dir="rtl"] .rd-store-result{
  text-align:right;
}


/* Mobile */

@media(max-width:640px){

  .rd-store-search-input{
    height:52px !important;
    font-size:16px !important;
  }

  .rd-store-results{
    max-height:270px;
  }

}


/* ==========================================================
   STORE SEARCH LIVE SYNC V16
   ========================================================== */

.rd-store-results{
  z-index:10000 !important;
}

.rd-store-result-v16{
  min-height:58px;
}

.rd-store-result-content{
  display:flex;
  flex-direction:column;
  gap:3px;

  flex:1;
  min-width:0;
}

.rd-store-result-name{
  display:block;

  font-size:14px;
  font-weight:850;

  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
}

.rd-store-result-sub{
  display:block;

  font-size:11px;
  font-weight:600;

  color:#7c8797 !important;
  -webkit-text-fill-color:#7c8797 !important;
}


/* Loading */

.rd-store-loading{
  min-height:60px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:14px;

  color:#7d8797;
  font-size:13px;
  font-weight:700;
}

.rd-store-spinner{
  width:17px;
  height:17px;

  border:2px solid rgba(124,77,255,.22);
  border-top-color:#7657ff;

  border-radius:50%;

  animation:
    rdStoreSpin .7s linear infinite;
}

@keyframes rdStoreSpin{
  to{
    transform:rotate(360deg);
  }
}


/* Dark */

html[data-theme="dark"]
.rd-store-result-sub{
  color:#9ca8ba !important;
  -webkit-text-fill-color:#9ca8ba !important;
}

html[data-theme="dark"]
.rd-store-loading{
  color:#aeb8c8 !important;
}


/*
 * مهم:
 * منع صندوق النتائج من الاختباء
 * خلف الحقول التالية.
 */

.return-field:has(.rd-store-search){
  position:relative;
  z-index:50;
}

.return-form,
.return-shell{
  overflow:visible !important;
}


/* ==========================================================
   NUJIZ OFFICIAL RATING — PREMIUM UI V17
   AR + EN / Light + Dark
   ========================================================== */

.hlg-rating-box{
  box-sizing:border-box;
  width:calc(100% - 32px);
  max-width:760px;
  margin:55px auto 60px;
  padding:30px 28px 27px;

  text-align:center;

  background:
    radial-gradient(circle at 50% 0,
      rgba(116,78,255,.12),
      transparent 48%),
    #ffffff;

  border:1px solid #e4e7ee;
  border-radius:22px;

  box-shadow:
    0 16px 45px rgba(15,23,42,.07);

  position:relative;
  overflow:hidden;
}


/* top accent */

.hlg-rating-box::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);

  width:120px;
  height:3px;

  border-radius:0 0 10px 10px;

  background:linear-gradient(
    90deg,
    #6742ff,
    #8b67ff,
    #b8f34a
  );
}


/* title */

.hlg-rating-title{
  margin:0 0 7px !important;

  color:#161b26 !important;
  -webkit-text-fill-color:#161b26 !important;

  font-size:22px !important;
  font-weight:900 !important;
  line-height:1.35 !important;

  text-align:center !important;
}


/* subtitle */

.hlg-rating-subtitle{
  margin:0 0 19px !important;

  color:#747e8f !important;
  -webkit-text-fill-color:#747e8f !important;

  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.6 !important;

  text-align:center !important;
}


/* stars container */

.hlg-rating-stars{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  gap:9px !important;

  margin:0 auto 15px !important;

  direction:ltr !important;
}


/* reset global button styles */

.hlg-rating-star{
  appearance:none !important;
  -webkit-appearance:none !important;

  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  min-height:46px !important;

  margin:0 !important;
  padding:0 !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  border:1px solid #d9deea !important;
  border-radius:12px !important;

  background:#f7f8fb !important;

  color:#a7afbd !important;
  -webkit-text-fill-color:#a7afbd !important;

  font-family:Arial,sans-serif !important;
  font-size:27px !important;
  font-weight:400 !important;
  line-height:1 !important;

  cursor:pointer !important;

  box-shadow:none !important;
  text-shadow:none !important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease !important;
}


/* hover */

.hlg-rating-star:hover,
.hlg-rating-star.hover{
  transform:translateY(-3px) scale(1.05) !important;

  color:#ffb800 !important;
  -webkit-text-fill-color:#ffb800 !important;

  border-color:rgba(255,184,0,.55) !important;

  background:#fff9e9 !important;

  box-shadow:
    0 8px 20px rgba(255,184,0,.14) !important;
}


/* selected/current rating */

.hlg-rating-star.active{
  color:#ffb800 !important;
  -webkit-text-fill-color:#ffb800 !important;

  background:#fff8e2 !important;

  border-color:rgba(255,184,0,.48) !important;

  box-shadow:
    0 5px 15px rgba(255,184,0,.12) !important;
}


.hlg-rating-star:focus-visible{
  outline:3px solid rgba(116,78,255,.25) !important;
  outline-offset:3px !important;
}


.hlg-rating-star:disabled{
  cursor:wait !important;
  opacity:.65 !important;
}


/* summary */

.hlg-rating-summary{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  flex-wrap:wrap !important;
  gap:6px !important;

  margin:0 !important;

  color:#687386 !important;
  -webkit-text-fill-color:#687386 !important;

  font-size:13px !important;
  font-weight:700 !important;

  text-align:center !important;
}


.hlg-rating-value{
  color:#1d2430 !important;
  -webkit-text-fill-color:#1d2430 !important;

  font-size:15px !important;
  font-weight:900 !important;
}


.hlg-rating-count{
  color:#687386 !important;
  -webkit-text-fill-color:#687386 !important;
}


/* API message */

.hlg-rating-message{
  min-height:22px;

  margin-top:9px !important;

  color:#6e7787 !important;
  -webkit-text-fill-color:#6e7787 !important;

  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.6 !important;

  text-align:center !important;
}


/* ==========================================================
   DARK MODE
   ========================================================== */

html[data-theme="dark"] .hlg-rating-box,
body.dark-mode .hlg-rating-box,
.dark .hlg-rating-box{
  background:
    radial-gradient(circle at 50% 0,
      rgba(116,78,255,.18),
      transparent 48%),
    #151a23 !important;

  border-color:#303747 !important;

  box-shadow:
    0 20px 55px rgba(0,0,0,.24) !important;
}


html[data-theme="dark"] .hlg-rating-title,
body.dark-mode .hlg-rating-title,
.dark .hlg-rating-title{
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
}


html[data-theme="dark"] .hlg-rating-subtitle,
body.dark-mode .hlg-rating-subtitle,
.dark .hlg-rating-subtitle{
  color:#aab3c2 !important;
  -webkit-text-fill-color:#aab3c2 !important;
}


html[data-theme="dark"] .hlg-rating-star,
body.dark-mode .hlg-rating-star,
.dark .hlg-rating-star{
  background:#1c2330 !important;

  border-color:#394354 !important;

  color:#788397 !important;
  -webkit-text-fill-color:#788397 !important;
}


html[data-theme="dark"] .hlg-rating-star:hover,
html[data-theme="dark"] .hlg-rating-star.hover,
body.dark-mode .hlg-rating-star:hover,
body.dark-mode .hlg-rating-star.hover,
.dark .hlg-rating-star:hover,
.dark .hlg-rating-star.hover{
  color:#ffc233 !important;
  -webkit-text-fill-color:#ffc233 !important;

  background:#29261d !important;

  border-color:#8f7127 !important;
}


html[data-theme="dark"] .hlg-rating-star.active,
body.dark-mode .hlg-rating-star.active,
.dark .hlg-rating-star.active{
  color:#ffc233 !important;
  -webkit-text-fill-color:#ffc233 !important;

  background:#2a271c !important;

  border-color:#806a2d !important;
}


html[data-theme="dark"] .hlg-rating-summary,
html[data-theme="dark"] .hlg-rating-count,
html[data-theme="dark"] .hlg-rating-message,
body.dark-mode .hlg-rating-summary,
body.dark-mode .hlg-rating-count,
body.dark-mode .hlg-rating-message,
.dark .hlg-rating-summary,
.dark .hlg-rating-count,
.dark .hlg-rating-message{
  color:#aab3c2 !important;
  -webkit-text-fill-color:#aab3c2 !important;
}


html[data-theme="dark"] .hlg-rating-value,
body.dark-mode .hlg-rating-value,
.dark .hlg-rating-value{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}


/* ==========================================================
   RTL / LTR
   ========================================================== */

html[dir="rtl"] .hlg-rating-box{
  direction:rtl;
}

html[dir="ltr"] .hlg-rating-box{
  direction:ltr;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:600px){

  .hlg-rating-box{
    width:calc(100% - 24px);
    margin:38px auto 42px;
    padding:25px 16px 23px;
    border-radius:18px;
  }

  .hlg-rating-title{
    font-size:19px !important;
  }

  .hlg-rating-subtitle{
    font-size:13px !important;
    margin-bottom:17px !important;
  }

  .hlg-rating-stars{
    gap:6px !important;
  }

  .hlg-rating-star{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;

    font-size:24px !important;

    border-radius:10px !important;
  }

}


/* ==========================================================
   POLICY DATE TYPE V18
   ========================================================== */

#returnDateHint{
  display:block;

  margin-top:7px;

  color:#737e90;
  -webkit-text-fill-color:#737e90;

  font-size:12px;
  font-weight:600;
  line-height:1.55;
}

html[data-theme="dark"] #returnDateHint{
  color:#9ca7b8 !important;
  -webkit-text-fill-color:#9ca7b8 !important;
}

html[dir="rtl"] #returnDateHint{
  text-align:right;
}

html[dir="ltr"] #returnDateHint{
  text-align:left;
}

