/* =====================================================================
   ATHAR 2.0 — RED PREMIUM FINAL
   Loaded last. Auth (Login / Sign Up), Home, Plan selection, smooth feel.
   No backdrop-filter / heavy blur => fast on low-end phones.
   ===================================================================== */
:root{
  --ar-red:#e11d2e;
  --ar-red-hi:#ff3b4e;
  --ar-red-deep:#8f0f1c;
  --ar-bg:#050203;
  --ar-card:#0e0607;
  --ar-line:rgba(239,68,68,.34);
  --ar-ease:cubic-bezier(.22,1,.36,1);
}

/* ---------- Global smooth + fast click feel ---------- */
html{-webkit-tap-highlight-color:transparent;scroll-behavior:smooth;}
a,button,.nav-item,.section-tab,.logo-card,.flat-price-item,.qty-btn,.login-submit,.signup-submit,.google-login-btn,[onclick]{
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
button,.nav-item,.section-tab,.logo-card,.flat-price-item,.qty-btn,.login-submit,.signup-submit,.google-login-btn{
  transition:transform .16s var(--ar-ease),box-shadow .22s ease,border-color .22s ease,background-color .22s ease,filter .2s ease,color .2s ease!important;
}
button:active,.nav-item:active,.section-tab:active,.logo-card:active,.flat-price-item:active,.qty-btn:active{
  transform:scale(.965)!important;
}

/* ---------- LOGIN / SIGN UP : premium corporate red ---------- */
#login-view,#signup-view{
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%,rgba(225,29,46,.26),transparent 70%),
    radial-gradient(ellipse 60% 35% at 100% 100%,rgba(143,15,28,.22),transparent 70%),
    var(--ar-bg)!important;
}
#login-view .login-shell,#signup-view .signup-shell{
  width:min(calc(100% - 28px),460px)!important;max-width:460px!important;margin:0 auto!important;
}
/* gradient hairline border around the card */
#login-view .login-system-card,#signup-view .signup-card{
  position:relative;
  padding:34px 24px 26px!important;
  border:1px solid transparent!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg,#140809,#0a0405) padding-box,
    linear-gradient(160deg,rgba(255,59,78,.85),rgba(143,15,28,.25) 45%,rgba(255,59,78,.55)) border-box!important;
  box-shadow:0 18px 50px rgba(225,29,46,.16),0 2px 0 rgba(255,255,255,.03) inset!important;
  animation:arCardIn .45s var(--ar-ease) both!important;
}
/* icon badge above the title */
#login-view .login-system-card h2::before,#signup-view .signup-card h2::before{
  font-family:"Font Awesome 6 Free";font-weight:900;
  display:flex;align-items:center;justify-content:center;
  width:58px;height:58px;margin:0 auto 14px;border-radius:18px;
  background:linear-gradient(145deg,#ff3b4e,#a30f20);color:#fff;font-size:23px;
  box-shadow:0 10px 26px rgba(225,29,46,.45),0 0 0 6px rgba(225,29,46,.10);
}
#login-view .login-system-card h2::before{content:"\f023";}
#signup-view .signup-card h2::before{content:"\f234";}
#login-view .login-system-card h2,#signup-view .signup-card h2{
  text-align:center!important;color:#fff!important;font-weight:900!important;letter-spacing:.2px;
}
#login-view .login-subtitle,#signup-view .signup-subtitle{
  text-align:center!important;color:#c9a3a8!important;margin-bottom:20px!important;
}
/* labels */
#login-view .input-group label,#signup-view .input-group label{
  color:#f3b8bf!important;font-size:11.5px!important;font-weight:800!important;letter-spacing:.9px!important;
}
/* inputs with leading red icons */
#login-view .input-group input,#signup-view .input-group input{
  min-height:56px!important;font-size:16px!important;color:#fff!important;
  border:1.5px solid #3a1d23!important;border-radius:14px!important;background-color:#12090b!important;
  padding-left:46px!important;
  background-repeat:no-repeat!important;background-position:15px 50%!important;background-size:18px 18px!important;
}
#login-view .input-group input:focus,#signup-view .input-group input:focus{
  border-color:var(--ar-red-hi)!important;background-color:#180a0d!important;
  box-shadow:0 0 0 4px rgba(255,59,78,.14)!important;outline:none!important;
}
#login-view .input-group input::placeholder,#signup-view .input-group input::placeholder{color:#7d5b61!important;}
#login-email,#signup-email{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E")!important;}
#login-password,#signup-password,#signup-confirm{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='3'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important;}
#signup-name{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E")!important;}
#signup-phone{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E")!important;}
#login-view .toggle-pass i,#signup-view .toggle-pass i{color:#ff6b7a!important;}
/* main button */
#login-view .login-submit,#signup-view .signup-submit{
  min-height:58px!important;font-size:16px!important;font-weight:900!important;letter-spacing:1px!important;
  border:0!important;border-radius:15px!important;color:#fff!important;
  background:linear-gradient(100deg,#b30d22,#ff3b4e 55%,#b30d22)!important;background-size:200% 100%!important;
  box-shadow:0 12px 28px rgba(225,29,46,.38)!important;
}
#login-view .login-submit:hover,#signup-view .signup-submit:hover{background-position:100% 0!important;filter:brightness(1.06);}
/* google button */
#login-view .google-login-btn,#signup-view .google-login-btn{
  min-height:56px!important;border-radius:15px!important;font-size:15px!important;font-weight:800!important;
  background:#fff!important;border:1.5px solid rgba(255,59,78,.5)!important;
}
#login-view .auth-divider span,#signup-view .auth-divider span{color:#b98a90!important;background:#0e0607!important;}
#login-view .auth-divider,#signup-view .auth-divider{border-color:#2d1519!important;}
#login-view .login-signup-note,#signup-view .signup-login-note{color:#b98a90!important;text-align:center!important;}
#login-view .login-signup-note span,#signup-view .signup-login-note span{color:#ff4d5f!important;font-weight:900!important;}
/* back button */
#login-view .login-back,#signup-view .signup-back{
  min-height:46px!important;padding:10px 18px!important;font-size:15px!important;border-radius:14px!important;
  background:#12090b!important;border:1.5px solid var(--ar-line)!important;color:#fff!important;
}
@keyframes arCardIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}

