/* ═══════════════════════════════════════════════════════════════
   SAJID TRADING — LOGIN PAGE
   /assets/stc_app/css/stc_login.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --pink        : #db2777;
  --pink-dark   : #9d174d;
  --pink-light  : #fce7f3;
  --violet      : #7c3aed;
  --violet-dark : #5b21b6;
  --amber       : #f59e0b;
  --white       : #ffffff;
  --gray-bg     : #f8fafc;
  --gray        : #64748b;
  --gray-lt     : #94a3b8;
  --ink         : #1e293b;
  --ink-soft    : #334155;

  --nav-h       : 68px;
  --shadow-card : 0 20px 40px rgba(219,39,119,0.10);
  --shadow-hover: 0 30px 60px rgba(219,39,119,0.20);
  --ease        : cubic-bezier(0.22, 1, 0.36, 1);
  --spring      : cubic-bezier(0.34, 1.56, 0.64, 1);

  --sans        : 'Poppins', system-ui, sans-serif;
  --urdu        : 'Noto Nastaliq Urdu', serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img    { display: block; max-width: 100%; }
a      { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── BASE ───────────────────────────────────────────────────── */
body {
  font-family: var(--sans);
  background: linear-gradient(135deg, #fdf2f8 0%, #f0e7fe 100%);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── DECORATIVE BLOBS ───────────────────────────────────────── */
.glass-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 420px; height: 420px;
  top: -160px; right: -160px;
  background: radial-gradient(circle, rgba(219,39,119,0.12) 0%, transparent 70%);
}
.blob-2 {
  width: 360px; height: 360px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════════════════
   TOP NAVIGATION BAR
═══════════════════════════════════════════════════════════════ */
.stc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(219,39,119,0.10);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s var(--ease);
}
.stc-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-brand:hover { opacity: 0.85; }

.nav-brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(219,39,119,0.30);
}
.nav-brand-icon i { color: #fff; font-size: 15px; }

.nav-brand-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.nav-brand-main { color: var(--ink); }
.nav-brand-em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.22s var(--ease);
  position: relative;
}
.nav-link i { font-size: 12px; color: var(--gray-lt); transition: color 0.2s; }
.nav-link:hover {
  color: var(--pink);
  background: var(--pink-light);
}
.nav-link:hover i { color: var(--pink); }

/* Active underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 18px; right: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

/* Login button nav link */
.nav-link-login {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(219,39,119,0.28);
  padding: 9px 22px;
}
.nav-link-login i { color: rgba(255,255,255,0.85) !important; }
.nav-link-login:hover {
  background: linear-gradient(135deg, var(--pink-dark), var(--violet-dark));
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(219,39,119,0.38);
}
.nav-link-login::after { display: none; }

/* Right controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
  flex-shrink: 0;
}

/* Language switcher (in navbar) */
.lang-bar {
  display: flex;
  gap: 2px;
  background: rgba(248,250,252,0.9);
  border: 1px solid rgba(219,39,119,0.12);
  border-radius: 50px;
  padding: 3px;
}
.lang-btn {
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray);
  transition: all 0.22s var(--ease);
}
.lang-btn:hover  { color: var(--pink); }
.lang-btn.active {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: var(--white);
  box-shadow: 0 2px 10px rgba(219,39,119,0.28);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--pink-light); }
.ham-bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: all 0.28s var(--ease);
  transform-origin: center;
}
.hamburger.open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(219,39,119,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease), padding 0.3s;
}
.nav-drawer.open {
  max-height: 280px;
  padding: 10px 0 14px;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.drawer-link i { width: 16px; color: var(--gray-lt); transition: color 0.2s; }
.drawer-link:hover { color: var(--pink); background: var(--pink-light); }
.drawer-link:hover i { color: var(--pink); }
.drawer-link-login {
  margin: 8px 20px 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(219,39,119,0.28);
  padding: 12px 20px;
}
.drawer-link-login i { color: rgba(255,255,255,0.8) !important; }
.drawer-link-login:hover { opacity: 0.92; background: linear-gradient(135deg, var(--pink), var(--violet)) !important; }

/* ═══════════════════════════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════════════════════════ */
.stc-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - var(--nav-h));
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: calc(var(--nav-h) + 40px) 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN SECTION
═══════════════════════════════════════════════════════════════ */
.login-section {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: visible;           /* never clip Urdu glyphs */
  animation: fadeInUp 0.7s var(--ease) both;
}

