/* ==========================================================================
   CuteSMM Theme Styles (Bootstrap 5)
   - Global tokens + dark mode
   - Public navbar/footer
   - Dashboard (sidebar + topbar chips)
   - Notify + back-to-top
   - New Order page (scoped)
   ========================================================================== */

:root{
  --bg:#ffffff; --ink:#0f172a; --muted:#64748b; --soft:#f8fafc; --panel:#ffffff; --line:#e2e8f0;
  --primary:#0ea5e9; --primary-2:#2563eb; --ring:#dbeafe; --shadow:0 12px 30px rgba(2,6,23,.08);
  --r-lg:22px; --r-md:14px; --r-sm:10px; --r-pill:999px;
}
body{ background:var(--bg); color:var(--ink); font-family:"Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif; }

.theme-dark{
  --bg:#0b1220; --ink:#e5ecff; --muted:#9fb0c7; --soft:#0f172a; --panel:#0f1a2b; --line:#1f2a40;
  --primary:#38bdf8; --primary-2:#60a5fa; --ring:#1e293b; --shadow:0 18px 40px rgba(0,0,0,.35);
}
.theme-dark .card,
.theme-dark .navbar,
.theme-dark .dropdown-menu,
.theme-dark .offcanvas,
.theme-dark .modal-content{ background:var(--panel); color:var(--ink); }
.theme-dark .form-control,.theme-dark .form-select{ background:#0b1424; border-color:var(--line); color:var(--ink); }

/* links & focus */
a{ color:var(--primary-2); text-decoration:none; }
a:hover{ color:var(--primary); text-decoration:underline; }
:focus-visible{ outline:4px solid rgba(59,130,246,.25); outline-offset:2px; }

/* ===== public navbar/footer ===== */
.nav-wrap.navbar{ border-bottom:1px solid var(--line); background:var(--panel); }
.nav-wrap .navbar-brand img{ height:38px; display:block; }

.mode-btn{
  position:relative; display:inline-flex; align-items:center; gap:.5rem;
  border:1px solid var(--line); background:var(--soft); color:var(--ink);
  height:36px; padding:0 .75rem; border-radius:20px; font-weight:700;
}
.mode-btn .thumb{ width:16px; height:16px; border-radius:50%; background:var(--primary-2); display:inline-block; }

.auth-landing-footer{ background:var(--panel); border-top:1px solid var(--line); padding:32px 0; }
.f-list{ list-style:none; padding:0; margin:0; }
.f-list li{ margin:.4rem 0; }
.auth-landing-footer .socials a{
  width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:50%; margin-right:6px; color:var(--ink);
}
.auth-footer-grid .grid-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; }
.auth-footer-grid .tile{
  display:flex; align-items:center; gap:8px; padding:.6rem .75rem; border:1px solid var(--line);
  border-radius:12px; color:var(--ink); background:var(--panel);
}
.foot-before{ background:var(--panel); border-top:1px solid var(--line); padding:14px 0; }
.foot-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }

/* ===== dashboard: sidebar + topbar ===== */
.sidebar-wrap{
  width:260px; background:var(--panel); border-right:1px solid var(--line); min-height:100vh;
  position:fixed; top:0; left:0; z-index:1020; transition:width .18s ease, transform .18s ease;
}
.sidebar-wrap.is-collapsed{ width:76px; }
@media (max-width:991.98px){ .sidebar-wrap{ transform:translateX(-100%); } .sidebar-wrap.is-open{ transform:translateX(0); } }
.sidebar-logo{ padding:14px; border-bottom:1px solid var(--line); }
.sidebar-logo img{ height:36px; }
.auth-user-profile{ padding:14px; border-bottom:1px solid var(--line); text-align:center; }
.auth-user-profile .avatar img{ width:64px; height:64px; border-radius:50%; object-fit:cover; }
.auth-user-profile .username{ font-weight:800; margin-top:.4rem; }
.auth-user-profile .balance{ color:var(--primary-2); font-weight:800; }
.sidebar-menu{ list-style:none; margin:0; padding:8px; }
.sidebar-menu li a{
  display:flex; align-items:center; gap:10px; padding:.6rem .75rem; border-radius:10px; color:var(--ink);
}
.sidebar-menu li.active a, .sidebar-menu li a:hover{ background:var(--soft); text-decoration:none; }

