﻿:root{
  --brand:#A52729;
  --brand-hover:#8F1F21;
  --brand-active:#7A191B;
  --bg:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow:0 22px 60px rgba(17,24,39,.10);
  --shadow-soft:0 10px 30px rgba(17,24,39,.08);
  --radius:22px;
  --radius-sm:16px;
  --sidebar-w:278px;
}

html,body{
  height:100%;
}

/* Custom cursor */
html{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none'%3E%3Cpath d='M6 5l9.5 19 2.6-7.1L25 14.3 6 5z' fill='%23A52729'/%3E%3Cpath d='M7.2 6.6l7.9 15.7 1.9-5.2.2-.5.5-.2 5.2-1.9L7.2 6.6z' fill='%23A52729' opacity='.22'/%3E%3C/g%3E%3C/svg%3E") 6 5, auto;
}

a, button, .btn, [role="button"], label, input[type="checkbox"], input[type="radio"], summary{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none'%3E%3Cpath d='M12 3c4.7 0 8.5 3.8 8.5 8.5 0 2.6-1.2 5-3 6.6l-2.2 2 1.3 7c.1.6-.5 1.1-1.1.9l-4.6-1.6-2.4 2.4c-.4.4-1.1.2-1.2-.4L6 20.2l-2.7-2.7c-.4-.4-.1-1.2.5-1.2h5.5l1.4-8.1C10.2 5.2 10.9 3 12 3z' fill='%23A52729'/%3E%3Cpath d='M12 5c3.6 0 6.5 2.9 6.5 6.5 0 2-1 3.9-2.5 5.1l-2.6 2.1 1 5.2-3.1-1.1-2 2-.7-4-2-2h3.9l1.1-6.3C11 5.7 11.3 5 12 5z' fill='%23A52729' opacity='.22'/%3E%3C/g%3E%3C/svg%3E") 10 2, pointer;
}

body{
  font-size:13.5px;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  letter-spacing:.01em;
}

/* Layout */
.auth-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 12px;
  position:relative;
  overflow:hidden;
}

.auth-bg{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(900px 520px at 12% 22%, rgba(165,39,41,.18), transparent 55%),
    radial-gradient(900px 520px at 88% 78%, rgba(165,39,41,.14), transparent 52%),
    radial-gradient(520px 520px at 80% 18%, rgba(165,39,41,.10), transparent 58%),
    radial-gradient(680px 680px at 46% 92%, rgba(165,39,41,.10), transparent 60%);
  filter:saturate(1.1);
  pointer-events:none;
  animation:bgFloat 10s ease-in-out infinite alternate;
}

@keyframes bgFloat{
  from{ transform:translate3d(0,0,0) scale(1); }
  to{ transform:translate3d(-1.5%, 1.2%, 0) scale(1.02); }
}

.auth-card{
  width:min(960px, 100%);
  border:1px solid rgba(229,231,235,.9);
  border-radius:calc(var(--radius) + 4px);
  box-shadow:var(--shadow);
  background:#fff;
  overflow:hidden;
  position:relative;
  transform:translateY(8px);
  opacity:0;
  animation:cardIn .55s cubic-bezier(.2,.8,.2,1) .08s forwards;
}

.auth-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, rgba(165,39,41,.22), rgba(165,39,41,0) 45%, rgba(165,39,41,.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

@keyframes cardIn{
  to{ transform:translateY(0); opacity:1; }
}

.auth-split{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
}

@media (max-width: 991.98px){
  .auth-split{ grid-template-columns: 1fr; }
}

.auth-left{
  padding:34px 32px;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(165,39,41,.12), transparent 55%),
    linear-gradient(180deg, rgba(165,39,41,.06), rgba(165,39,41,.00) 55%),
    #fff;
  border-right:1px solid rgba(229,231,235,.9);
}

@media (max-width: 991.98px){
  .auth-left{ border-right:0; border-bottom:1px solid var(--border); padding:34px 26px; }
}

.auth-right{
  padding:34px 32px;
}

@media (max-width: 991.98px){
  .auth-right{ padding:34px 26px; }
}

.brand-badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(165,39,41,.22);
  background:rgba(165,39,41,.06);
  color:var(--brand);
  font-weight:650;
  letter-spacing:.2px;
}

.brand-logo{
  height:26px;
  width:auto;
  max-width:180px;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 8px 18px rgba(165,39,41,.10);
}

.auth-left > .brand-logo{
  height:34px;
  width:auto;
  max-width:220px;
  border-radius:12px;
  box-shadow:0 18px 40px rgba(165,39,41,.14);
}

.brand-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:0 0 0 6px rgba(165,39,41,.14);
}

.auth-title{
  margin-top:18px;
  font-weight:760;
  line-height:1.1;
  font-size:clamp(20px, 2.3vw, 30px);
  letter-spacing:-.03em;
}

.auth-subtitle{
  margin-top:12px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.55;
}

.feature-list{
  margin:22px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}