/* Logo */
.logo-area {
  text-align: center;
  overflow: visible;
}

.logo-name {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(45deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
  overflow: visible;
}
.logo-sub {
  color: var(--pink-dark);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.logo-sub::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  border-radius: 2px;
}

/* Login card */
.login-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  padding: 44px 40px 36px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.login-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pink-dark);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 14px;
}
.card-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  border-radius: 2px;
}

/* Fields */
.field-group {
  position: relative;
  margin-bottom: 22px;
}
.field-icon {
  position: absolute;
  left: 17px; top: 50%;
  transform: translateY(-50%);
  color: #c4a8e8; font-size: 15px;
  pointer-events: none; z-index: 1;
  transition: color 0.22s;
}
.field-group:focus-within .field-icon { color: var(--pink); }
.field-input {
  width: 100%;
  padding: 14px 48px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 2px solid #e2d4f0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s;
  -webkit-appearance: none; appearance: none;
  box-shadow: 0 1px 4px rgba(124,58,237,0.06), inset 0 1px 2px rgba(0,0,0,0.03);
}
.field-input::placeholder { color: rgba(100,116,139,0.5); font-size: 13px; font-weight: 300; }
.field-input:hover:not(:focus) {
  border-color: #c4a8e8;
  box-shadow: 0 2px 8px rgba(124,58,237,0.10), inset 0 1px 2px rgba(0,0,0,0.03);
}
.field-input:focus {
  background: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(219,39,119,0.12), 0 2px 8px rgba(219,39,119,0.10);
}

/* Eye toggle */
.eye-btn {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px; color: var(--gray-lt);
  padding: 5px 6px; border-radius: 6px;
  transition: color 0.2s, background 0.2s; line-height: 1;
}
.eye-btn:hover { color: var(--pink); background: var(--pink-light); }

/* Error */
.error-banner {
  display: flex; align-items: center; gap: 9px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.18);
  border-left: 3px solid #ef4444;
  border-radius: 0 10px 10px 0;
  color: #dc2626; font-size: 13px;
  padding: 10px 14px; margin-bottom: 14px;
  animation: shake 0.4s ease;
}
.error-banner i { font-size: 13px; flex-shrink: 0; }
.error-banner[hidden] { display: none; }

/* Loading */
.loading-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 14px;
  color: var(--pink-dark); font-size: 13px;
}
.loading-wrap[hidden] { display: none; }
.loading-ring {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(219,39,119,0.18);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite; flex-shrink: 0;
}

/* Submit */
.submit-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: var(--white); font-family: var(--sans);
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
  margin-bottom: 14px;
}
.submit-btn::before {
  content: ''; position: absolute;
  top: 0; left: -110%; width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.submit-btn:hover::before { left: 150%; }
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(219,39,119,0.35);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn.loading { opacity: 0.75; pointer-events: none; }

/* Forgot link */
.form-meta { text-align: center; }
.forgot-link {
  font-size: 12.5px; font-weight: 400; color: var(--gray);
  transition: color 0.2s;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
}
.forgot-link:hover { color: var(--pink); border-bottom-color: var(--pink-light); }

/* Company card */
.company-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px; padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  text-align: center;
}
.co-name {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 1.1rem; font-weight: 700;
  color: var(--pink); margin-bottom: 10px;
}
.co-detail {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; color: var(--gray); margin-bottom: 5px;
}
.co-detail i { color: var(--pink); font-size: 12px; }
.co-tagline { font-size: 12.5px; color: var(--gray); margin-top: 8px; font-style: italic; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS SECTION
═══════════════════════════════════════════════════════════════ */
.products-section {
  flex: 1.1;
  display: flex; flex-direction: column; gap: 24px;
  animation: fadeInRight 0.7s var(--ease) 0.15s both;
}

.products-title {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 700; color: var(--pink-dark);
  text-align: center;
  position: relative; padding-bottom: 14px;
}
.products-title::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--pink));
  border-radius: 2px;
}

