@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* J2 Lifestyle 24/7 brand palette — black & gold */
  --orange:#E8B93F;
  --orange-deep:#8A6A16;
  --orange-soft:#FCEFC7;
  --ink:#1C1511;
  --panel:#292929;
  --panel2:#383838;
  --panel3:#4A4A4A;
  --cream:#FBF7F4;
  --cream2:#F5EEE9;
  --white:#FFFFFF;
  --gold:#E8B93F;
  --gold-soft:#F2D27A;
  --text-light:#FFFAF7;
  --muted:#958173;
  --green:#2E9C5B;
  --red:#D9363E;
  --border:#EADFD8;
  --border-dark:#555555;
  --bg-gradient:linear-gradient(155deg,#C99A2E 0%,#E8B93F 48%,#8A6A16 100%);
  --silver:#CCC4BF;
  --shadow:0 12px 28px rgba(28,21,17,.12);
  --shadow-sm:0 6px 16px rgba(28,21,17,.08);
}
*{box-sizing:border-box;}
body{
  margin:0;
  font-family:'Inter',-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#2A2A2A;
  color:var(--ink);
}
a{ text-decoration:none; color:inherit; }
h1,h2,h3,.headline{ font-family:'Poppins',sans-serif; }

/* Safety net: no image/video/iframe should ever overflow its container */
img, video, iframe{ max-width:100%; }

/* ---------- MEMBER SIDE (mobile-first card) ---------- */
.member-shell{
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  background:var(--cream);
  display:flex;
  flex-direction:column;
  position:relative;
  isolation:isolate;
}
.member-shell::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:260px;
  background:radial-gradient(circle at 50% -20%, rgba(138,106,22,.28), transparent 70%);
  pointer-events:none; z-index:-1;
}
.member-topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 22px 6px;
  color:var(--ink);
  font-size:16px;
}
.member-topbar a{ color:var(--ink); }
.brand{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.brand-badge{
  width:56px;height:56px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:linear-gradient(180deg,#3A3A3A,#292929);
  border:2px solid var(--orange);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  color:var(--orange);
  box-shadow:0 0 0 6px rgba(138,106,22,.10);
}
.brand-name{ font-family:'Poppins',sans-serif; font-weight:900; font-size:15px; letter-spacing:1px; color:var(--ink); }
.brand-sub{ font-family:'Poppins',sans-serif; font-weight:700; font-size:10px; letter-spacing:4px; color:var(--orange); }

.member-content{ flex:1; padding:14px 22px 100px; color:var(--ink); }

.card{ background:var(--white); border:1px solid var(--border); border-radius:20px; padding:20px; margin-bottom:16px; box-shadow:var(--shadow-sm); }
.card-title{ display:flex; align-items:center; gap:8px; font-family:'Poppins',sans-serif; font-weight:800; font-size:14px; letter-spacing:.5px; margin-bottom:14px; color:var(--ink); }
.card-title::before{ content:''; width:5px; height:15px; border-radius:3px; background:var(--orange); flex-shrink:0; }

.tile-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.tile{
  background:var(--white); border:1px solid var(--border); border-radius:18px; padding:16px; min-height:96px;
  display:flex; flex-direction:column; justify-content:space-between;
  color:var(--ink); font-weight:700; font-size:13px;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease;
}
.tile:active{ transform:scale(.97); }
.tile .icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px;height:32px; border-radius:9px;
  background:var(--orange); color:#fff; font-size:14px;
}
.tile small{ display:block; font-weight:500; color:var(--muted); font-size:10px; margin-top:2px; }

.field{ margin-bottom:14px; }
.field label{ display:block; font-size:11px; font-weight:700; letter-spacing:.5px; color:var(--muted); margin-bottom:5px; }
.field input, .field select, .field textarea{
  width:100%; background:var(--cream2); color:var(--ink);
  border:1px solid var(--border); border-radius:10px; padding:10px 12px; font-size:14px; font-family:inherit;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--orange); outline-offset:1px; }
.input-cream{ background:var(--cream)!important; color:var(--ink)!important; border:1px solid rgba(0,0,0,.08)!important; padding:13px 14px!important; border-radius:12px!important; font-family:inherit; }