.feature{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 14px;
  border:1px solid rgba(229,231,235,.9);
  border-radius:var(--radius-sm);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  backdrop-filter:saturate(1.1) blur(4px);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature:hover{
  transform:translateY(-1px);
  border-color:rgba(165,39,41,.22);
  box-shadow:var(--shadow-soft);
}

.feature-ic{
  width:30px;
  height:30px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
  flex:0 0 auto;
}

.feature-ic i{
  font-size:14px !important;
}

.feature h6{
  margin:1px 0 2px;
  font-weight:700;
  font-size:13.5px;
}

.feature p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

/* Bootstrap theming overrides */
.form-label{
  font-weight:650;
  color:#374151;
}

.form-control, .form-select{
  border-color:rgba(229,231,235,.95);
  border-radius:var(--radius-sm);
  padding:.62rem .82rem;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.form-control::placeholder{
  color:#9ca3af;
}

.form-control:focus, .form-select:focus{
  border-color:rgba(165,39,41,.55);
  box-shadow:0 0 0 .25rem rgba(165,39,41,.16);
}

.form-check{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin:0;
  padding-left:0;
}

.form-check .form-check-label{
  cursor:pointer;
  user-select:none;
}

.form-check-input{
  margin:0;
  margin-left:0 !important;
}

/* Custom checkboxes & radios (project-wide) */
input.form-check-input[type="checkbox"],
input.form-check-input[type="radio"]{
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  height:18px;
  border:1.5px solid rgba(165,39,41,.35);
  background:#fff;
  display:inline-grid;
  place-items:center;
  transition:background-color .14s ease, border-color .14s ease, box-shadow .14s ease, transform .06s ease;
}

input.form-check-input[type="checkbox"]{
  border-radius:6px;
}

input.form-check-input[type="radio"]{
  border-radius:999px;
}

input.form-check-input[type="checkbox"]:hover,
input.form-check-input[type="radio"]:hover{
  border-color:rgba(165,39,41,.55);
}

input.form-check-input[type="checkbox"]:active,
input.form-check-input[type="radio"]:active{
  transform:translateY(1px);
}

input.form-check-input[type="checkbox"]:focus-visible,
input.form-check-input[type="radio"]:focus-visible{
  outline:0;
  box-shadow:0 0 0 .25rem rgba(165,39,41,.16);
  border-color:rgba(165,39,41,.65);
}

input.form-check-input[type="checkbox"]:checked{
  background:var(--brand);
  border-color:var(--brand);
}

input.form-check-input[type="checkbox"]:checked::after{
  content:"";
  width:10px;
  height:10px;
  background:#fff;
  clip-path:polygon(14% 53%, 0 67%, 39% 100%, 100% 25%, 85% 11%, 38% 74%);
}

input.form-check-input[type="radio"]:checked{
  border-color:var(--brand);
  box-shadow:inset 0 0 0 5px var(--brand);
}

input.form-check-input:disabled{
  opacity:.55;
  cursor:not-allowed;
  background:#f9fafb;
}

.input-group-text{
  border-color:rgba(229,231,235,.95);
  border-radius:var(--radius-sm);
  background:#fff;
  color:#6b7280;
  padding:.62rem .78rem;
}

/* Input groups: consistent rounding on both sides */
.input-group > .input-group-text:first-child{
  border-top-left-radius:var(--radius-sm) !important;
  border-bottom-left-radius:var(--radius-sm) !important;
}
.input-group > .form-control{
  border-left:0;
  border-radius:0 !important;
}
.input-group > .form-control:last-child{
  border-top-right-radius:var(--radius-sm) !important;
  border-bottom-right-radius:var(--radius-sm) !important;
}
.input-group > .btn,
.input-group > .input-group-text:last-child{
  border-top-right-radius:var(--radius-sm) !important;
  border-bottom-right-radius:var(--radius-sm) !important;
}
.input-group > :not(:first-child){
  margin-left:0;
}
.input-group > .btn.btn-icon{
  border-top-left-radius:0 !important;
  border-bottom-left-radius:0 !important;
}

.btn{
  border-radius:999px;
  padding:.58rem .84rem;
  font-weight:700;
  letter-spacing:.15px;
  transition:transform .06s ease, background-color .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease;
  position:relative;
  overflow:hidden;
}

.btn:active{
  transform:translateY(1px);
}

.btn-brand{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  box-shadow:0 10px 22px rgba(165,39,41,.18);
}
.btn-brand::after,
.btn-outline-brand::after{
  content:"";
  position:absolute;
  top:-45%;
  left:-140%;
  width:68%;
  height:190%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  opacity:0;
  pointer-events:none;
}
.btn-brand:hover::after,
.btn-outline-brand:hover::after{
  opacity:1;
  animation:btnShine .85s ease-out forwards;
}
.btn-brand:focus-visible::after,
.btn-outline-brand:focus-visible::after{
  opacity:1;
  animation:btnShine .85s ease-out forwards;
}

@keyframes btnShine{
  from{ left:-140%; }
  to{ left:140%; }
}
.btn-brand:hover{
  background:var(--brand-hover);
  border-color:var(--brand-hover);
  color:#fff;
}
.btn-brand:active{
  background:var(--brand-active) !important;
  border-color:var(--brand-active) !important;
}
.btn-brand:focus-visible{
  box-shadow:0 0 0 .25rem rgba(165,39,41,.20);
}

.btn-outline-brand{
  background:transparent;
  border-color:rgba(165,39,41,.45);
  color:var(--brand);
}
.btn-outline-brand:hover{
  background:rgba(165,39,41,.08);
  border-color:rgba(165,39,41,.60);
  color:var(--brand-hover);
}
.btn-outline-brand:active{
  background:rgba(165,39,41,.12) !important;
  border-color:rgba(165,39,41,.70) !important;
  color:var(--brand-active) !important;
}
.btn-outline-brand:focus-visible{
  box-shadow:0 0 0 .25rem rgba(165,39,41,.14);
}

.link-brand{
  color:var(--brand);
  text-decoration:none;
  font-weight:650;
}
.link-brand:hover{
  color:var(--brand-hover);
  text-decoration:underline;
  text-underline-offset:4px;
}

.helper-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.muted{
  color:var(--muted);
}

.mini-note{
  font-size:13.2px;
  color:var(--muted);
  line-height:1.45;
}

.divider{
  display:flex;
  align-items:center;
  gap:12px;
  color:#9ca3af;
  font-size:13px;
  margin:18px 0;
}
.divider::before, .divider::after{
  content:"";
  height:1px;
  background:var(--border);
  flex:1 1 auto;
}

.kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  color:var(--muted);
  font-weight:650;
  font-size:13px;
}
.kicker-line{
  width:34px;
  height:2px;
  border-radius:999px;
  background:rgba(165,39,41,.45);
}

.auth-footer{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding-top:14px;
  border-top:1px dashed rgba(229,231,235,.9);
  color:var(--muted);
  font-size:13px;
}

/* Compact auth layout (e.g., Forgot Password) */
.auth-compact{
  width:min(560px, 100%);
  position:relative;
}

.auth-compact-card{
  border:1px solid rgba(229,231,235,.9);
  border-radius:calc(var(--radius) + 6px);
  box-shadow:var(--shadow);
  background:#fff;
  overflow:hidden;
  transform:translateY(8px);
  opacity:0;
  animation:cardIn .55s cubic-bezier(.2,.8,.2,1) .08s forwards;
  position:relative;
}

.auth-compact-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, rgba(165,39,41,.22), rgba(165,39,41,0) 45%, rgba(165,39,41,.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

.auth-topbar{
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:
    radial-gradient(740px 320px at 12% 0%, rgba(165,39,41,.16), transparent 56%),
    linear-gradient(180deg, rgba(165,39,41,.06), rgba(165,39,41,.00));
  border-bottom:1px solid rgba(229,231,235,.9);
}

.auth-topbar .brand-logo{
  height:28px;
  max-width:220px;
  border-radius:10px;
}

.auth-compact-body{
  padding:22px 18px 18px;
}

.icon-ring{
  width:38px;
  height:38px;
  border-radius:16px;
  display:grid;
  place-items:center;
  color:var(--brand);
  background:rgba(165,39,41,.10);
  box-shadow:0 18px 40px rgba(165,39,41,.10);
}

.icon-ring i{
  font-size:18px !important;
}

.auth-compact-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.auth-compact-head h1{
  margin:0;
}

.auth-compact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
}

.auth-compact-actions .link-brand{
  font-weight:650;
}

.auth-help{
  margin-top:14px;
  padding:12px 14px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(229,231,235,.9);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.auth-help i{
  color:var(--brand);
}

.badge-soft{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(165,39,41,.22);
  background:rgba(165,39,41,.06);
  color:var(--brand);
  font-weight:700;
  font-size:12.5px;
}

/* Small tags + buttons (utility) */
.tag-sm,
.badge-soft.tag-sm{
  padding:4px 8px;
  font-size:11px;
  gap:6px;
}

.btn-sm2{
  padding:.46rem .66rem;
  font-size:12px;
}

.btn-sm2.btn-icon{
  width:28px;
  padding:.46rem 0;
}

/* Auth form niceties */
.auth-form-title{
  font-weight:760;
  letter-spacing:-.02em;
}

.auth-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.chip-row{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.75);
  color:#374151;
  font-weight:650;
  font-size:12px;
}

.chip i{
  color:var(--brand);
}

.icon-muted{
  color:#9ca3af;
}

.btn-icon{
  width:38px;
  padding:.58rem 0;
  display:inline-grid;
  place-items:center;
}

.btn-icon i{
  font-size:14px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .auth-card{ animation:none; opacity:1; transform:none; }
  .auth-compact-card{ animation:none; opacity:1; transform:none; }
  .feature, .btn{ transition:none; }
}

/* =========================
   App layout (Dashboard)
   ========================= */
.app{
  min-height:100vh;
  background:var(--bg);
}

.app-shell{
  display:grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height:100vh;
  transition:grid-template-columns .22s ease;
  background:var(--brand);
}

@media (max-width: 991.98px){
  .app-shell{ grid-template-columns: 1fr; }
}

.sidebar{
  position:sticky;
  top:0;
  height:auto;
  min-height:100vh;
  border-right:1px solid rgba(0,0,0,.08);
  background:var(--brand);
  padding:16px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:width .22s ease, padding .22s ease, box-shadow .22s ease, transform .22s ease;
  overflow-y:auto;
}

@media (max-width: 991.98px){
  .sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:min(var(--sidebar-w), 88vw);
    transform:translateX(-104%);
    transition:transform .22s ease;
    z-index:1040;
    box-shadow:0 26px 70px rgba(17,24,39,.18);
  }
  .sidebar.is-open{ transform:translateX(0); }
}