/* Official Distributor badge */
.official-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.official-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg,
    rgba(219,39,119,0.08) 0%,
    rgba(124,58,237,0.08) 100%);
  border: 1px solid rgba(219,39,119,0.22);
  border-radius: 50px;
  padding: 10px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(219,39,119,0.10),
              inset 0 1px 0 rgba(255,255,255,0.5);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  flex-shrink: 0;
  animation: badgePulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(219,39,119,0.15);
}
.badge-dot:last-child { animation-delay: 1.1s; }
.badge-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Urdu: large logo name
   - Switch OFF background-clip:text (its clipping box is too tight for Nastaliq)
   - Use a direct gradient via a CSS trick: paint the gradient on the background,
     let it show through a text-fill of 'transparent', but resize the background
     to be taller (200%) so it fully covers the tall Nastaliq glyphs with no padding.
   - line-height 2.4 gives the em-box enough height for ascenders/descenders.
   - NO padding-top/bottom → no visual gap between navbar and content.              */
.stc-wrap.stc-rtl #stc-logo-name {
  font-family: var(--urdu);
  letter-spacing: 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 2.4;
  display: block;
  overflow: visible;
  /* solid pink — avoids background-clip bounding-box entirely */
  background: none;
  -webkit-text-fill-color: var(--pink);
  color: var(--pink);
}

/* Urdu: Official Distributor badge label — same Nastaliq font with breathing room */
.stc-wrap.stc-rtl .badge-label {
  font-family: var(--urdu);
  letter-spacing: 0;
  font-size: 16px;
  line-height: 2.0;
  background: none;
  -webkit-text-fill-color: var(--pink);
  color: var(--pink);
}

/* 3×2 grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-card {
  border-radius: 14px; overflow: hidden;
  height: 170px; position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0,0,0,0.14);
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  transition: transform 0.55s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.08); }
.product-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff; text-align: center;
  padding: 18px 8px 9px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  /* border:solid 1.5px rgb(202, 200, 200);
  border-radius: 8px; */
}

/* Brands card */
.brands-card { line-height: 1.7; }
.brands-card p { font-size: 13px; color: var(--gray); }
.badges-row { margin-top: 8px; font-size: 12px !important; color: var(--pink-dark) !important; font-weight: 500; }
.badges-row i { color: var(--pink); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.stc-footer {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #1e0a2e 0%, #0f0a1e 100%);
  color: rgba(255,255,255,0.80);
  font-family: var(--sans);
}

/* Top section */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 52px 40px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

/* Footer logo */
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.footer-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(219,39,119,0.35);
  flex-shrink: 0;
}
.footer-logo-icon i { color: #fff; font-size: 17px; }
.footer-logo-text {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: #fff;
}
.footer-logo-text em {
  font-style: italic;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.footer-tagline {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.6; max-width: 260px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.32);
  margin-top: 4px;
}

/* Column titles */
.footer-col-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink);
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(219,39,119,0.20);
  margin-bottom: 4px;
}
.footer-col-title i { font-size: 12px; }