.inner-wrap{ margin-left:260px; min-height:100vh; background:var(--bg); transition:margin-left .18s ease; }
.sidebar-wrap.is-collapsed ~ .inner-wrap{ margin-left:76px; }
@media (max-width:991.98px){ .inner-wrap{ margin-left:0; } }

.top-nav{
  min-height:56px; display:flex; align-items:center; justify-content:space-between; padding:6px 12px;
  background:var(--panel); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:1010;
}
.sidebar-toggle{ border:0; background:transparent; color:var(--ink); font-size:20px; }
.top-nav-left{ color:var(--primary-2); font-weight:800; }
.top-nav-right-nav{ list-style:none; display:flex; align-items:center; gap:10px; margin:0; padding:0; }
.chip{
  display:inline-flex; align-items:center; gap:6px; padding:.42rem .65rem; border-radius:999px;
  border:1px solid var(--line); color:var(--ink); background:var(--soft); font-weight:700; white-space:nowrap;
}
.chip--danger{ border-color:#fecaca; background:#fff1f2; color:#991b1b; }
.chip--tg{ border-color:#bae6fd; background:#eff6ff; color:#0369a1; }

/* dropdown */
.dropdown-currencies .dropdown-menu{ padding:.25rem; border-radius:12px; }

/* ===== add funds / invoice ===== */
.well-adds{ background:var(--panel); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); padding:12px; }
.add-wrap{ list-style:none; padding:0; margin:0 0 12px 0; display:flex; gap:12px; }
.add-wrap > li{ display:flex; align-items:center; gap:12px; }
.add-wrap img{ width:48px; height:48px; border-radius:12px; object-fit:cover; }
.invoice-container{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:18px; max-width:920px; margin:18px auto; }

/* ===== utilities ===== */
#notify-wrapper.alert{ position:fixed; right:16px; bottom:16px; z-index:1090; border-radius:14px; box-shadow:var(--shadow); }
.scrolltop{
  position:fixed; right:18px; bottom:18px; width:44px; height:44px; border-radius:50%;
  border:0; background:var(--primary-2); color:#fff; box-shadow:var(--shadow); display:none; justify-content:center; align-items:center;
}
.scrolltop.show{ display:flex; }

/* ==========================================================================
   New Order (scoped)
   ========================================================================== */
.neworder{
  --fb:#1877F2; --ig:#E1306C; --yt:#FF0000; --x:#111827; --sp:#1DB954; --tt:#111111;
  --tg:#26A4E3; --li:#0A66C2; --dc:#5865F2; --sc:#FFFC00; --twc:#9146FF; --gg:#4285F4;
  --traffic:#2563EB; --reviews:#F59E0B; --other:#64748B; --all:#22c55e;
  background:linear-gradient(180deg,#e6f2ff, #f7fbff 22%, #ffffff 60%); padding:12px;
}
.neworder .wrapper-box .card, .neworder .well.account-info{
  border:1px solid var(--ring); background:var(--panel); border-radius:var(--r-lg); box-shadow:var(--shadow); overflow:hidden;
}
.neworder .card-body{ padding:22px; }
.neworder .neworder__title{ font-weight:900; color:var(--ink); letter-spacing:.2px; }

/* filter toggle */
.neworder .filter-toggle{
  display:inline-flex; align-items:center; gap:.5rem; border-radius:999px; font-weight:800;
  background:linear-gradient(135deg,#6d28d9,#3b82f6); color:#fff; border:0; padding:.45rem .85rem;
  box-shadow:0 12px 24px rgba(59,130,246,.25);
}
.neworder .filter-toggle .caret{ transition:transform .15s ease; }
.neworder .filter-toggle.collapsed .caret{ transform:rotate(180deg); }
.neworder .filter-toggle:hover{ filter:brightness(1.05); }

/* tabs row */
.neworder .tabs-sky{ display:flex; gap:10px; align-items:center; margin:2px 2px 14px; padding:6px; }
.neworder .tabs-sky .tab-ico{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--panel); border:1px solid var(--line); color:var(--ink);
}
.neworder .tabs-sky .tab-ico:hover{ box-shadow:0 10px 20px rgba(2,6,23,.08); }
.neworder .tabs-sky .tab-pill{
  display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border-radius:26px; font-weight:800; color:#fff; border:0;
  background:linear-gradient(135deg,#6d28d9,#3b82f6); box-shadow:var(--shadow);
}

/* form */
.neworder .form-group label{ display:block; margin-bottom:6px; color:var(--muted); font-weight:800; }
.neworder .form-control{
  border:1px solid var(--line)!important; background:var(--panel)!important; color:var(--ink)!important;
  border-radius:16px!important; padding:12px 14px!important; height:auto!important; box-shadow:none!important;
}
.neworder .form-control:focus{ border-color:#c7d7fe!important; box-shadow:0 0 0 4px rgba(59,130,246,.12)!important; }
.neworder .search-form-group .input-wrapper{ position:relative; }
.neworder .search-form-group .input-wrapper .search-ico{ position:absolute; top:50%; transform:translateY(-50%); left:12px; color:var(--muted); }
.neworder .search-form-group .input-wrapper input{ padding-left:36px!important; }
.neworder select.form-control{
  appearance:none; -webkit-appearance:none;
  background-image: linear-gradient(45deg,transparent 50%,#94a3b8 50%), linear-gradient(135deg,#94a3b8 50%,transparent 50%);
  background-position: right 16px top 18px, right 10px top 18px; background-size:6px 6px; background-repeat:no-repeat;
}

/* helper panel */
.neworder .border-solid{ border:1px solid var(--line); }
.neworder .border-rounded{ border-radius:12px; padding:12px; background:#f8fafc; }
.theme-dark .neworder .border-rounded{ background:#0b1424; }

/* submit */
.neworder .cta-submit{
  width:100%; border:0; border-radius:36px; font-weight:900; padding:14px 18px; color:#fff;
  background:linear-gradient(135deg,#6d28d9,#3b82f6); box-shadow:0 18px 34px rgba(59,130,246,.25);
}
.neworder .cta-submit:hover{ transform:translateY(-1px); box-shadow:0 22px 42px rgba(59,130,246,.30); }

/* stats */
.neworder .stats-box{
  display:flex; align-items:center; gap:12px; background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:12px 14px; box-shadow:0 8px 18px rgba(2,6,23,.06);
}
.neworder .stats-left .stats-icon{ width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; }
.neworder .stats-left .orders{ background:linear-gradient(135deg,#2563eb,#60a5fa); }
.neworder .stats-left .service{ background:linear-gradient(135deg,#059669,#34d399); }
.neworder .stats-left .balance{ background:linear-gradient(135deg,#0f172a,#64748b); }
.neworder .stats-left .status{ background:linear-gradient(135deg,#7c3aed,#a78bfa); }
.neworder .stats-right .stats-txt{ margin:0; color:var(--muted); font-weight:800; }
.neworder .stats-right .stats-title{ margin:.2rem 0 0; font-size:20px; font-weight:900; color:var(--ink); }

/* brand shortcuts */
.neworder .new-bgss{ background:var(--panel); border:1px solid var(--ring); border-radius:16px; padding:12px; box-shadow:var(--shadow); }
.neworder .brand-category{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line);
  border-radius:12px; background:var(--panel); color:var(--ink); transition:transform .12s ease, box-shadow .12s ease;
}
.neworder .brand-category:hover{ transform:translateY(-1px); box-shadow:0 10px 18px rgba(2,6,23,.08); text-decoration:none; }
.neworder .sershortcut-icon{ width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px; flex:0 0 40px; }

/* brand colors */
.neworder .brand-fb{ background:#1877F2; } .neworder .brand-ig{ background:linear-gradient(135deg,#f58529,#dd2a7b 50%,#8134AF); }
.neworder .brand-yt{ background:#FF0000; } .neworder .brand-x{ background:#111827; }
.neworder .brand-sp{ background:#1DB954; } .neworder .brand-tt{ background:linear-gradient(135deg,#111,#444); }
.neworder .brand-li{ background:#0A66C2; } .neworder .brand-gg{ background:#4285F4; }
.neworder .brand-tg{ background:#26A4E3; } .neworder .brand-dc{ background:#5865F2; }
.neworder .brand-sc{ background:#FFFC00; color:#111; } .neworder .brand-twc{ background:#9146FF; }
.neworder .brand-traffic{ background:#2563EB; } .neworder .brand-reviews{ background:#F59E0B; }
.neworder .brand-other{ background:#64748B; } .neworder .brand-all{ background:#22c55e; }

/* best services */
.neworder .update-content{ padding:8px 12px 14px; }
.neworder .bg-wrap{
  border:1px solid var(--line); border-radius:14px; margin:10px 0; padding:12px; background:var(--panel);
  display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between;
}
.neworder .right-wrap{ list-style:none; margin:0; padding:0; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.neworder .order-txt{ margin:0; font-weight:800; }
.neworder .order-txt-label{ opacity:.65; font-weight:900; margin-right:6px; }
.neworder .icon-social{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff; }
.neworder .is-fb{ background:#1877F2; } .neworder .is-ig{ background:linear-gradient(135deg,#f58529,#dd2a7b 50%,#8134AF); }
.neworder .is-yt{ background:#FF0000; } .neworder .is-x{ background:#111; } .neworder .is-sp{ background:#1DB954; } .neworder .is-tt{ background:linear-gradient(135deg,#111,#444); }

/* responsive */
@media (max-width:768px){
  .neworder .tabs-sky{ gap:8px; }
  .neworder .tabs-sky .tab-pill{ padding:10px 14px; }
  .neworder .brand-category{ padding:10px; }
}

/* ==========================================================================
   Sign In Page Styles (scoped to .page-signin)
   - BS5 friendly, no overrides to global layout/new order
   - Font Awesome 6 compatible
   ========================================================================== */

/* ==========================================================================
   SIGN IN PAGE — SCOPED STYLES
   Target: #page-signin only (won’t touch layout or New Order)
   Uses BS5 utilities + custom tokens
   ========================================================================== */

#page-signin{
  --ink:#0f172a; --muted:#64748b; --line:#e2e8f0; --card:#fff; --soft:#f7fafc;
  --brand:#ff8a00;           /* orange like screenshot button */
  --brand-2:#ffa63a;         /* lighter blend */
  --heroA:#eef6ff;           /* left gradient tint */
  --heroB:#ffffff;           /* white base */
  --ring:rgba(59,130,246,.14);
  --shadow:0 18px 34px rgba(15,23,42,.10);
  font-family:"Roboto",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

/* ===================== HERO ===================== */
#page-signin .hero-auth{
  padding: 38px 0 28px;
  background: radial-gradient(1200px 380px at 5% 0%, var(--heroA), transparent 60%), linear-gradient(180deg, #f6f9ff 0, var(--heroB) 52%);
}

/* Headline */
#page-signin .hero-copy .display-5{ color:var(--ink); font-weight:900; letter-spacing:.2px; margin-bottom:.35rem; }
#page-signin .hero-copy .hl{
  color:transparent; background:linear-gradient(135deg, #ffb45b, var(--brand)); -webkit-background-clip:text; background-clip:text;
}

/* ===================== Sign-in Card ===================== */
#page-signin .auth-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding: 16px;
}
#page-signin .auth-card-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 2px 2px 10px; border-bottom:1px dashed var(--line); margin-bottom:12px;
}
#page-signin .link-forgot{ display:inline-block; margin-top:6px; font-size:13px; color:var(--muted); }

#page-signin .input-group-text{ background:#fff; border-color:var(--line); }
#page-signin .form-control{ border-color:var(--line); border-radius:14px; }
#page-signin .form-control:focus{ border-color:#c7d7fe; box-shadow:0 0 0 4px var(--ring); }
#page-signin #togglePass{ border-color:var(--line); }

/* Primary button (orange like screenshot) */
#page-signin .btn-brand{
  border:none; border-radius:999px;
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#fff; font-weight:800; box-shadow:0 22px 42px rgba(255,138,0,.30);
}
#page-signin .btn-brand:hover{ filter:brightness(1.02); }

/* Google button */
#page-signin .btn-google{
  border-radius:999px; border:1px solid var(--line);
  background:#fff; display:flex; align-items:center; justify-content:center; gap:10px;
}

/* “or” divider */
#page-signin .or{ position:relative; text-align:center; color:var(--muted); font-weight:700; }
#page-signin .or::before{
  content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--line);
}
#page-signin .or span{ background:#fff; position:relative; padding:0 8px; }

/* ===================== Right Media Card ===================== */
#page-signin .media-card{
  position:relative; border-radius:22px; overflow:hidden;
  background: linear-gradient(145deg, #fde4c2, #f9fafb 40%, #e6f0ff 100%);
  border:1px solid var(--line); min-height:360px; box-shadow: var(--shadow);
}
#page-signin .media-img{ position:absolute; inset:0; display:grid; place-items:end right; }
#page-signin .media-img img{ width:100%; height:100%; object-fit:cover; opacity:.95; }

/* Round floating social badges */
#page-signin .soc-badge{
  position:absolute; display:grid; place-items:center;
  width:54px; height:54px; border-radius:50%; color:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.18);
}
#page-signin .soc-badge.fb{ left:18px; top:18px; background:#1877F2; }
#page-signin .soc-badge.tk{ right:18px; bottom:18px; background:#111; }

/* Metric stack card (bottom-left) */
#page-signin .metric-stack{
  position:absolute; left:18px; bottom:18px;
  background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:10px; width:min(92%, 340px); box-shadow:var(--shadow);
}
#page-signin .metric{
  display:flex; align-items:center; gap:10px; padding:8px 8px;
  border-radius:12px; background: rgba(248,250,252,.75); margin-bottom:8px;
}
#page-signin .metric:last-child{ margin-bottom:0; }
#page-signin .metric .pico{
  width:30px; height:30px; border-radius:8px; display:grid; place-items:center; color:#fff;
}
#page-signin .pico.fb{ background:#1877F2; }
#page-signin .pico.tk{ background:#111; }
#page-signin .metric .m-txt{ color:var(--ink); }
#page-signin .metric .m-chip{
  margin-left:auto; font-weight:800; color:#065f46; background:#d1fae5; border-radius:999px; padding:2px 10px; font-size:12px;
}

/* ===================== Mini Stats (below hero) ===================== */
#page-signin .si-stats{ padding:20px 0 10px; }
#page-signin .si-stat{ text-align:center; background:#fff; border:1px solid var(--line); border-radius:16px; padding:14px; box-shadow:0 8px 18px rgba(2,6,23,.06); }
#page-signin .si-stat .chip{ width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#eef2ff;margin:0 auto 8px; }
#page-signin .si-stat .value{ font-weight:900; color:var(--ink); font-size:22px; }
#page-signin .si-stat .label{ margin:0; color:var(--muted); }

/* Back to top */
#page-signin .back-to-top{
  position:fixed; right:16px; bottom:18px; width:42px; height:42px; display:none; place-items:center;
  border-radius:999px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); z-index:29;
}
#page-signin .back-to-top.show{ display:grid; }

/* Small devices spacing */
@media (max-width: 575.98px){
  #page-signin .auth-card{ padding:14px; }
}