.sidebar-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px 12px;
}

.sidebar-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}

.sidebar-brand .brand-logo{
  height:40px;
  max-width:100%;
  border-radius:10px;
  box-shadow:0 16px 40px rgba(0,0,0,.18);
  background:transparent;
  padding:0;
}

/* Collapsible sidebar */
.app-shell.sidebar-collapsed{
  grid-template-columns: 92px 1fr;
}

@media (max-width: 991.98px){
  .app-shell.sidebar-collapsed{
    grid-template-columns: 1fr;
  }
}

.app-shell.sidebar-collapsed .sidebar{
  padding-left:10px;
  padding-right:10px;
  width:92px;
  z-index:120;
  overflow:visible;
}

.app-shell.sidebar-collapsed .sidebar:hover{
  width:var(--sidebar-w);
  box-shadow:0 26px 70px rgba(0,0,0,.22);
}

.app-shell.sidebar-collapsed .sidebar-brand .brand-logo{
  max-width:44px;
}

.app-shell.sidebar-collapsed .sidebar-section{
  display:none;
}

.app-shell.sidebar-collapsed .nav-item{
  justify-content:center;
  padding:10px 10px;
}

.app-shell.sidebar-collapsed .nav-item .nav-left{
  justify-content:center;
}

.app-shell.sidebar-collapsed .nav-item .nav-left > span{
  display:none;
}

.app-shell.sidebar-collapsed .nav-item i{
  font-size:17px;
}

.app-shell.sidebar-collapsed .nav-pill{
  display:none;
}

.app-shell.sidebar-collapsed .sidebar-footer{
  justify-content:center;
}

.app-shell.sidebar-collapsed .sidebar-footer span{
  display:none;
}

.app-shell.sidebar-collapsed .sidebar-footer a{
  color:rgba(255,255,255,.92);
}

.app-shell.sidebar-collapsed #sidebarCollapse{
  opacity:0;
  pointer-events:none;
}

/* Hover-expand (temporary) */
.app-shell.sidebar-collapsed .sidebar:hover .sidebar-section{
  display:block;
}

.app-shell.sidebar-collapsed .sidebar:hover .nav-item{
  justify-content:space-between;
}

.app-shell.sidebar-collapsed .sidebar:hover .nav-item .nav-left{
  justify-content:flex-start;
}

.app-shell.sidebar-collapsed .sidebar:hover .nav-item .nav-left > span{
  display:block;
}

.app-shell.sidebar-collapsed .sidebar:hover .nav-pill{
  display:inline-flex;
}

.app-shell.sidebar-collapsed .sidebar:hover .sidebar-footer{
  justify-content:space-between;
}

.app-shell.sidebar-collapsed .sidebar:hover .sidebar-footer span{
  display:inline;
}

.app-shell.sidebar-collapsed .sidebar:hover #sidebarCollapse{
  opacity:1;
  pointer-events:auto;
}

.sidebar-section{
  margin-top:4px;
  padding:10px 10px 0;
  color:rgba(255,255,255,.72);
  font-weight:800;
  font-size:10.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.nav-rail{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:0 6px;
}

.nav-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.92);
  text-decoration:none;
  transition:transform .10s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}

.nav-item:hover{
  border-color:rgba(255,255,255,.22);
  box-shadow:0 14px 34px rgba(0,0,0,.18);
  transform:translateY(-1px);
}

.nav-item .nav-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.nav-item i{
  color:rgba(255,255,255,.92);
  font-size:15px;
}

.nav-item span{
  font-weight:750;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav-item.active{
  background:linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.10));
  border-color:rgba(255,255,255,.42);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  position:relative;
}

.nav-item.active::after{
  content:"";
  position:absolute;
  right:10px;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  box-shadow:0 0 0 6px rgba(255,255,255,.10);
}

.nav-item.active .nav-left{
  padding-left:6px;
}

.nav-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 4px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  color:rgba(255,255,255,.92);
  font-weight:850;
  font-size:8px;
  line-height:1.25;
}

.nav-pill.glow{
  animation:navPillGlow 1.7s ease-in-out infinite;
}

@keyframes navPillGlow{
  0%, 100%{
    box-shadow:0 0 0 rgba(255,255,255,0);
    border-color:rgba(255,255,255,.22);
  }
  50%{
    box-shadow:0 0 0 6px rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.40);
  }
}