.footer-addr {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

.footer-contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.60);
  padding: 6px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-contact-link i {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.footer-contact-link:hover {
  color: var(--pink);
  transform: translateX(4px);
}
.footer-contact-link:hover i {
  background: rgba(219,39,119,0.15);
  border-color: rgba(219,39,119,0.30);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}
.footer-powered-link {
  display: flex; align-items: center; gap: 5px;
  font-weight: 600; font-size: 12px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  transition: opacity 0.2s; letter-spacing: 0.02em;
}
.footer-powered-link:hover { opacity: 0.8; }
.footer-powered-link i { -webkit-text-fill-color: var(--amber); color: var(--amber); font-size: 11px; }

/* ═══════════════════════════════════════════════════════════════
   SUCCESS OVERLAY
═══════════════════════════════════════════════════════════════ */
.success-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(28,10,30,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.success-overlay:not([aria-hidden="true"]) { opacity: 1; pointer-events: all; }
.success-box { text-align: center; }
.success-ring {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), #fff);
  border: 1px solid rgba(219,39,119,0.28);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 12px rgba(219,39,119,0.10), 0 0 0 26px rgba(219,39,119,0.05);
  animation: popIn 0.5s var(--spring) both;
}
.success-ring i { font-size: 30px; color: var(--pink); }
.success-msg {
  font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,0.88); letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   URDU / RTL
═══════════════════════════════════════════════════════════════ */
.stc-wrap.stc-rtl { direction: rtl; font-family: var(--urdu); }
.stc-wrap.stc-rtl .field-icon { left: auto; right: 17px; }
.stc-wrap.stc-rtl .field-input { padding: 14px 48px; text-align: right; font-family: var(--urdu); }
.stc-wrap.stc-rtl .eye-btn { right: auto; left: 14px; }
.stc-wrap.stc-rtl .error-banner {
  border-left: 1px solid rgba(239,68,68,0.18); border-right: 3px solid #ef4444;
  border-radius: 10px 0 0 10px;
}
.stc-wrap.stc-rtl .co-detail, .stc-wrap.stc-rtl .co-name { flex-direction: row-reverse; }
.stc-wrap.stc-rtl .card-title, .stc-wrap.stc-rtl .logo-sub, .stc-wrap.stc-rtl .forgot-link,
.stc-wrap.stc-rtl .co-tagline { font-family: var(--urdu); letter-spacing: 0; }
.stc-wrap.stc-rtl .product-label { font-family: var(--urdu); letter-spacing: 0; }
.stc-wrap.stc-rtl .products-title {
  font-family: var(--urdu);
  letter-spacing: 0;
  line-height: 2.0;
  padding-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  18% { transform: translateX(-7px); } 36% { transform: translateX(7px); }
  54% { transform: translateX(-4px); } 72% { transform: translateX(4px); }
  90% { transform: translateX(-2px); }
}
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.68); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(0.72); opacity: 0.5; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* Tablet landscape */
@media (max-width: 1200px) {
  .stc-wrap { gap: 32px; padding: calc(var(--nav-h) + 36px) 32px 36px; }
  .footer-top { gap: 28px; padding: 44px 32px 36px; }
}

@media (max-width: 1024px) {
  .nav-links { gap: 2px; }
  .nav-link  { padding: 8px 14px; font-size: 13px; }
  .nav-link-login { padding: 8px 18px; }
  .stc-wrap  { gap: 24px; }
  .products-grid { gap: 12px; }
  .product-card  { height: 155px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
}

/* Tablet portrait — stack & hamburger */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .stc-wrap {
    flex-direction: column; align-items: center;
    padding: calc(var(--nav-h) + 32px) 24px 32px;
    gap: 28px;
  }
  .login-section   { max-width: 560px; width: 100%; }
  .products-section{ width: 100%; max-width: 620px; }

  .footer-top { grid-template-columns: 1fr 1fr; padding: 36px 24px 28px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* Large phone */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav-inner { padding: 0 20px; }
  .nav-brand-text { font-size: 16px; }
  .nav-brand-icon { width: 34px; height: 34px; }

  .stc-wrap { padding: calc(var(--nav-h) + 24px) 18px 28px; gap: 20px; }
  .login-card { padding: 32px 26px 28px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { height: 150px; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px 24px; }
  .footer-bottom { padding: 14px 20px; }
}

/* Phone portrait */
@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; }
  .lang-btn  { padding: 4px 10px; font-size: 11px; }

  .login-card  { padding: 26px 18px 22px; border-radius: 18px; }
  .card-title  { font-size: 1.4rem; margin-bottom: 22px; }
  .field-input { padding: 13px 44px; font-size: 13px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card  { height: 135px; }
}

/* Small phone */
@media (max-width: 375px) {
  .login-card { padding: 22px 14px 18px; }
  .products-grid { gap: 7px; }
  .product-card { height: 120px; }
}

.skynodeservices {
    width: 140px;
    height: auto;
}
.stc_login_logo {
    width: 80px;
        height: auto;
    display: block;
}

/* Container - logo and text in single row */
.stc_logo_container {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
}


/* Text style */
.stc_logo_text {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
    position: relative;
}