/* ---------- HOME : red premium ---------- */
.section-tabs .section-tab,.section-extra-tabs .section-tab{
  background:#0e0607!important;border:1.5px solid rgba(239,68,68,.30)!important;color:#f1d4d8!important;border-radius:999px!important;
}
.section-tabs .section-tab.active,.section-extra-tabs .section-tab.active{
  background:linear-gradient(135deg,#b30d22,#ff3b4e)!important;border-color:#ff6b7a!important;color:#fff!important;
  box-shadow:0 6px 20px rgba(225,29,46,.45)!important;
}
.section-more-toggle{
  background:#12090b!important;border:1.5px solid var(--ar-line)!important;color:#ff6b7a!important;border-radius:999px!important;font-weight:900!important;
}
.logo-grid .logo-card,#home-view .logo-card{
  background:linear-gradient(180deg,#120709,#0a0405)!important;
  border:1px solid rgba(239,68,68,.26)!important;border-radius:18px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.45)!important;
}
.logo-grid .logo-card:hover,#home-view .logo-card:hover{
  border-color:rgba(255,59,78,.65)!important;box-shadow:0 10px 28px rgba(225,29,46,.26)!important;
}
#home-view .section-title,.panel-section-title{color:#fff!important;}
#home-view .section-title span,.panel-section-title span{
  display:inline-block;padding:7px 16px;border-radius:999px;background:#12090b;border:1.5px solid var(--ar-line);
  box-shadow:0 0 18px rgba(225,29,46,.18);
}
/* Latest Order block (it has inline styles, so !important is needed) */
#home-view .home-orders-section{
  background:linear-gradient(180deg,#120709,#0a0405)!important;
  border:1px solid rgba(239,68,68,.30)!important;border-radius:18px!important;
  box-shadow:0 8px 26px rgba(225,29,46,.10)!important;
}
#home-view .home-orders-title{border-bottom:1px solid rgba(239,68,68,.22)!important;}
.live-orders-pill{background:rgba(225,29,46,.14)!important;border:1px solid rgba(255,59,78,.5)!important;color:#ff8a96!important;}
.live-orders-pill .live-dot{background:#ff3b4e!important;box-shadow:0 0 10px #ff3b4e!important;}
/* bottom nav */
.bottom-nav{background:#080304!important;border-top:1px solid rgba(239,68,68,.28)!important;}
.bottom-nav .nav-item.active,.bottom-nav .nav-item.active i,.bottom-nav .nav-item.active span{color:#ff3b4e!important;}

/* ---------- SELECT PLAN VALIDITY ---------- */
.purchase-box{
  background:linear-gradient(180deg,#110709,#090304)!important;
  border:1px solid rgba(239,68,68,.30)!important;border-radius:20px!important;
  box-shadow:0 10px 30px rgba(225,29,46,.12)!important;
}
.step-label.price-section-btn{
  background:linear-gradient(135deg,rgba(179,13,34,.35),rgba(18,9,11,.9))!important;
  border:1.5px solid rgba(255,59,78,.55)!important;color:#fff!important;border-radius:14px!important;
  box-shadow:0 0 18px rgba(225,29,46,.22)!important;
}
.step-label.price-section-btn i{color:#ff4d5f!important;text-shadow:none!important;}
.flat-price-item{
  background:#0c0506!important;border:1.5px solid rgba(239,68,68,.28)!important;border-radius:14px!important;
  box-shadow:none!important;
}
.flat-price-item:hover{border-color:rgba(255,59,78,.6)!important;}
.flat-price-item.selected{
  background:linear-gradient(135deg,rgba(179,13,34,.30),#120709 70%)!important;
  border:1.5px solid #ff3b4e!important;
  box-shadow:0 0 0 1px rgba(255,59,78,.25),0 8px 22px rgba(225,29,46,.30)!important;
}
/* red check sign — much smaller */
.flat-plan-name::before{width:12px!important;height:12px!important;min-width:12px!important;font-size:11px!important;margin-right:6px!important;}
.flat-price-item.selected .flat-plan-name::before{
  width:12px!important;height:12px!important;min-width:12px!important;
  font-size:8px!important;line-height:12px!important;font-weight:900!important;
  background:#ff3b4e!important;color:#fff!important;box-shadow:0 0 6px rgba(255,59,78,.5)!important;
}
/* price in red, not green */
.flat-price-item.selected .flat-plan-price{color:#ff6b7a!important;text-shadow:0 0 12px rgba(255,59,78,.45)!important;}
/* verified chip smaller and red-tinted */
.flat-price-item .plan-verified,.plan-verified{
  font-size:8px!important;padding:2px 6px!important;border-radius:999px!important;
  color:#ffd5da!important;background:rgba(225,29,46,.18)!important;border:1px solid rgba(255,59,78,.4)!important;
}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
}