.sidebar-footer{
  margin-top:auto;
  padding:12px 10px 10px;
  border-top:1px dashed rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,.75);
  font-size:12px;
  background:linear-gradient(180deg, rgba(0,0,0,.00), rgba(0,0,0,.08));
  border-bottom-left-radius:14px;
  border-bottom-right-radius:14px;
  position:sticky;
  bottom:0;
}

.sidebar-footer a{
  color:rgba(255,255,255,.92);
}

.sidebar .link-brand{
  color:rgba(255,255,255,.92);
  text-decoration:none;
}
.sidebar .link-brand:hover{
  color:rgba(255,255,255,1);
  text-decoration:underline;
  text-underline-offset:4px;
}

.content{
  min-width:0;
  padding:18px 18px 28px;
  background:var(--bg);
  min-height:100vh;
}

@media (max-width: 575.98px){
  .content{ padding:14px 12px 22px; }
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border:1px solid rgba(229,231,235,.9);
  border-radius:calc(var(--radius) - 6px);
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(1.1) blur(8px);
  box-shadow:0 10px 26px rgba(17,24,39,.06);
  position:relative;
  z-index:80;
}

.topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.page-title{
  margin:0;
  font-weight:820;
  letter-spacing:-.02em;
  font-size:15px;
}

.page-sub{
  margin:2px 0 0;
  color:var(--muted);
  font-size:12.2px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-btn{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
  background:transparent;
  color:#374151;
  transition:transform .06s ease, border-color .14s ease, box-shadow .14s ease;
}
.icon-btn:hover{
  border-color:rgba(165,39,41,.28);
  box-shadow:0 10px 24px rgba(17,24,39,.08);
}
.icon-btn:active{ transform:translateY(1px); }
.icon-btn i{ color:var(--brand); font-size:12px; }
.icon-btn#sidebarCollapse i{
  font-size:8px;
}

.topbar .icon-btn{
  width:28px;
  height:28px;
}

.topbar .icon-btn i{
  font-size:16px;
}

.topbar-action-btn{
  width:42px !important;
  height:42px !important;
  border-width:1px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,250,.94));
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.topbar-action-btn i{
  font-size:20px !important;
}

.topbar-avatar-btn{
  overflow:hidden;
  padding:0;
}

.topbar-avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:inherit;
}

/* Sidebar icon buttons: white border + white icon */
.sidebar .icon-btn{
  border-color:rgba(255,255,255,.38);
}
.sidebar .icon-btn:hover{
  border-color:rgba(255,255,255,.60);
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.sidebar .icon-btn i{
  color:rgba(255,255,255,.92);
}

.app-overlay{ display:none; }
@media (max-width: 991.98px){
  .app-overlay{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(17,24,39,.45);
    opacity:0;
    pointer-events:none;
    transition:opacity .20s ease;
    z-index:1030;
  }
  .app-overlay.is-on{
    opacity:1;
    pointer-events:auto;
  }
}

/* Dropdown (topbar profile) */
.ps-dropdown{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  box-shadow:0 22px 60px rgba(17,24,39,.14);
  padding:8px;
  min-width:220px;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.1) blur(10px);
  z-index:3000;
}

/* Ensure Bootstrap dropdown overlays cards/buttons */
.dropdown-menu.ps-dropdown{
  z-index:3000 !important;
}

.ps-dropdown .dropdown-item{
  border-radius:12px;
  padding:9px 10px;
  font-weight:700;
  font-size:12.8px;
  display:flex;
  align-items:center;
  gap:6px;
}

.ps-dropdown .dropdown-item i{
  color:var(--brand);
  font-size:14px;
}

.ps-dropdown .dropdown-item:hover,
.ps-dropdown .dropdown-item:focus{
  background:rgba(165,39,41,.08);
  color:var(--brand-hover);
}

.ps-dropdown .dropdown-item.text-danger i{
  color:#dc2626;
}

.ps-dropdown .dropdown-divider{
  margin:8px 6px;
  border-color:rgba(229,231,235,.9);
}

/* Notifications dropdown */
.ps-dropdown--notif{
  width:min(420px, calc(100vw - 24px));
  padding:10px;
}

.ps-dropdown__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:4px 4px 10px;
  border-bottom:1px solid rgba(229,231,235,.9);
  margin-bottom:8px;
}

.ps-notifs{
  display:grid;
  gap:6px;
  max-height:min(46vh, 360px);
  overflow:auto;
  padding-right:2px;
}

.ps-notif{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.86);
  text-decoration:none;
  color:#374151;
  transition:border-color .14s ease, box-shadow .14s ease, transform .06s ease;
  position:relative;
}

.ps-notif:hover{
  border-color:rgba(165,39,41,.22);
  box-shadow:0 14px 36px rgba(17,24,39,.10);
}
.ps-notif:active{ transform:translateY(1px); }

.ps-notif__ic{
  width:34px;
  height:34px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
  flex:0 0 auto;
}
.ps-notif__ic i{ font-size:14px; }

.ps-notif__body{
  min-width:0;
  display:grid;
  gap:2px;
}

.ps-notif__title{
  font-weight:800;
  font-size:12.8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ps-notif__meta{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ps-notif__dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:0 0 0 6px rgba(165,39,41,.10);
  margin-left:auto;
  margin-top:2px;
}

.ps-notif:not(.unread) .ps-notif__dot{
  display:none;
}

.ps-dropdown__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 4px 2px;
  border-top:1px solid rgba(229,231,235,.9);
  margin-top:8px;
}

.ps-dropdown__foot .btn{
  padding:.50rem .72rem;
}

/* Cards / widgets */
.soft-card{
  border:1px solid rgba(229,231,235,.9);
  border-radius:calc(var(--radius) - 6px);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow:0 14px 36px rgba(17,24,39,.08);
}

.soft-card .fw-bold,
.soft-card .fw-semibold,
.soft-card .fw-semibold,
.soft-card .auth-form-title{
  color:var(--brand);
}

.soft-card .mini-note{
  color:rgba(107,114,128,.95);
}

.stat{
  padding:14px 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  height:100%;
}
.stat > :first-child{
  flex:1 1 auto;
  min-width:0;
}

.stat .label{
  color:var(--muted);
  font-weight:750;
  font-size:12px;
}

.stat .value{
  margin-top:4px;
  font-weight:850;
  letter-spacing:-.02em;
  font-size:18px;
}

.stat .delta{
  margin-top:6px;
  font-weight:780;
  font-size:12px;
  color:var(--brand);
}

.stat-ic{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
}
.stat-ic i{ font-size:15px; }

/* Table */
.table-card{ padding:14px; }

.table thead th{
  color:rgba(255,255,255,.92);
  font-size:11.5px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:var(--brand);
  border-bottom:0.5px solid rgba(255,255,255,.14) !important;
  padding-top:10px;
  padding-bottom:10px;
}

.table thead th:first-child{
  border-top-left-radius:14px;
}