.btn{
  display:inline-block; text-align:center; border:none; border-radius:12px;
  padding:14px 18px; font-weight:800; letter-spacing:.6px; cursor:pointer; font-size:13px;
  font-family:'Poppins',sans-serif; text-transform:uppercase;
  transition:filter .15s ease, transform .15s ease;
}
.btn:active{ transform:scale(.98); }
.btn-gold{ background:var(--orange); color:#fff; }
.btn-gold:hover{ filter:brightness(1.06); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ filter:brightness(1.2); }
.btn-green{ background:var(--green); color:#fff; }
.btn-red{ background:var(--red); color:#fff; }
.btn-full{ width:100%; }

.badge{ padding:4px 11px; border-radius:8px; font-size:11px; font-weight:800; }
.badge-gold{ background:rgba(201,151,31,.14); color:#B8860F; }
.badge-silver{ background:rgba(150,144,140,.16); color:#827B76; }
.badge-bronze{ background:rgba(181,101,46,.15); color:#A85A26; }
.badge-active{ color:var(--green); }
.badge-expired{ color:var(--red); }
.badge-suspended{ color:var(--orange); }

.list-item{
  background:var(--white); border:1px solid var(--border); border-radius:14px; padding:12px 14px; margin-bottom:10px;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow:var(--shadow-sm);
}

.bottom-nav{
  position:fixed; bottom:14px; left:50%; transform:translateX(-50%);
  max-width:394px; width:calc(100% - 36px); background:var(--ink);
  border-radius:20px;
  display:flex; justify-content:space-around; padding:11px 4px;
  box-shadow:0 14px 30px rgba(0,0,0,.35);
}
.bottom-nav a{ display:flex; flex-direction:column; align-items:center; gap:3px; font-size:9px; color:#8E8A83; font-weight:600; }
.bottom-nav a.active{ color:var(--orange); }
.bottom-nav .nav-icon{ font-size:16px; }

.tabs{ display:flex; border-radius:10px; overflow:hidden; background:var(--cream2); margin-bottom:14px; width:fit-content; border:1px solid var(--border); }
.tabs a{ padding:8px 16px; font-size:11px; font-weight:800; color:var(--muted); }
.tabs a.active{ background:var(--orange); color:#fff; }

.error-msg{ color:#7A2210; background:#FCE0D4; padding:10px 12px; border-radius:10px; font-size:12px; margin-bottom:10px; font-weight:600; }
.success-msg{ color:#0F5C2E; background:#D9F3E3; padding:10px 12px; border-radius:10px; font-size:12px; margin-bottom:10px; font-weight:600; }

/* ---------- Toast (center-screen save/update confirmation) ---------- */
.toast-overlay{
  position:fixed; inset:0; display:flex; align-items:center; justify-content:center;
  pointer-events:none; z-index:200;
}
.toast-box{
  background:var(--ink); color:var(--text-light);
  padding:16px 26px; border-radius:14px; max-width:80vw;
  display:flex; align-items:center; gap:12px;
  font-family:'Poppins',sans-serif; font-weight:700; font-size:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
  opacity:0; transform:translateY(-10px) scale(.95);
  transition:opacity .25s ease, transform .25s ease;
}
.toast-box.show{ opacity:1; transform:translateY(0) scale(1); }
.toast-box i{ color:var(--green); font-size:18px; flex-shrink:0; }

/* ---------- ADMIN SIDE (desktop dashboard) ---------- */
html, body{ overflow-x:hidden; } /* page itself should never grow a horizontal scrollbar */
.admin-shell{ display:flex; min-height:100vh; background:var(--ink); }
.admin-sidebar{
  width:250px; background:var(--ink); border-right:1px solid var(--border-dark);
  display:flex; flex-direction:column; flex-shrink:0;
  position:fixed; top:0; left:0; height:100vh; overflow-y:auto; z-index:10; /* pinned straight to the screen — not dependent on page height, scrollbars, or content length */
}
.admin-sidebar .brand-row{ display:flex; align-items:center; gap:12px; padding:22px 20px; flex-shrink:0; }
.admin-sidebar .brand-name{ color:var(--text-light); }
.admin-nav{ display:flex; flex-direction:column; gap:2px; padding:8px 12px; }
.admin-nav a{ display:flex; align-items:center; gap:12px; padding:12px; border-radius:10px; border-left:3px solid transparent; color:#9B9589; font-size:13px; font-weight:600; }
.admin-nav a.active{ background:rgba(138,106,22,.14); border-left:3px solid var(--orange); color:#fff; font-weight:700; }
.admin-main{ flex:1; min-width:0; margin-left:250px; display:flex; flex-direction:column; min-height:100vh; background:var(--cream); border-radius:26px 0 0 26px; overflow:hidden; }
.admin-header{ display:flex; align-items:center; justify-content:space-between; padding:24px 32px; border-bottom:1px solid var(--border); color:var(--ink); }
.admin-header .label,.admin-header div div{ color:var(--muted); }
.admin-body{ padding:28px 32px 40px; flex:1; color:var(--ink); }

.stat-row{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.stat-card{ background:var(--white); border:1px solid var(--border); border-radius:18px; padding:18px 20px; flex:1; min-width:180px; box-shadow:var(--shadow-sm); }
.stat-card .label{ color:var(--muted); font-size:12px; font-weight:600; }
.stat-card .value{ font-family:'Poppins',sans-serif; font-size:27px; font-weight:800; margin-top:4px; color:var(--ink); }

.card{ overflow-x:auto; } /* if a table is wider than the card, scroll inside the card, never the whole page */
table{ width:100%; border-collapse:collapse; font-size:13px; }
th{ text-align:left; color:var(--muted); font-size:11px; padding-bottom:8px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; }
td{ padding:13px 8px; border-top:1px solid var(--border); color:var(--ink); }

.table-toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; flex-wrap:wrap; gap:10px; }
.search-box{ display:flex; align-items:center; gap:8px; background:var(--white); border:1px solid var(--border); border-radius:10px; padding:9px 12px; max-width:300px; }
.search-box input{ background:transparent; border:none; outline:none; color:var(--ink); font-size:13px; width:100%; font-family:inherit; }

.modal-overlay{ position:fixed; inset:0; background:rgba(79,37,9,.55); display:flex; align-items:center; justify-content:center; z-index:50; padding:24px; }
.modal-box{
  background:var(--white); border:1px solid var(--border); border-radius:18px; padding:24px;
  width:100%; max-width:420px; color:var(--ink); box-shadow:var(--shadow);
  max-height:90vh; display:flex; flex-direction:column; overflow:hidden;
}
.modal-box > h3{ flex:0 0 auto; }
.modal-box form{ display:flex; flex-direction:column; min-height:0; flex:1; }
.modal-scroll{ overflow-y:auto; flex:1 1 auto; min-height:0; padding-right:6px; margin-right:-6px; }
.modal-actions{ flex:0 0 auto; }

.action-link{ font-size:12px; font-weight:700; margin-right:10px; }
.action-edit{ color:var(--orange); }
.action-delete{ color:var(--red); }

/* ---------- Tutorial content boxes (admin) ---------- */
.tutorial-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; }
.tutorial-box{
  background:var(--white); border:1px solid var(--border); border-radius:16px;
  overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.tutorial-box-media{ position:relative; width:100%; padding-top:75%; background:var(--cream2); overflow:hidden; }
.tutorial-box-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.tutorial-box-media-fallback{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:34px; color:var(--orange); }
.tutorial-video-badge{
  position:absolute; bottom:8px; right:8px; width:28px; height:28px; border-radius:50%;
  background:rgba(79,37,9,.78); color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px;
}
.tutorial-box-body{ padding:12px 14px 14px; }

/* ---------- Admin sidebar footer (profile + logout) ---------- */
.admin-sidebar-footer{
  margin-top:auto;
  padding:18px 20px;
  border-top:1px solid var(--border-dark);
  display:flex;
  align-items:center;
  gap:10px;
}
.admin-avatar{
  width:32px; height:32px; border-radius:50%; background:var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--ink);
}
.admin-user-info{ flex:1; min-width:0; }
.admin-user-name{ font-size:12px; font-weight:700; color:var(--text-light); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-user-role{ font-size:10px; color:var(--muted); }

/* ---------- Icon alignment (Font Awesome) ---------- */
.admin-nav a i{ width:16px; text-align:center; font-size:14px; }
.admin-logout-link{
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  width:34px; height:34px; border-radius:50%;
  color:#F7F1E4; background:rgba(138,106,22,.28);
  border:1px solid rgba(138,106,22,.5);
  font-size:14px;
  transition:background .15s, color .15s;
}
.admin-logout-link:hover{ background:rgba(138,106,22,.45); color:#fff; }
.bottom-nav .nav-icon i{ font-size:16px; }
.search-box i{ color:var(--muted); font-size:13px; }
.back-link i{ margin-right:6px; }
.brand-badge i{ line-height:1; }

/* ---------- Responsive ---------- */

/* Tablet: sidebar becomes a horizontal top bar */
@media (max-width:820px){
  .admin-shell{ flex-direction:column; }
  .admin-sidebar{
    width:100%;
    position:static; /* back to normal document flow — the fixed pin is only needed on desktop */
    height:auto;
    flex-direction:row;
    align-items:center;
    flex-wrap:nowrap;
    overflow-y:visible;
  }
  .admin-main{ margin-left:0; }
  .admin-sidebar .brand-row{ flex-shrink:0; padding:14px 16px; }
  .admin-nav{
    flex:1;
    flex-direction:row;
    overflow-x:auto;
    padding:8px 6px;
    gap:2px;
    -webkit-overflow-scrolling:touch;
  }
  .admin-nav a{
    white-space:nowrap;
    flex-shrink:0;
    border-left:none;
    border-bottom:3px solid transparent;
  }
  .admin-nav a.active{ border-left:none; border-bottom:3px solid var(--orange); }
  .admin-sidebar-footer{
    margin-top:0;
    border-top:none;
    border-left:1px solid var(--border-dark);
    flex-shrink:0;
    padding:10px 16px;
  }
  .admin-main{ border-radius:0; }
}

/* Small tablet / large phone: trim the profile text so avatar+logout always fit */
@media (max-width:640px){
  .admin-user-info{ display:none; }
  .admin-sidebar-footer{ padding:10px 12px; gap:8px; }
}

/* Phone: stack brand + nav + footer instead of squeezing into one row */
@media (max-width:480px){
  .admin-sidebar{ flex-wrap:wrap; }
  .admin-sidebar .brand-row{ width:100%; justify-content:center; padding:12px 10px; }
  .admin-nav{
    order:3;
    width:100%;
    border-top:1px solid var(--border-dark);
    justify-content:flex-start;
  }
  .admin-sidebar-footer{
    order:2;
    margin-left:auto;
    border-left:1px solid var(--border-dark);
  }
  .admin-header{ flex-wrap:wrap; gap:10px; padding:16px; }
  .admin-body{ padding:16px 14px 28px; }
  .table-toolbar{ flex-direction:column; align-items:stretch; }
  .table-toolbar .btn{ width:100%; text-align:center; }
  table{ display:block; overflow-x:auto; white-space:nowrap; }
  .modal-box{ padding:18px; }
}
/* =========================================================
   FITBOX BRAND SYSTEM — GLOBAL OVERRIDES
   Applied consistently across every admin + member page.
   Palette: FITBOX blue / navy / silver / white.
   ========================================================= */
:root{
  --orange:#E8B93F;
  --orange-deep:#8A6A16;
  --orange-soft:#FFEFE4;
  --gold:#E8B93F;
  --gold-soft:#F2D27A;
  --ink:#1C1511;
  --panel:#2A2A2A;
  --panel2:#383838;
  --panel3:#4A4A4A;
  --cream:#FCF8F5;
  --cream2:#F7EFEA;
  --border:#EDDDD3;
  --border-dark:#555555;
  --muted:#978070;
  --silver:#D6C8BE;
  --bg-gradient:linear-gradient(155deg,#F5CC5C 0%,#E8B93F 48%,#8A6A16 100%);
}

body{background:var(--cream);}

/* Admin */
.admin-shell{background:#262626;}
.admin-sidebar{
  width:250px;
  background:linear-gradient(180deg,#292929 0%,#343434 100%);
  border-right:1px solid #555;
}
.admin-sidebar .brand-row{
  padding:20px 18px;
  min-height:86px;
}
.admin-sidebar .brand-badge{
  width:68px!important;height:40px!important;
  background:#fff!important;border:1px solid #E6D3C7!important;
  border-radius:7px!important;clip-path:none!important;
  overflow:hidden;
  box-shadow:0 5px 14px rgba(0,0,0,.18);
}
.admin-sidebar .brand-badge img{width:100%;height:100%;object-fit:contain;display:block;}
.admin-sidebar .brand-name{color:#FFFBF8!important;letter-spacing:.8px;}
.admin-sidebar .brand-row > div:last-child > div:last-child{color:#F2D27A!important;}
.admin-nav a{color:#CCB7A9;border-left-color:transparent;transition:.18s ease;}
.admin-nav a:hover{background:rgba(138,106,22,.10);color:#fff;}
.admin-nav a.active{background:linear-gradient(90deg,rgba(138,106,22,.28),rgba(138,106,22,.10));border-left-color:#F5CC5C;color:#fff;box-shadow:inset 0 0 20px rgba(138,106,22,.05);}
.admin-main{background:var(--cream);}
.admin-header{background:linear-gradient(180deg,#FEFBF9,#FBF7F4);border-bottom:1px solid var(--border);}
.admin-body{background:var(--cream);}
.stat-card,.card,.tutorial-box{border-color:var(--border);}
.stat-card:hover{border-color:#ECBA99;}
.card-title::before{background:linear-gradient(180deg,#F5CC5C,#E8B93F);}
.btn-gold{background:linear-gradient(135deg,#F5CC5C,#E8B93F);color:#fff;box-shadow:0 7px 16px rgba(138,106,22,.16);}
.btn-gold:hover{filter:brightness(1.07);}
.action-edit{color:#E8B93F;}
.search-box{border-color:var(--border);background:#fff;}
.modal-overlay{background:rgba(49,23,6,.58);}
.modal-box{border-color:var(--border);}
.admin-sidebar-footer{border-top-color:#555;}
.admin-avatar{background:#E8B93F;color:#fff;}
.admin-logout-link{background:rgba(138,106,22,.22);border-color:rgba(239,141,76,.45);color:#fff;}
.admin-logout-link:hover{background:#E8B93F;color:#fff;}

/* Member */
.member-shell{background:var(--cream);}
.member-shell::before{background:radial-gradient(circle at 50% -20%,rgba(138,106,22,.20),transparent 70%);}
.member-topbar{background:rgba(252,248,245,.92);}
.brand-logo{display:block;width:120px;height:46px;object-fit:contain;border-radius:7px;}
.brand-name{color:var(--ink)!important;}
.brand-sub{color:#E8B93F!important;}
.tile,.card,.list-item{border-color:var(--border);}
.tile .icon{background:linear-gradient(135deg,#F5CC5C,#E8B93F);}
.tile:hover{border-color:#ECBA99;transform:translateY(-2px);}
.bottom-nav{background:linear-gradient(180deg,#303030,#242424);border:1px solid #5A3A25;}
.bottom-nav a{color:#CCB7A9;}
.bottom-nav a.active{color:#FF9D5B;}
.tabs{background:var(--cream2);border-color:var(--border);}
.tabs a.active{background:#E8B93F;color:#fff;}
.field input,.field select,.field textarea,.input-cream{background:#FDFAF8!important;border-color:var(--border)!important;}
.field input:focus,.field select:focus,.field textarea:focus{outline-color:#F5CC5C;}
.btn-dark{background:#1A1310;color:#fff;}
.btn-dark:hover{background:#3A2211;}
.btn-green{background:#21965A;}
.btn-red{background:#D9363E;}

/* Common FITBOX highlights */
.badge-gold{background:rgba(138,106,22,.12);color:#E8B93F;}
.badge-suspended{color:#E8B93F;}
.tutorial-box-media-fallback{color:#E8B93F;}
.tutorial-box-media{background:#F7EFEA;}

/* Keep any legacy inline brown/orange UI visually inside the FITBOX palette. */
.stat-card-clickable:hover,.stat-card-clickable:focus{border-color:#E8B93F!important;box-shadow:0 10px 24px rgba(138,106,22,.14)!important;}

/* =========================================================
   FITBOX ADMIN — LOGIN-PAGE VISUAL SYSTEM
   Apply the same visual language from admin/login.php to
   every authenticated admin page.
   ========================================================= */
.admin-shell{
  position:relative;
  min-height:100vh;
  background:
    radial-gradient(circle at 5% 5%, rgba(229,114,37,.10), transparent 24%),
    radial-gradient(circle at 96% 92%, rgba(205,98,26,.11), transparent 25%),
    #FCF4EE;
}
.admin-sidebar{
  width:220px;
  background:rgba(255,255,255,.96);
  border-right:1px solid #F3E3D8;
  box-shadow:8px 0 28px rgba(104,51,16,.06);
}
.admin-sidebar::before{
  content:"";
  position:absolute;
  width:230px;height:230px;
  border:22px solid rgba(138,106,22,.045);
  border-radius:50%;
  left:-150px;top:-110px;
  pointer-events:none;
}
.admin-sidebar .brand-row{
  min-height:88px;
  padding:22px 18px;
  border-bottom:1px solid #F6ECE6;
  position:relative;
  z-index:1;
}
.admin-sidebar .brand-badge{
  width:62px!important;height:38px!important;
  background:#fff!important;
  border:1px solid #F0DFD3!important;
  border-radius:9px!important;
  box-shadow:0 8px 18px rgba(138,106,22,.10);
}
.admin-sidebar .brand-name{color:#1E140D!important;font-weight:900!important;}
.admin-sidebar .brand-row > div:last-child > div:last-child{color:#E8B93F!important;}
.admin-nav{padding:18px 12px;gap:5px;position:relative;z-index:1;}
.admin-nav a{
  color:#8B7160;
  border-left:3px solid transparent;
  border-radius:11px;
  padding:12px 11px;
  font-size:12px;
  font-weight:650;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.admin-nav a:hover{
  background:#FFF5EE;
  color:#8A6A16;
  transform:translateX(2px);
}
.admin-nav a.active{
  background:linear-gradient(90deg,#FFF1E7,#FFF8F4);
  border-left-color:#C99A2E;
  color:#8A6A16;
  box-shadow:0 7px 18px rgba(138,106,22,.08);
}
.admin-nav a i{color:#E8B93F;}
.admin-nav a.active i{color:#E8B93F;}
.admin-main{
  margin-left:220px;
  background:
    radial-gradient(circle at 98% 0%, rgba(255,255,255,.85), transparent 24%),
    #FCF4EE;
  border-radius:0;
  position:relative;
  overflow:hidden;
}
.admin-main::before,
.admin-main::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  z-index:0;
}
.admin-main::before{
  width:430px;height:430px;
  border:28px solid rgba(205,98,26,.045);
  right:-250px;top:-220px;
}
.admin-main::after{
  width:360px;height:360px;
  border:20px solid rgba(138,106,22,.04);
  left:-235px;bottom:-210px;
}
.admin-header{
  position:relative;
  z-index:1;
  min-height:82px;
  padding:20px 28px;
  background:rgba(255,255,255,.82);
  border-bottom:1px solid #F3E5DB;
  box-shadow:0 2px 15px rgba(102,52,18,.035);
}
.admin-header > div:first-child > div:first-child{
  font-family:'Poppins',sans-serif!important;
  color:#1A1310!important;
  letter-spacing:-.3px;
}
.admin-header .label,.admin-header div div{color:#9B8271;}
.admin-body{
  position:relative;
  z-index:1;
  padding:26px 28px 42px;
  background:transparent;
}
.stat-row{gap:14px;margin-bottom:18px;}
.stat-card,.card,.tutorial-box{
  background:rgba(255,255,255,.96);
  border:1px solid #F1E1D7;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(106,54,20,.07);
}
.stat-card{
  padding:18px 19px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(106,54,20,.10);border-color:#EBCCB8;}
.stat-card .label{color:#9B8170;font-size:11px;}
.stat-card .value{color:#1A1310;}
.card{padding:20px;}
.card-title{color:#1A1310;}
.card-title::before{background:linear-gradient(180deg,#F5CC5C,#E8B93F);}
table{font-size:12px;}
th{color:#9B8170;}
td{color:#4E3423;border-top-color:#F3E9E3;}
.table-toolbar{margin-bottom:14px;}
.search-box{
  background:#fff;
  border:1px solid #EFDFD5;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(102,52,18,.04);
}
.search-box:focus-within{border-color:#F2D27A;box-shadow:0 0 0 4px rgba(138,106,22,.08);}
.btn-gold,.btn.btn-gold{
  background:linear-gradient(135deg,#F5CC5C,#E8B93F,#8A6A16);
  border-radius:12px;
  box-shadow:0 10px 22px rgba(138,106,22,.18);
}
.btn-dark{background:#1A1310;border-radius:12px;}
.btn-green{border-radius:12px;}
.btn-red{border-radius:12px;}
.badge{border-radius:8px;}
.modal-overlay{background:rgba(49,23,6,.48);backdrop-filter:blur(3px);}
.modal-box{
  border-radius:20px;
  border:1px solid #F1E1D6;
  box-shadow:0 24px 60px rgba(79,37,9,.18);
}
.tutorial-box{overflow:hidden;}
.tutorial-box-media{background:#FDF0E7;}
.admin-sidebar-footer{
  position:relative;
  z-index:1;
  padding:16px 14px;
  border-top:1px solid #F3E9E3;
  background:rgba(255,255,255,.75);
}
.admin-avatar{background:linear-gradient(135deg,#F5CC5C,#E8B93F);color:#fff;box-shadow:0 6px 14px rgba(138,106,22,.18);}
.admin-user-name{color:#241710;}
.admin-user-role{color:#A18979;}
.admin-logout-link{background:#FFF5EE;color:#E8B93F;border:1px solid #F1D8C8;}
.admin-logout-link:hover{background:#E8B93F;color:#fff;}

@media(max-width:820px){
  .admin-sidebar{width:100%;background:rgba(255,255,255,.97);box-shadow:0 5px 20px rgba(104,51,16,.06);}
  .admin-sidebar::before{display:none;}
  .admin-main{margin-left:0;border-radius:0;}
  .admin-header{padding:18px 22px;}
  .admin-body{padding:22px 20px 34px;}
  .admin-sidebar-footer{border-left:1px solid #F3E9E3;}
}
@media(max-width:480px){
  .admin-body{padding:18px 14px 28px;}
  .admin-header{padding:16px 14px;}
  .stat-card{min-width:145px;}
}

/* =========================================================
   FITBOX ADMIN — FINAL LOGIN-REFERENCE THEME
   This block intentionally comes last so every admin page
   uses the same visual system as the FITBOX login screen.
   ========================================================= */
body:has(.admin-shell){
  background:#FCF4EE !important;
  color:#1A1310 !important;
}
.admin-shell{
  min-height:100vh !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(229,114,37,.12), transparent 23%),
    radial-gradient(circle at 100% 100%, rgba(229,114,37,.10), transparent 22%),
    #FCF4EE !important;
  position:relative !important;
}
.admin-shell::before,
.admin-shell::after{
  content:"" !important;
  position:fixed !important;
  border-radius:50% !important;
  border:22px solid rgba(229,114,37,.055) !important;
  pointer-events:none !important;
  z-index:0 !important;
}
.admin-shell::before{width:300px;height:300px;left:-205px;top:-150px;}
.admin-shell::after{width:360px;height:360px;right:-260px;bottom:-230px;}
.admin-sidebar{
  width:235px !important;
  background:rgba(255,255,255,.97) !important;
  border-right:1px solid #F2E1D6 !important;
  box-shadow:8px 0 30px rgba(122,64,25,.07) !important;
  z-index:20 !important;
}
.admin-sidebar::before{display:none !important;}
.admin-sidebar .brand-row{
  min-height:92px !important;
  padding:20px 18px !important;
  background:linear-gradient(180deg,#fff,#FFFBF8) !important;
  border-bottom:1px solid #F5EAE3 !important;
}
.admin-sidebar .brand-badge{
  width:46px !important;height:46px !important;
  border-radius:10px !important;
  background:#fff !important;
  border:1px solid #F0DFD4 !important;
  box-shadow:0 8px 18px rgba(138,106,22,.10) !important;
  padding:4px !important;
}
.admin-sidebar .brand-badge img{width:100% !important;height:100% !important;object-fit:contain !important;display:block !important;}
.admin-sidebar .brand-name{color:#1A1310 !important;font-size:13px !important;font-weight:900 !important;}
.admin-sidebar .brand-row-stacked{
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  text-align:center !important;
}
.admin-sidebar .brand-badge-full{
  width:84px !important;height:auto !important;
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
}
.admin-sidebar .brand-badge-full img{width:100% !important;height:auto !important;object-fit:contain !important;display:block !important;}
.admin-sidebar .brand-row > div:last-child > div:last-child{color:#E8B93F !important;}
.admin-nav{padding:18px 12px !important;gap:6px !important;}
.admin-nav a{
  color:#8B715F !important;
  background:transparent !important;
  border-left:3px solid transparent !important;
  border-radius:11px !important;
  padding:12px 11px !important;
  font-size:12px !important;
  font-weight:650 !important;
}
.admin-nav a i{color:#E8B93F !important;}
.admin-nav a:hover{
  color:#8A6A16 !important;
  background:#FFF5EE !important;
  transform:translateX(2px) !important;
}
.admin-nav a.active{
  color:#8A6A16 !important;
  background:linear-gradient(90deg,#FFEFE5,#FFF9F5) !important;
  border-left-color:#E8B93F !important;
  box-shadow:0 7px 18px rgba(138,106,22,.08) !important;
}
.admin-sidebar-footer{
  background:rgba(255,255,255,.92) !important;
  border-top:1px solid #F4E9E1 !important;
  padding:15px 14px !important;
}
.admin-user-name{color:#241710 !important;}
.admin-user-role{color:#A18979 !important;}
.admin-logout-link{background:#FFF5EE !important;color:#E8B93F !important;border:1px solid #F1D8C8 !important;}
.admin-logout-link:hover{background:#E8B93F !important;color:#fff !important;}
.admin-main{
  margin-left:235px !important;
  background:transparent !important;
  border-radius:0 !important;
  overflow:hidden !important;
  position:relative !important;
  z-index:1 !important;
}
.admin-main::before{
  width:470px !important;height:470px !important;
  border:28px solid rgba(205,98,26,.045) !important;
  right:-270px !important;top:-240px !important;
}
.admin-main::after{
  width:360px !important;height:360px !important;
  border:20px solid rgba(138,106,22,.04) !important;
  left:-250px !important;bottom:-230px !important;
}
.admin-header{
  min-height:88px !important;
  padding:20px 30px !important;
  background:rgba(255,255,255,.84) !important;
  border-bottom:1px solid #F3E5DB !important;
  box-shadow:0 2px 16px rgba(102,52,18,.04) !important;
}
.admin-header > div:first-child > div:first-child{
  color:#1A1310 !important;
  font-family:'Poppins',sans-serif !important;
  font-weight:800 !important;
}
.admin-header .label,.admin-header div div{color:#9B8271 !important;}
.admin-body{
  padding:28px 30px 44px !important;
  background:transparent !important;
}
.stat-card,.card,.tutorial-box{
  background:rgba(255,255,255,.97) !important;
  border:1px solid #F1E1D7 !important;
  border-radius:18px !important;
  box-shadow:0 10px 28px rgba(106,54,20,.075) !important;
}
.card-title{color:#1A1310 !important;}
.card-title::before{background:linear-gradient(180deg,#F5CC5C,#E8B93F) !important;}
th{color:#9B8170 !important;}
td{color:#4E3423 !important;border-top-color:#F3E9E3 !important;}
.search-box{background:#fff !important;border-color:#EFDFD5 !important;box-shadow:0 5px 15px rgba(102,52,18,.04) !important;}
.search-box i{color:#E8B93F !important;}
.btn-gold,.btn.btn-gold{
  background:linear-gradient(135deg,#F5CC5C,#E8B93F,#8A6A16) !important;
  color:#fff !important;
  border-radius:12px !important;
  box-shadow:0 10px 22px rgba(138,106,22,.18) !important;
}
.modal-overlay{background:rgba(49,23,6,.48) !important;backdrop-filter:blur(3px) !important;}
.modal-box{background:#fff !important;border-color:#F1E1D6 !important;border-radius:20px !important;}

/* Convert legacy inline gold/orange accents used by admin pages. */
.admin-shell [style*="background:#c99a2e"],
.admin-shell [style*="background: #c99a2e"],
.admin-shell [style*="background:#dda83b"],
.admin-shell [style*="background: #dda83b"]{background:#E8B93F !important;color:#fff !important;}
.admin-shell [style*="color:#c99a2e"],
.admin-shell [style*="color: #c99a2e"],
.admin-shell [style*="color:#dda83b"],
.admin-shell [style*="color: #dda83b"]{color:#E8B93F !important;}

@media(max-width:820px){
  .admin-sidebar{width:100% !important;position:relative !important;height:auto !important;}
  .admin-main{margin-left:0 !important;}
}

/* =========================================================
   ONE FITNESS HORIZON — DARK ARENA THEME
   Matches the "Fitness Horizon" black + orange banner:
   near-black backgrounds, orange accents, white text.
   Comes last so it wins over every earlier theme layer.
   ========================================================= */html:not([data-theme="light"]){
  --orange:#E8B93F;
  --orange-deep:#8A6A16;
  --orange-soft:rgba(232,185,63,.14);
  --gold:#E8B93F;
  --gold-soft:#F2D27A;
  --ink:#F2F2F2;
  --panel:#141414;
  --panel2:#1C1C1C;
  --panel3:#262626;
  --cream:#0B0B0B;
  --cream2:#1A1A1A;
  --border:#242424;
  --border-dark:#2A2A2A;
  --muted:#9A9A9A;
  --text-light:#FFFFFF;
  --silver:#B8B8B8;
  --bg-gradient:linear-gradient(155deg,#F5CC5C 0%,#E8B93F 48%,#8A6A16 100%);
}html:not([data-theme="light"]) body, html:not([data-theme="light"]) body:has(.admin-shell){ background:#0B0B0B !important; color:#FFFFFF !important; }

/* ---------- Member side ---------- */html:not([data-theme="light"]) .member-shell{ background:#0B0B0B !important; }html:not([data-theme="light"]) .member-shell::before{ background:radial-gradient(circle at 50% -20%, rgba(232,185,63,.22), transparent 70%) !important; }html:not([data-theme="light"]) .member-topbar{ background:transparent !important; color:#FFFFFF !important; }html:not([data-theme="light"]) .member-topbar a{ color:#FFFFFF !important; }html:not([data-theme="light"]) .member-content{ color:#FFFFFF !important; }html:not([data-theme="light"]) .brand-name{ color:#FFFFFF !important; }html:not([data-theme="light"]) .brand-logo{ background:transparent !important; }html:not([data-theme="light"]) .card{ background:#141414 !important; border:1px solid #242424 !important; color:#FFFFFF !important; box-shadow:0 10px 26px rgba(0,0,0,.5) !important; }html:not([data-theme="light"]) .card-title{ color:#FFFFFF !important; }html:not([data-theme="light"]) .tile, html:not([data-theme="light"]) .list-item{ background:#141414 !important; border:1px solid #242424 !important; color:#FFFFFF !important; }html:not([data-theme="light"]) .tile small{ color:#9A9A9A !important; }html:not([data-theme="light"]) .tile:hover{ border-color:#E8B93F !important; }html:not([data-theme="light"]) .field label{ color:#9A9A9A !important; }html:not([data-theme="light"]) .field input, html:not([data-theme="light"]) .field select, html:not([data-theme="light"]) .field textarea, html:not([data-theme="light"]) .input-cream{
  background:#1A1A1A !important; color:#FFFFFF !important; border:1px solid #2A2A2A !important;
}html:not([data-theme="light"]) .field input::placeholder, html:not([data-theme="light"]) .field textarea::placeholder{ color:#6E6E6E !important; }html:not([data-theme="light"]) .field input:focus, html:not([data-theme="light"]) .field select:focus, html:not([data-theme="light"]) .field textarea:focus{ outline-color:#E8B93F !important; }html:not([data-theme="light"]) .tabs{ background:#1A1A1A !important; border:1px solid #2A2A2A !important; }html:not([data-theme="light"]) .tabs a{ color:#9A9A9A !important; }html:not([data-theme="light"]) .tabs a.active{ background:#E8B93F !important; color:#fff !important; }html:not([data-theme="light"]) .btn-dark{ background:#000000 !important; color:#fff !important; border:1px solid #262626 !important; }html:not([data-theme="light"]) .btn-dark:hover{ background:#1A1A1A !important; }html:not([data-theme="light"]) .bottom-nav{ background:linear-gradient(180deg,#161616,#0B0B0B) !important; border:1px solid #242424 !important; }html:not([data-theme="light"]) .bottom-nav a{ color:#9A9A9A !important; }html:not([data-theme="light"]) .bottom-nav a.active{ color:#E8B93F !important; }html:not([data-theme="light"]) .error-msg{ background:#2A130E !important; color:#FF9A85 !important; }html:not([data-theme="light"]) .success-msg{ background:#0F2417 !important; color:#5FD88A !important; }html:not([data-theme="light"]) .toast-box{ background:#141414 !important; color:#fff !important; border:1px solid #242424 !important; }

/* ---------- Shared table / search / modal ---------- */html:not([data-theme="light"]) th{ color:#9A9A9A !important; }html:not([data-theme="light"]) td{ color:#EDEDED !important; border-top-color:#242424 !important; }html:not([data-theme="light"]) .search-box{ background:#141414 !important; border:1px solid #242424 !important; }html:not([data-theme="light"]) .search-box input{ color:#FFFFFF !important; }html:not([data-theme="light"]) .search-box i{ color:#E8B93F !important; }html:not([data-theme="light"]) .modal-overlay{ background:rgba(0,0,0,.72) !important; }html:not([data-theme="light"]) .modal-box{ background:#141414 !important; border:1px solid #242424 !important; color:#FFFFFF !important; box-shadow:0 24px 60px rgba(0,0,0,.6) !important; }html:not([data-theme="light"]) .modal-box h3{ color:#FFFFFF !important; }html:not([data-theme="light"]) .tutorial-box{ background:#141414 !important; border:1px solid #242424 !important; }html:not([data-theme="light"]) .tutorial-box-media{ background:#1A1A1A !important; }html:not([data-theme="light"]) .badge-gold{ background:rgba(232,185,63,.16) !important; color:#E8B93F !important; }html:not([data-theme="light"]) .badge-suspended{ color:#E8B93F !important; }

/* ---------- Admin side ---------- */html:not([data-theme="light"]) .admin-shell{
  background:
    radial-gradient(circle at 0% 0%, rgba(232,185,63,.10), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(232,185,63,.08), transparent 22%),
    #0B0B0B !important;
}html:not([data-theme="light"]) .admin-shell::before, html:not([data-theme="light"]) .admin-shell::after{ border-color:rgba(232,185,63,.08) !important; }html:not([data-theme="light"]) .admin-sidebar{
  background:#0B0B0B !important;
  border-right:1px solid #1E1E1E !important;
  box-shadow:8px 0 30px rgba(0,0,0,.5) !important;
}html:not([data-theme="light"]) .admin-sidebar .brand-row{
  background:linear-gradient(180deg,#0F0F0F,#0B0B0B) !important;
  border-bottom:1px solid #1E1E1E !important;
}html:not([data-theme="light"]) .admin-sidebar .brand-badge{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}html:not([data-theme="light"]) .admin-sidebar .brand-name{ color:#FFFFFF !important; }html:not([data-theme="light"]) .admin-sidebar .brand-row > div:last-child > div:last-child{ color:#E8B93F !important; }html:not([data-theme="light"]) .admin-nav a{ color:#9A9A9A !important; }html:not([data-theme="light"]) .admin-nav a i{ color:#E8B93F !important; }html:not([data-theme="light"]) .admin-nav a:hover{ background:rgba(232,185,63,.10) !important; color:#FFFFFF !important; }html:not([data-theme="light"]) .admin-nav a.active{
  background:linear-gradient(90deg,rgba(232,185,63,.24),rgba(232,185,63,.06)) !important;
  border-left-color:#E8B93F !important;
  color:#FFFFFF !important;
  box-shadow:none !important;
}html:not([data-theme="light"]) .admin-sidebar-footer{ background:#0B0B0B !important; border-top:1px solid #1E1E1E !important; }html:not([data-theme="light"]) .admin-user-name{ color:#FFFFFF !important; }html:not([data-theme="light"]) .admin-user-role{ color:#9A9A9A !important; }html:not([data-theme="light"]) .admin-avatar{ background:#E8B93F !important; color:#0B0B0B !important; }html:not([data-theme="light"]) .admin-logout-link{ background:rgba(232,185,63,.14) !important; color:#E8B93F !important; border:1px solid rgba(232,185,63,.4) !important; }html:not([data-theme="light"]) .admin-logout-link:hover{ background:#E8B93F !important; color:#fff !important; }html:not([data-theme="light"]) .admin-main{ background:transparent !important; }html:not([data-theme="light"]) .admin-header{
  background:rgba(20,20,20,.85) !important;
  border-bottom:1px solid #1E1E1E !important;
  box-shadow:none !important;
}html:not([data-theme="light"]) .admin-header > div:first-child > div:first-child{ color:#FFFFFF !important; }html:not([data-theme="light"]) .admin-header .label, html:not([data-theme="light"]) .admin-header div div{ color:#9A9A9A !important; }html:not([data-theme="light"]) .admin-body{ background:transparent !important; }html:not([data-theme="light"]) .stat-card, html:not([data-theme="light"]) .card, html:not([data-theme="light"]) .tutorial-box{
  background:#141414 !important;
  border:1px solid #232323 !important;
  box-shadow:0 10px 26px rgba(0,0,0,.55) !important;
}html:not([data-theme="light"]) .stat-card{ color:#FFFFFF !important; }html:not([data-theme="light"]) .stat-card .label{ color:#9A9A9A !important; }html:not([data-theme="light"]) .stat-card .value{ color:#FFFFFF !important; }html:not([data-theme="light"]) .stat-card:hover{ border-color:#E8B93F !important; }html:not([data-theme="light"]) .stat-card-clickable:hover, html:not([data-theme="light"]) .stat-card-clickable:focus{ border-color:#E8B93F !important; box-shadow:0 10px 24px rgba(232,185,63,.2) !important; }html:not([data-theme="light"]) .card-title{ color:#FFFFFF !important; }html:not([data-theme="light"]) .card-title::before{ background:linear-gradient(180deg,#F5CC5C,#E8B93F) !important; }html:not([data-theme="light"]) .btn-gold, html:not([data-theme="light"]) .btn.btn-gold{
  background:linear-gradient(135deg,#F5CC5C,#E8B93F,#B85A1E) !important;
  color:#fff !important;
  box-shadow:0 10px 22px rgba(232,185,63,.28) !important;
}html:not([data-theme="light"]) .action-edit{ color:#E8B93F !important; }html:not([data-theme="light"]) .tutorial-box-media-fallback{ color:#E8B93F !important; }

/* Legacy inline gold/orange accents stay inside the OFH palette */html:not([data-theme="light"]) .admin-shell [style*="background:#c99a2e"], html:not([data-theme="light"]) .admin-shell [style*="background: #c99a2e"], html:not([data-theme="light"]) .admin-shell [style*="background:#dda83b"], html:not([data-theme="light"]) .admin-shell [style*="background: #dda83b"]{ background:#E8B93F !important; color:#fff !important; }html:not([data-theme="light"]) .admin-shell [style*="color:#c99a2e"], html:not([data-theme="light"]) .admin-shell [style*="color: #c99a2e"], html:not([data-theme="light"]) .admin-shell [style*="color:#dda83b"], html:not([data-theme="light"]) .admin-shell [style*="color: #dda83b"]{ color:#E8B93F !important; }


/* =========================================================
   LIGHTER BLACK COLORWAY — refined charcoal finish
   Keeps the One Fitness Horizon orange accents while
   lifting the black UI slightly for better readability.
   ========================================================= */html:not([data-theme="light"]){
  --ink:#242321;
  --panel:#242321;
  --panel2:#302E2B;
  --panel3:#3D3A36;
  --border-dark:#4A4742;
}html:not([data-theme="light"]) body{background:#1C1B19;}html:not([data-theme="light"]) .admin-shell{background:#242321;}html:not([data-theme="light"]) .admin-sidebar{background:#242321;border-right-color:#3A3834;}html:not([data-theme="light"]) .admin-nav a{color:#B7B2AA;}html:not([data-theme="light"]) .admin-nav a.active{background:rgba(232,185,63,.15);color:#fff;}html:not([data-theme="light"]) .bottom-nav{background:#242321;}html:not([data-theme="light"]) .toast-box{background:#302E2B;}html:not([data-theme="light"]) .btn-dark{background:#242321;}

/* =========================================================
   GLOBAL ADMIN PAGE LOADING — FITLIFT / OFH
   Scoped only to the loading overlay; does not affect sidebar.
   ========================================================= */
.admin-page-loader{
  position:fixed !important;
  inset:0 !important;
  z-index:999999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(8,8,8,.82) !important;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
}
.admin-page-loader.is-visible{opacity:1;visibility:visible;pointer-events:auto;}
.admin-loader-card{
  width:180px;
  box-sizing:border-box;
  padding:22px 20px 18px;
  text-align:center;
  border:1px solid #35322e;
  border-radius:16px;
  background:#181715;
  box-shadow:0 20px 55px rgba(0,0,0,.55),0 0 28px rgba(232,185,63,.06);
}
.admin-loader-mark{position:relative;width:58px;height:58px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;}
.admin-loader-ring{position:absolute;inset:0;border:2px solid rgba(232,185,63,.16);border-top-color:#E8B93F;border-right-color:#F5CC5C;border-radius:50%;animation:fitliftLoaderSpin .85s linear infinite;}
.admin-loader-logo{width:38px !important;height:38px !important;max-width:38px !important;max-height:38px !important;object-fit:contain !important;display:block !important;}
.admin-loader-title{color:#fff;font:800 11px 'Poppins','Inter',sans-serif;letter-spacing:1.5px;}
.admin-loader-text{margin-top:4px;color:#999;font:600 9px 'Inter',sans-serif;letter-spacing:.3px;}
.admin-loader-progress{height:3px;margin:14px 2px 0;overflow:hidden;border-radius:99px;background:#2b2926;}
.admin-loader-progress span{display:block;width:38%;height:100%;border-radius:inherit;background:#E8B93F;animation:fitliftLoaderProgress 1.1s ease-in-out infinite;}
html.admin-loading,html.admin-loading body{cursor:wait;}
@keyframes fitliftLoaderSpin{to{transform:rotate(360deg);}}
@keyframes fitliftLoaderProgress{0%{transform:translateX(-130%);opacity:.35}45%{opacity:1}100%{transform:translateX(360%);opacity:.35}}
@media(prefers-reduced-motion:reduce){.admin-loader-ring,.admin-loader-progress span{animation:none}.admin-loader-progress span{width:100%}}

/* Explicitly preserve the compact admin brand sizing. */
.admin-sidebar .brand-badge-full{width:84px !important;height:84px !important;min-width:84px !important;min-height:84px !important;flex:0 0 84px !important;}
.admin-sidebar .brand-badge-full img{width:84px !important;height:84px !important;max-width:84px !important;max-height:84px !important;object-fit:contain !important;display:block !important;}