.table thead th:last-child{
  border-top-right-radius:14px;
}

.table thead tr{
  border-color:transparent;
}

.table tbody td{
  border-bottom:0.5px solid rgba(229,231,235,.55);
  vertical-align:middle;
  color:#374151;
  font-size:12.8px;
}

.thumb{
  width:36px;
  height:28px;
  border-radius:10px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(165,39,41,.06);
  display:inline-block;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  display:inline-block;
  background:var(--brand);
  box-shadow:0 0 0 6px rgba(165,39,41,.10);
  margin-right:8px;
}

/* Assets page */
.assets-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.assets-search{
  flex:1 1 320px;
  min-width:min(420px, 100%);
}

.assets-filters{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.assets-filters .form-select{
  width:170px;
}

@media (max-width: 575.98px){
  .assets-search{ min-width:100%; }
  .assets-filters{ width:100%; justify-content:space-between; }
  .assets-filters .form-select{ width:48%; }
  .assets-filters .btn{ width:100%; }
}
.assets-toolbar--datatable{
  align-items:center;
}
.asset-datatable th,
.asset-datatable td{
  vertical-align:middle;
}
.asset-table-thumb{
  width:54px;
  height:54px;
  border-radius:16px;
  object-fit:cover;
  border:1px solid rgba(15,23,42,.08);
  background:#f8fafc;
  display:block;
}
.asset-table-thumb--placeholder{
  display:inline-flex;
}
.asset-thumb-link{
  border:0;
  background:transparent;
  padding:0;
  border-radius:16px;
  line-height:0;
  box-shadow:none;
  display:inline-block;
}
.asset-thumb-link:focus-visible{
  outline:2px solid rgba(225,29,72,.35);
  outline-offset:3px;
}
.asset-modal-preview{
  min-height:320px;
  background:linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border:1px solid rgba(148,163,184,.18);
  border-radius:28px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.asset-modal-preview img{
  max-height:420px;
  object-fit:contain;
}
.asset-modal-preview__empty{
  width:100%;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  background:rgba(255,255,255,.72);
  color:#94a3b8;
  font-size:42px;
}
.asset-detail-grid{
  display:grid;
  gap:10px;
}
.asset-detail-row{
  display:grid;
  grid-template-columns:124px 1fr;
  gap:12px;
  align-items:start;
  padding:10px 0;
  border-bottom:1px solid rgba(148,163,184,.16);
}
.asset-detail-row:last-child{
  border-bottom:0;
}
.asset-detail-key{
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#64748b;
}
.asset-detail-value{
  color:#0f172a;
  font-weight:600;
  word-break:break-word;
}
.asset-detail-panel{
  border:1px solid rgba(148,163,184,.16);
  border-radius:22px;
  background:#fff;
  padding:16px 18px;
}
.asset-detail-description{
  color:#334155;
  line-height:1.7;
  white-space:pre-wrap;
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length{
  display:none;
}
.dataTables_wrapper .pagination{
  margin-bottom:0;
}
.dataTables_wrapper .dataTables_info{
  padding-top:14px;
  color:#64748b;
}
.dataTables_wrapper .dataTables_paginate{
  padding-top:8px;
}
@media (max-width: 991.98px){
  .asset-detail-row{
    grid-template-columns:1fr;
    gap:4px;
  }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.85);
  font-weight:800;
  font-size:11px;
  color:#374151;
}

.pill-dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:0 0 0 5px rgba(165,39,41,.10);
}

.pill--ok{
  border-color:rgba(16,185,129,.25);
  background:rgba(16,185,129,.08);
  color:#065f46;
}
.pill--ok .pill-dot{ background:#10b981; box-shadow:0 0 0 5px rgba(16,185,129,.12); }

.pill--warn{
  border-color:rgba(245,158,11,.28);
  background:rgba(245,158,11,.10);
  color:#92400e;
}
.pill--warn .pill-dot{ background:#f59e0b; box-shadow:0 0 0 5px rgba(245,158,11,.14); }

.pill--muted{
  border-color:rgba(107,114,128,.25);
  background:rgba(107,114,128,.10);
  color:#374151;
}
.pill--muted .pill-dot{ background:#6b7280; box-shadow:0 0 0 5px rgba(107,114,128,.12); }

.assets-preview{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:14px;
  align-items:start;
  margin-top:10px;
}

@media (max-width: 575.98px){
  .assets-preview{ grid-template-columns: 1fr; }
}

.assets-preview__img{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(165,39,41,.05);
  overflow:hidden;
  aspect-ratio: 4 / 3;
  display:grid;
  place-items:center;
}

.assets-preview__thumb{
  width:100%;
  height:100%;
  border-radius:0;
  border:0;
}

.assets-preview__grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.kv{
  border:1px solid rgba(229,231,235,.9);
  border-radius:14px;
  padding:10px 10px;
  background:rgba(255,255,255,.82);
}

.kv .k{
  color:var(--muted);
  font-size:11px;
  font-weight:750;
}

.kv .v{
  margin-top:3px;
  font-size:12.8px;
  font-weight:850;
  color:#374151;
}

/* Categories */
.ps-modal textarea.form-control{
  resize:vertical;
}

/* Smaller category modal (less empty space) */
#categoryModal .ps-modal__panel{
  width:min(640px, calc(100% - 24px));
  margin:18px auto;
}

#categoryModal .ps-modal__header{
  padding:14px 14px;
}

#categoryModal .ps-modal__body{
  padding:14px;
}

#categoryModal .upload-list__footer{
  padding-top:12px;
  margin-top:12px;
}

.cat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.cat-head__left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.cat-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(165,39,41,.18);
  background:rgba(165,39,41,.08);
  color:var(--brand);
  font-weight:850;
  font-size:12px;
}

.cat-chip i{ font-size:13px; }

.cat-head__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.cat-metric{
  border:1px solid rgba(229,231,235,.9);
  border-radius:14px;
  padding:8px 10px;
  background:rgba(255,255,255,.84);
  min-width:110px;
}

.cat-metric__k{
  color:var(--muted);
  font-size:11px;
  font-weight:750;
}

.cat-metric__v{
  font-size:14px;
  font-weight:900;
  color:#374151;
  letter-spacing:-.02em;
}

.cat-toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.cat-toolbar .input-group{
  flex:1 1 260px;
  min-width:min(420px, 100%);
}

.cat-toolbar__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.cat-list{
  margin-top:12px;
  display:grid;
  gap:8px;
}

.cat-item{
  width:100%;
  text-align:left;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.86);
  border-radius:16px;
  padding:10px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  transition:border-color .14s ease, box-shadow .14s ease, transform .06s ease, background-color .14s ease;
}

.cat-item:hover{
  border-color:rgba(165,39,41,.22);
  box-shadow:0 14px 36px rgba(17,24,39,.10);
}
.cat-item:active{ transform:translateY(1px); }

.cat-item.active{
  border-color:rgba(165,39,41,.28);
  background:linear-gradient(180deg, rgba(165,39,41,.08), rgba(255,255,255,.86));
}

.cat-item__left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.cat-icon{
  width:34px;
  height:34px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
  flex:0 0 auto;
}
.cat-icon i{ font-size:14px; }

.cat-text{
  min-width:0;
  display:grid;
  gap:2px;
}

.cat-name{
  font-weight:900;
  color:#374151;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cat-meta{
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cat-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.7);
  font-weight:900;
  font-size:12px;
  color:var(--brand);
}

.cat-empty{
  margin-top:6px;
  padding:14px;
  border-radius:16px;
  border:1px dashed rgba(165,39,41,.28);
  background:linear-gradient(180deg, rgba(165,39,41,.06), rgba(255,255,255,.86));
  text-align:center;
  display:grid;
  gap:6px;
}

.cat-empty__ic{
  width:44px;
  height:44px;
  border-radius:18px;
  margin:0 auto;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
}
.cat-empty__ic i{ font-size:18px; }
.cat-empty__t{ font-weight:900; color:#374151; }
.cat-empty__s{ color:var(--muted); font-size:12.5px; }

.cat-detail__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.cat-detail__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cat-detail{
  margin-top:12px;
  display:grid;
  gap:12px;
}

.cat-preview{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.cat-preview__ic{
  width:38px;
  height:38px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
}
.cat-preview__ic i{ font-size:16px; }

.cat-preview__meta{
  min-width:0;
  display:grid;
  gap:2px;
  margin-right:auto;
  padding-left:10px;
}

.cat-kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

@media (max-width: 575.98px){
  .cat-kv{ grid-template-columns: 1fr; }
}

.cat-guides{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:12px;
}

.cat-guide{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.8);
  color:var(--muted);
  font-size:12.8px;
  line-height:1.45;
}

.cat-guide + .cat-guide{ margin-top:8px; }
.cat-guide i{ color:var(--brand); font-size:14px; margin-top:1px; }

/* Orders */
.orders-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.orders-search{
  flex:1 1 320px;
  min-width:min(420px, 100%);
}

.orders-filters{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.orders-filters .form-select{
  width:170px;
}

@media (max-width: 575.98px){
  .orders-search{ min-width:100%; }
  .orders-filters{ width:100%; justify-content:space-between; }
  .orders-filters .form-select{ width:48%; }
  .orders-filters .btn{ width:100%; }
}

.order-row{
  cursor:pointer;
}

.order-row:focus-visible{
  outline:0;
  box-shadow:0 0 0 .25rem rgba(165,39,41,.14);
}

.orders-detail{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:10px;
}

@media (max-width: 575.98px){
  .orders-detail{ grid-template-columns: 1fr; }
}

/* Orders redesign (v2) */
.orders-head{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.orders-kpis{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
  flex:1 1 520px;
}

@media (max-width: 991.98px){
  .orders-kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.kpi{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:10px 10px;
}

.kpi__k{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}

.kpi__v{
  margin-top:4px;
  font-size:15px;
  font-weight:920;
  letter-spacing:-.02em;
  color:var(--brand);
}

.orders-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-end;
  flex:0 0 auto;
}

.orders-filters2{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.orders-search2{
  flex:1 1 360px;
  min-width:min(520px, 100%);
}

.orders-selects{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.orders-selects .form-select{
  width:170px;
}

/* Orders: tighter controls */
.orders-filters2 .btn{
  padding:.48rem .68rem;
}

.orders-filters2 .form-select{
  padding:.52rem .72rem;
}

/* Downloads */
.dl-hero{
  background:
    radial-gradient(860px 320px at 10% 0%, rgba(165,39,41,.16), transparent 62%),
    radial-gradient(860px 320px at 92% 20%, rgba(165,39,41,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}

.dl-hero__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.dl-hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dl-hero__bar{
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  padding-top:12px;
  border-top:0.5px solid rgba(229,231,235,.55);
}

.dl-hero__search{
  flex:1 1 360px;
  min-width:min(560px, 100%);
}

.dl-hero__search .form-control,
.dl-hero__search .input-group-text{
  padding:.46rem .66rem;
  font-size:12px;
}

.dl-hero__filters{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dl-hero__filters .form-select{
  width:160px;
  padding:.52rem .72rem;
}

.dl-hero__filters .btn{
  padding:.48rem .68rem;
}

.dl-hero__filters .btn,
.dl-hero__filters .form-select{
  font-size:12px;
}

.dl-hero__filters .form-select{
  padding:.46rem .66rem;
  width:150px;
}

.dl-hero__filters .btn{
  padding:.42rem .60rem;
}

@media (max-width: 575.98px){
  .dl-hero__search{ min-width:100%; }
  .dl-hero__filters{ width:100%; justify-content:space-between; }
  .dl-hero__filters .form-select{ width:48%; }
  .dl-hero__filters .btn{ width:100%; }
}

.dl-pulse{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}

@media (max-width: 991.98px){
  .dl-pulse{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dl-pulse__item{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:10px 10px;
}

.dl-pulse__k{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}

.dl-pulse__v{
  margin-top:4px;
  font-size:14px;
  font-weight:920;
  letter-spacing:-.02em;
  color:var(--brand);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dl-pulse__s{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:6px;
}

.dl-shell{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:12px;
  align-items:start;
}

@media (max-width: 1199.98px){
  .dl-shell{ grid-template-columns: 1fr; }
}

.dl-feed__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.dl-timeline{
  display:grid;
  gap:10px;
}

.dl-event{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap:10px;
  align-items:start;
}

.dl-event__time{
  font-weight:900;
  color:rgba(165,39,41,.90);
  font-size:12.5px;
  padding-top:12px;
  text-align:right;
}

.dl-event__card{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:12px;
  position:relative;
  overflow:hidden;
}

.dl-event.unread .dl-event__card{
  border-color:rgba(165,39,41,.22);
  box-shadow:0 16px 40px rgba(17,24,39,.10);
}

.dl-event.unread .dl-event__card::after{
  content:"";
  position:absolute;
  right:12px;
  top:12px;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:0 0 0 6px rgba(165,39,41,.12);
}

.dl-event__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.dl-event__title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.dl-event__thumb{
  width:42px;
  height:32px;
  border-radius:12px;
}

.dl-event__meta{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  color:var(--muted);
  font-size:12px;
}

.dl-event__meta i{
  color:rgba(165,39,41,.85);
  margin-right:6px;
}

.dl-event__actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dl-event__actions .btn{
  padding:.48rem .68rem;
}

.dl-right{
  min-width:0;
}

.dl-map__grid{
  display:grid;
  gap:10px;
  margin-top:10px;
}

.dl-geo{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:10px;
}

.dl-geo__k{
  font-weight:900;
  color:#374151;
  font-size:12.8px;
}

.dl-geo__v{
  color:var(--brand);
  font-weight:920;
  font-size:13px;
  margin-top:2px;
}

.dl-geo__bar{
  margin-top:8px;
  height:8px;
  border-radius:999px;
  background:rgba(165,39,41,.10);
  overflow:hidden;
}

.dl-geo__bar span{
  display:block;
  height:100%;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  box-shadow:0 0 0 1px rgba(255,255,255,.20) inset;
}

.dl-mini .orders-table__head{
  margin-bottom:10px;
}

/* Reports */
.rpt-hero{
  background:
    radial-gradient(900px 340px at 8% 0%, rgba(165,39,41,.16), transparent 62%),
    radial-gradient(900px 340px at 96% 20%, rgba(165,39,41,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}

.rpt-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.rpt-title{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.rpt-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.rpt-actions .btn{
  padding:.48rem .68rem;
}

.rpt-filters{
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  padding-top:12px;
  border-top:0.5px solid rgba(229,231,235,.55);
}

.rpt-search{
  flex:1 1 360px;
  min-width:min(560px, 100%);
}

.rpt-search .form-control,
.rpt-search .input-group-text{
  padding:.46rem .66rem;
  font-size:12px;
}

.rpt-selects{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.rpt-selects .form-select{
  width:160px;
  padding:.46rem .66rem;
  font-size:12px;
}

.rpt-selects .btn{
  padding:.42rem .60rem;
  font-size:12px;
}

@media (max-width: 575.98px){
  .rpt-search{ min-width:100%; }
  .rpt-selects{ width:100%; justify-content:space-between; }
  .rpt-selects .form-select{ width:48%; }
  .rpt-selects .btn{ width:100%; }
}

.rpt-kpis{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}

@media (max-width: 991.98px){
  .rpt-kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rpt-kpi{
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:10px 10px;
}

.rpt-kpi__k{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}

.rpt-kpi__v{
  margin-top:4px;
  font-size:15px;
  font-weight:920;
  letter-spacing:-.02em;
  color:var(--brand);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rpt-kpi__s{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:6px;
}

.rpt-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:12px;
  align-items:start;
}

@media (max-width: 1199.98px){
  .rpt-grid{ grid-template-columns: 1fr; }
}

.rpt-cardhead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.rpt-chart{
  min-height:240px;
}

.rpt-bars{
  height:180px;
  display:grid;
  grid-template-columns: repeat(14, 1fr);
  gap:8px;
  align-items:end;
  padding:8px 4px 0;
}

.rpt-bar{
  border-radius:999px;
  background:rgba(165,39,41,.14);
  border:1px solid rgba(165,39,41,.18);
  position:relative;
  overflow:hidden;
}

.rpt-bar::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,0));
  opacity:.8;
}

.rpt-bar.h-4{ height:36px; }
.rpt-bar.h-5{ height:48px; }
.rpt-bar.h-6{ height:64px; }
.rpt-bar.h-7{ height:78px; }
.rpt-bar.h-8{ height:96px; }
.rpt-bar.h-9{ height:118px; }
.rpt-bar.h-10{ height:140px; }

.rpt-legend{
  margin-top:10px;
  display:flex;
  gap:14px;
  color:var(--muted);
  font-size:12px;
}

.rpt-legend i{
  color:var(--brand);
}

.rpt-split{
  display:grid;
  gap:10px;
  margin-top:6px;
}

.rpt-srow{
  display:grid;
  grid-template-columns: 1.2fr 2fr .8fr;
  gap:10px;
  align-items:center;
}

.rpt-sname{
  font-weight:850;
  color:#374151;
  font-size:12.8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rpt-sbar{
  height:10px;
  border-radius:999px;
  background:rgba(165,39,41,.10);
  overflow:hidden;
  border:1px solid rgba(165,39,41,.14);
}

.rpt-sbar span{
  display:block;
  height:100%;
  border-radius:999px;
  background:rgba(165,39,41,.38);
}

.rpt-sval{
  text-align:right;
  font-weight:900;
  color:var(--brand);
  font-size:12.8px;
}

.rpt-table{
  grid-column: 1 / -1;
}

/* Watermark */
.wm-shell{
  display:grid;
  grid-template-columns: 1fr .95fr;
  gap:12px;
  align-items:start;
}

@media (max-width: 1199.98px){
  .wm-shell{ grid-template-columns: 1fr; }
}

.wm-file{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.86);
}

.wm-file__preview{
  width:42px;
  height:42px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
  flex:0 0 auto;
}
.wm-file__preview i{ font-size:18px; }
.wm-file__meta{ min-width:0; }

.wm-hidden-input{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.wm-range{
  display:flex;
  align-items:center;
  gap:10px;
}

.wm-range .form-range{
  flex:1 1 auto;
}

.wm-range__val{
  min-width:52px;
  text-align:right;
  font-weight:900;
  color:var(--brand);
  font-size:12px;
}

.wm-preview{
  position:sticky;
  top:18px;
}

@media (max-width: 1199.98px){
  .wm-preview{ position:static; }
}

.wm-canvas{
  margin-top:10px;
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(165,39,41,.04);
  overflow:hidden;
  position:relative;
  aspect-ratio: 4 / 3;
}

.wm-canvas__img{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.15)),
    radial-gradient(600px 320px at 20% 20%, rgba(165,39,41,.14), transparent 60%),
    radial-gradient(600px 320px at 80% 80%, rgba(165,39,41,.10), transparent 60%);
}

.wm-canvas__mark{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%) scale(1.45);
  transform-origin:center;
  pointer-events:none;
}

.wm-mark__inner{
  padding:10px 12px;
  border-radius:16px;
  border:1px dashed rgba(165,39,41,.30);
  background:rgba(255,255,255,.55);
  color:rgba(165,39,41,.95);
  font-weight:950;
  letter-spacing:.18em;
  font-size:12px;
  text-transform:uppercase;
  backdrop-filter:saturate(1.1) blur(6px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.wm-mark__img{
  max-width:260px;
  max-height:120px;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

.wm-mark__text{
  display:block;
}

/* Style range slider (simple, brand tint) */
.form-range::-webkit-slider-thumb{
  background:var(--brand);
}
.form-range::-moz-range-thumb{
  background:var(--brand);
  border:0;
}
.form-range::-webkit-slider-runnable-track{
  background:rgba(165,39,41,.18);
}
.form-range::-moz-range-track{
  background:rgba(165,39,41,.18);
}

/* Settings */
.set-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  align-items:stretch;
}

@media (max-width: 1199.98px){
  .set-grid{ grid-template-columns: 1fr; }
}

.set-card{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.set-card--wide{
  grid-column: 1 / -1;
}

.set-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.set-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  padding-top:12px;
  margin-top:12px;
  border-top:0.5px solid rgba(229,231,235,.55);
  margin-top:auto;
}

.set-card .btn{
  padding:.48rem .68rem;
}

.set-card .form-control,
.set-card .form-select,
.set-card .input-group-text{
  padding:.52rem .72rem;
  font-size:12px;
}

.set-card .form-label{
  font-size:12px;
}

/* Profile */
.prof-hero{
  background:
    radial-gradient(860px 320px at 10% 0%, rgba(165,39,41,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}

.prof-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.prof-ident{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.prof-avatar{
  width:44px;
  height:44px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
  box-shadow:0 18px 40px rgba(165,39,41,.10);
  flex:0 0 auto;
}
.prof-avatar i{ font-size:18px; }

.prof-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.prof-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  align-items:start;
}

@media (max-width: 1199.98px){
  .prof-grid{ grid-template-columns: 1fr; }
}

.prof-side{
  grid-column: 1 / -1;
}

@media (min-width: 1200px){
  .prof-side{
    grid-column:auto;
    grid-row: 1 / span 2;
  }
}

.prof-sec{
  display:grid;
  gap:10px;
  margin-top:10px;
}

.prof-sec__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.86);
}

.prof-sec__left{
  min-width:0;
}

@media (max-width: 575.98px){
  .orders-search2{ min-width:100%; }
  .orders-selects{ width:100%; justify-content:space-between; }
  .orders-selects .form-select{ width:48%; }
  .orders-selects .btn{ width:100%; }
}

.orders-table{
  padding:14px;
}

.orders-table__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.orders-side__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.orders-side__card{
  margin-top:12px;
  border:1px solid rgba(229,231,235,.9);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  overflow:hidden;
}

.orders-side__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-bottom:0.5px solid rgba(229,231,235,.55);
}

.orders-side__row:last-child{
  border-bottom:0;
}

.orders-side__k{
  color:var(--muted);
  font-weight:800;
  font-size:11px;
}

.orders-side__v{
  color:#374151;
  font-weight:850;
  font-size:12.8px;
  text-align:right;
}

.orders-side__actions{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.orders-side__actions .btn.btn-brand{
  grid-column: 1 / -1;
}


/* =========================
   Custom Modal + Dropzone
   ========================= */
.ps-modal{
  position:fixed;
  inset:0;
  z-index:1100;
  display:none;
}

.ps-modal.is-open{
  display:block;
}

.ps-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(17,24,39,.55);
  opacity:0;
  animation:modalFade .18s ease forwards;
}

@keyframes modalFade{
  to{ opacity:1; }
}

.ps-modal__panel{
  position:relative;
  margin:24px auto;
  width:min(860px, calc(100% - 24px));
  border-radius:calc(var(--radius) + 6px);
  border:1px solid rgba(229,231,235,.9);
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
  overflow:hidden;
  transform:translateY(10px) scale(.985);
  opacity:0;
  animation:modalIn .22s ease forwards;
}

@keyframes modalIn{
  to{ transform:translateY(0) scale(1); opacity:1; }
}

.ps-modal__header{
  padding:16px 16px;
  border-bottom:1px solid rgba(229,231,235,.9);
  background:
    radial-gradient(720px 280px at 10% 0%, rgba(165,39,41,.14), transparent 60%),
    linear-gradient(180deg, rgba(165,39,41,.06), rgba(165,39,41,.00));
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.ps-modal__body{
  padding:16px;
}

.ps-modal__ic{
  width:38px;
  height:38px;
  border-radius:14px;
}

.ps-modal__ic i{
  font-size:18px !important;
}

.dropzone{
  position:relative;
  border:1px dashed rgba(165,39,41,.35);
  border-radius:calc(var(--radius) - 6px);
  background:linear-gradient(180deg, rgba(165,39,41,.06), rgba(165,39,41,.00));
  padding:18px;
  outline:0;
  transition:border-color .14s ease, box-shadow .14s ease, transform .10s ease;
}

.dropzone:hover{
  border-color:rgba(165,39,41,.55);
}

.dropzone:focus-visible{
  border-color:rgba(165,39,41,.65);
  box-shadow:0 0 0 .25rem rgba(165,39,41,.14);
}

.dropzone.is-dragover{
  border-color:rgba(165,39,41,.75);
  box-shadow:0 0 0 .25rem rgba(165,39,41,.18);
  transform:translateY(-1px);
}

.dropzone__input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.dropzone__content{
  text-align:center;
  display:grid;
  gap:8px;
  place-items:center;
  padding:8px 6px;
}

.dropzone__badge{
  width:46px;
  height:46px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(165,39,41,.10);
  color:var(--brand);
  box-shadow:0 18px 40px rgba(165,39,41,.10);
}

.dropzone__badge i{
  font-size:18px;
}

.dropzone__title{
  font-weight:820;
  letter-spacing:-.02em;
  color:var(--brand);
  font-size:15px;
}

.dropzone__sub{
  color:var(--muted);
  font-size:12.5px;
}

.dropzone__actions{
  margin-top:8px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.upload-list{
  margin-top:14px;
  padding:12px;
}

.upload-list__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:2px 2px 10px;
  border-bottom:1px solid rgba(229,231,235,.85);
}

.upload-list__items{
  padding-top:10px;
  display:grid;
  gap:8px;
  max-height:min(44vh, 360px);
  overflow:auto;
}

.file-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.85);
}

.file-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.file-thumb{
  width:34px;
  height:28px;
  border-radius:10px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(165,39,41,.06);
  display:grid;
  place-items:center;
  color:var(--brand);
  overflow:hidden;
}

.file-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.file-meta{
  min-width:0;
}

.file-name{
  font-weight:750;
  font-size:12.8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#374151;
}

.file-size{
  font-size:12px;
  color:var(--muted);
}

.file-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.mini-btn{
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
  background:transparent;
  display:grid;
  place-items:center;
  transition:border-color .14s ease, box-shadow .14s ease, transform .06s ease;
}
.mini-btn:hover{
  border-color:rgba(165,39,41,.35);
  box-shadow:0 10px 20px rgba(17,24,39,.08);
}
.mini-btn:active{ transform:translateY(1px); }
.mini-btn i{ color:var(--brand); font-size:12px; }

.upload-list__footer{
  padding-top:12px;
  border-top:1px solid rgba(229,231,235,.85);
  margin-top:12px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

/* Prevent body scroll when modal is open */
body.ps-modal-open{
  overflow:hidden;
}

