:root{--bg:#0b0f17;--panel:#121826;--panel2:#161f31;--text:#f8fafc;--muted:#94a3b8;--brand:#f97316;--brand2:#fb923c;--ok:#22c55e;--danger:#ef4444;--warn:#f59e0b;--line:rgba(255,255,255,.08);--radius:18px;--shadow:0 20px 60px rgba(0,0,0,.35)}*{box-sizing:border-box}html,body{width:100%;min-height:100%;overflow-x:hidden}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:linear-gradient(135deg,#070a10,#101827 45%,#1c1208);color:var(--text)}a{text-decoration:none;color:inherit}.app-shell{min-height:100dvh;display:flex}.sidebar{width:260px;min-width:260px;height:100dvh;position:fixed;top:0;left:0;background:#070d16;color:#dbe7f5;padding:22px 18px;overflow-y:auto;overflow-x:hidden;z-index:1000;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.08)}.sidebar-brand{display:flex;align-items:center;gap:12px;margin-bottom:34px}.brand-icon{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#ff7417,#7c2d12);display:flex;align-items:center;justify-content:center;font-size:22px}.sidebar-brand strong{display:block;color:#fff;font-size:18px}.sidebar-brand span{color:#8fa3bb;font-size:13px}.sidebar-section-title{color:#6f8198;font-size:11px;letter-spacing:3px;margin:26px 0 14px}.sidebar-link{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 14px;border-radius:12px;color:#dbe7f5;text-decoration:none;font-size:16px;border:0;background:transparent;cursor:pointer;text-align:left}.sidebar-link:hover{background:rgba(255,255,255,.06);color:#fff}.sidebar-link.active{background:rgba(255,116,23,.14);color:#ffb47a}.sidebar-nav{flex:1}.sidebar-logout-form{margin:6px 0 0}.sidebar-logout{font-family:inherit}.main-content{margin-left:260px;width:calc(100% - 260px);min-height:100dvh;padding:32px;overflow-x:hidden}.grid{display:grid;gap:18px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.stat small{color:var(--muted)}.stat strong{display:block;font-size:30px;margin:10px 0}.pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;border:1px solid var(--line);background:rgba(255,255,255,.05)}.pill.ok{color:#86efac;background:rgba(34,197,94,.12)}.pill.warn{color:#fcd34d;background:rgba(245,158,11,.12)}.pill.danger{color:#fca5a5;background:rgba(239,68,68,.12)}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.btn,button{border:0;border-radius:13px;padding:11px 15px;font-weight:700;cursor:pointer;background:var(--brand);color:#111827;display:inline-flex;align-items:center;gap:8px}.btn.secondary{background:rgba(255,255,255,.08);color:white;border:1px solid var(--line)}.btn.danger{background:var(--danger);color:white}.table{width:100%;border-collapse:collapse}.table th{text-align:left;color:var(--muted);font-size:12px;font-weight:600;padding:12px;border-bottom:1px solid var(--line)}.table td{padding:14px 12px;border-bottom:1px solid var(--line)}.input,select,textarea{width:100%;background:rgba(255,255,255,.06);border:1px solid var(--line);color:white;border-radius:13px;padding:12px;outline:none;margin:6px 0 12px}.input::placeholder{color:#64748b}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(980px,100%);display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow);background:rgba(15,23,42,.9)}.hero{padding:44px;background:radial-gradient(circle at top left,rgba(249,115,22,.45),transparent 40%),linear-gradient(135deg,#111827,#0b0f17)}.hero h1{font-size:42px;margin:18px 0}.hero p{color:#cbd5e1;line-height:1.6}.login-form{padding:44px}.login-form h2{margin:0 0 8px}.login-form label{display:block;margin:16px 0 8px;color:#cbd5e1}.mobile-menu-toggle{display:none}.sidebar-overlay{display:none}.kanban{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.col{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:16px;padding:12px}.appt{padding:13px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid var(--line);margin:10px 0}.appt b{display:block}.appt span{font-size:12px;color:var(--muted)}.public-wrap{min-height:100vh;padding:30px;display:grid;place-items:center}.public-card{width:min(1050px,100%)}.step{display:none}.step.active{display:block}.times{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.time{padding:12px;text-align:center;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,.06);cursor:pointer}.time.active{background:var(--brand);color:#111827;font-weight:800}.toast{position:fixed;right:22px;bottom:22px;background:#111827;border:1px solid var(--line);padding:14px 16px;border-radius:14px;display:none}.modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal .card{width:min(620px,100%)}@media(max-width:1000px){.main-content{padding:18px}.grid-4,.grid-3,.grid-2,.kanban,.login-card{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.times{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.mobile-header{display:flex;align-items:center;gap:16px;position:sticky;top:0;z-index:500;padding:14px 18px;background:#0f172a;border-bottom:1px solid rgba(255,255,255,.08)}.mobile-page-title{flex:1;font-size:24px;font-weight:700;margin:0;color:#fff}.mobile-menu-toggle{display:flex;position:static;width:42px;height:42px;border:none;border-radius:10px;background:#1e293b;color:#fff;align-items:center;justify-content:center;font-size:18px;cursor:pointer;transition:.2s;box-shadow:none}.mobile-menu-toggle:hover{background:#334155}.mobile-menu-toggle:active{transform:scale(.95)}.sidebar{transform:translateX(-105%);transition:transform .25s ease;z-index:4000;box-shadow:16px 0 40px rgba(0,0,0,.45)}body.sidebar-open .sidebar{transform:translateX(0)}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:3999}body.sidebar-open .sidebar-overlay{display:block}.main-content{margin-left:0!important;width:100%!important;padding:72px 16px 24px}} 

#serviceModal.service-modal-overlay{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
}

@media (max-width:900px){
.mobile-header{
display:flex;
align-items:center;
gap:16px;
position:sticky;
top:0;
z-index:500;
padding:14px 18px;
background:#0f172a;
border-bottom:1px solid rgba(255,255,255,.08);
}
.mobile-page-title{
flex:1;
font-size:24px;
font-weight:700;
margin:0;
color:#ffffff;
}
.mobile-menu-toggle{
display:flex;
position:static;
width:42px;
height:42px;
border:none;
border-radius:10px;
background:#1e293b;
color:#ffffff;
align-items:center;
justify-content:center;
font-size:18px;
cursor:pointer;
transition:.2s;
box-shadow:none;
}
.mobile-menu-toggle:hover{background:#334155}
.mobile-menu-toggle:active{transform:scale(.95)}
.main-content{padding:16px 16px 24px}
}

#serviceModal[style*="display: block"]{
  display: flex !important;
}

#serviceModal[style*="display: none"]{
  display: none !important;
}

#serviceModal .service-modal-content{
  width: min(620px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: visible;
  margin: auto;
  background: #151a23;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  padding: 20px 24px;
  position: relative;
  z-index: 2001;
}

#serviceModal .service-modal-content h3{
  color:#fff;
  font-size:20px;
  font-weight:700;
  margin-top:0;
  margin-bottom:14px;
}

#serviceModal .service-modal-content input,
#serviceModal .service-modal-content textarea,
#serviceModal .service-modal-content select{
  width:100%;
  background:#202938;
  color:#fff;
  border:1px solid #3a4658;
  border-radius:10px;
  min-height:40px;
  height:40px;
  padding:8px 12px;
}

#serviceModal .service-modal-content textarea{
  min-height:70px;
  height:70px;
  resize:vertical;
}

#serviceModal .service-modal-content input:focus,
#serviceModal .service-modal-content textarea:focus,
#serviceModal .service-modal-content select:focus{
  border-color:#ff7417;
  box-shadow:0 0 0 3px rgba(255,116,23,0.16);
  outline:none;
}

#serviceModal .service-modal-content .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.card {
  background: linear-gradient(180deg, #111827, #0f172a) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35) !important;
  color: #f8fafc;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card strong {
  color: #f8fafc;
}

.card p,
.card small,
.card span {
  color: #cbd5e1;
}

.card .text-muted {
  color: #94a3b8 !important;
}

.card .btn {
  color: #111827;
}

.card .btn.secondary {
  background: #283244;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.card .btn.danger {
  color: #ffffff;
}

.onboarding-box-light,
.onboarding-box-light * {
  color: #111827 !important;
}

.onboarding-box-light p,
.onboarding-box-light div,
.onboarding-box-light li,
.onboarding-box-light small,
.onboarding-box-light span {
  color: #374151 !important;
}

.onboarding-box-light strong,
.onboarding-box-light h1,
.onboarding-box-light h2,
.onboarding-box-light h3,
.onboarding-box-light h4 {
  color: #111827 !important;
}

.onboarding-box-light a:not(.btn) {
  color: #1d4ed8 !important;
}

.onboarding-box-light .btn {
  color: inherit;
}

.onboarding-box-light .btn-primary-orange,
.onboarding-box-light .btn-secondary {
  color: #111827 !important;
}

.onboarding-header {
  margin-bottom: 18px;
  padding-right: 240px;
}

.onboarding-progress-card {
  width: 260px;
  max-width: 100%;
  min-height: 100px;
  margin: 0 0 20px;
}

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

.onboarding-checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}

.onboarding-checklist-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.onboarding-checklist-card .btn {
  margin-top: auto;
  align-self: flex-end;
}

.onboarding-public-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.onboarding-public-link-box {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.onboarding-qr-card {
  overflow: hidden;
}

.onboarding-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.onboarding-qr-wrap img,
.onboarding-qr-wrap svg,
.onboarding-qr-wrap canvas {
  width: 180px !important;
  height: 180px !important;
  max-width: 100%;
  object-fit: contain;
}

.onboarding-qr-link {
  max-width: 100%;
  text-align: center;
  font-size: 12px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

#serviceModal .service-modal-content .form-group label {
  display: block;
  color: #dce4ef;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

#serviceModal .service-modal-content .form-group input,
#serviceModal .service-modal-content .form-group textarea,
#serviceModal .service-modal-content .form-group select {
  width: 100%;
}

#serviceModal .service-modal-content .form-group textarea {
  min-height: 70px;
}

#serviceModal .service-modal-content .form-actions{
  margin-top:12px;
}

#serviceModal .service-modal-content button{
  min-height:38px;
  padding:8px 16px;
}

#serviceModal .service-close-btn{
  background:#303846;
  color:#fff;
}

#serviceModal .service-close-btn:hover{
  background:#3a4353;
}

@media (max-width: 640px) {
  #serviceModal.service-modal-overlay{
    padding: 12px;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
  }

  #serviceModal .service-modal-content{
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 18px !important;
    border-radius: 14px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  #serviceModal .service-modal-content input,
  #serviceModal .service-modal-content textarea,
  #serviceModal .service-modal-content select{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  #serviceModal .service-modal-content textarea{
    height: 64px;
    min-height: 64px;
  }

  #serviceModal .service-modal-content .form-group{
    margin-bottom: 10px;
  }

  #serviceModal .service-modal-content .form-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }

  #serviceModal .service-modal-content .form-actions button{
    flex:1;
    min-width:110px;
  }
}

.public-booking-page{
background:radial-gradient(circle at top left,rgba(249,115,22,.18),transparent 26%),linear-gradient(135deg,#07101b,#0b1320 45%,#05070d);
color:#fff;
min-height:100vh;
}

.public-booking-shell{
max-width:1280px;
margin:0 auto;
padding:24px 20px 30px;
}

.public-topbar{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
padding:16px 0 28px;
}

.public-company-brand{
display:inline-flex;
align-items:center;
gap:14px;
min-width:0;
text-decoration:none;
color:#f8fafc;
}

.public-company-logo-frame{
width:76px;
height:76px;
display:grid;
place-items:center;
flex:0 0 auto;
padding:8px;
overflow:hidden;
border-radius:18px;
background:#fff;
border:1px solid rgba(255,116,23,.45);
box-shadow:0 10px 30px rgba(0,0,0,.28),0 0 0 3px rgba(255,116,23,.08);
}

.public-company-logo{
display:block;
width:100%;
height:100%;
object-fit:contain;
object-position:center;
}

.public-company-logo-fallback{
width:100%;
height:100%;
display:grid;
place-items:center;
border-radius:12px;
background:linear-gradient(135deg,#ff7417,#c34d00);
color:#111827;
font-size:30px;
font-weight:800;
}

.public-company-brand-text{
display:grid;
gap:4px;
min-width:0;
}

.public-company-brand-text strong{
font-size:20px;
line-height:1.15;
font-weight:800;
color:#f8fafc;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
max-width:280px;
}

.public-company-brand-text span{
font-size:12px;
color:#94a3b8;
}

.booking-success-popup {
width: min(94vw, 580px) !important;
padding: 28px 30px 30px !important;
border: 1px solid rgba(148, 163, 184, .18) !important;
border-radius: 22px !important;
background: linear-gradient(160deg, #111827 0%, #0f172a 100%) !important;
box-shadow: 0 30px 80px rgba(0, 0, 0, .55) !important;
color: #f8fafc !important;
}

.booking-success-swal-icon {
margin: 2px auto 18px !important;
}

.booking-success-title {
margin: 0 !important;
padding: 0 !important;
color: #f8fafc !important;
font-size: 30px !important;
font-weight: 800 !important;
line-height: 1.2 !important;
}

.booking-success-popup .swal2-html-container {
margin: 14px 0 0 !important;
padding: 0 !important;
color: #cbd5e1 !important;
text-align: left !important;
}

.booking-success {
display: grid;
gap: 10px;
margin-top: 22px;
text-align: left;
}

.booking-success-code {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
padding: 14px 16px;
border: 1px solid rgba(148, 163, 184, .16);
border-radius: 14px;
background: rgba(2, 6, 23, .42);
text-align: left;
}

.booking-success-code span:not(.booking-success-code__icon) {
display: block;
color: #94a3b8;
font-size: 13px;
}

.booking-success-code strong {
display: block;
margin-top: 2px;
color: #ff7417;
font-size: 20px;
letter-spacing: .02em;
}

.booking-success-code__icon,
.booking-success-item__icon {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 34px;
height: 34px;
color: #ff7417;
font-size: 24px;
line-height: 1;
}

.booking-success-item {
display: flex;
align-items: center;
gap: 14px;
min-height: 72px;
padding: 14px 16px;
border: 1px solid rgba(148, 163, 184, .16);
border-radius: 14px;
background: rgba(30, 41, 59, .62);
}

.booking-success-item > div {
min-width: 0;
}

.booking-success-item__label {
display: block;
margin-bottom: 3px;
color: #94a3b8;
font-size: 13px;
line-height: 1.2;
}

.booking-success-item strong {
display: block;
color: #f8fafc;
font-size: 17px;
font-weight: 700;
line-height: 1.3;
overflow-wrap: anywhere;
}

.booking-success-item--services {
align-items: flex-start;
}

.booking-success-services {
margin: 6px 0 0;
padding-left: 18px;
color: #f8fafc;
}

.booking-success-services li {
margin: 3px 0;
line-height: 1.35;
}

.booking-success-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}

.booking-success-time {
color: #ff7417 !important;
font-size: 20px !important;
}

.booking-success-note {
display: flex;
align-items: flex-start;
gap: 12px;
margin-top: 8px;
padding: 14px 16px;
border: 1px solid rgba(34, 197, 94, .22);
border-radius: 14px;
background: rgba(34, 197, 94, .06);
}

.booking-success-note > span {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 26px;
height: 26px;
border: 2px solid #22c55e;
border-radius: 50%;
color: #22c55e;
font-size: 14px;
font-weight: 800;
}

.booking-success-note p {
margin: 0;
color: #e2e8f0;
font-size: 13px;
line-height: 1.45;
}

.booking-success-confirm {
width: 100%;
margin-top: 18px !important;
padding: 14px 22px !important;
border: 0 !important;
border-radius: 10px !important;
background: linear-gradient(135deg, #ff8a1f, #ff6410) !important;
color: #fff !important;
font-size: 16px !important;
font-weight: 800 !important;
cursor: pointer !important;
transition: transform .18s ease, filter .18s ease;
}

.booking-success-confirm:hover {
filter: brightness(1.06);
transform: translateY(-1px);
}

.booking-success-confirm:focus-visible {
outline: 3px solid rgba(255, 116, 23, .35);
outline-offset: 3px;
}

.public-brand{
display:flex;
align-items:center;
gap:12px;
}

.brand-mark{
width:46px;
height:46px;
border-radius:16px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#ff7a1a,#7c2d12);
box-shadow:0 12px 30px rgba(255,122,26,.22);
font-size:22px;
}

.public-brand strong{
display:block;
font-size:18px;
}

.public-brand span{
display:block;
font-size:13px;
color:#9fb0c5;
}

.public-nav{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
color:#dbe7f5;
}

.public-nav a{
padding:8px 2px;
color:#dbe7f5;
}

.public-nav a.active,
.public-nav a:hover{
color:#ffb47a;
}

.public-login-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:11px 16px;
border-radius:12px;
background:#ff7a1a;
color:#111827;
font-weight:800;
}

.public-hero{
max-width:820px;
padding:22px 0 24px;
}

.public-hero small{
color:#ffb47a;
letter-spacing:.18em;
font-weight:800;
text-transform:uppercase;
}

.public-hero h1{
margin:10px 0 10px;
font-size:54px;
line-height:1.05;
letter-spacing:-.04em;
}

.public-hero p{
max-width:760px;
margin:0;
font-size:18px;
line-height:1.7;
color:#cbd5e1;
}

.public-stepper{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:22px;
}

.public-stepper span{
padding:8px 12px;
border-radius:999px;
border:1px solid rgba(255,255,255,.10);
background:rgba(255,255,255,.04);
color:#cbd5e1;
font-size:13px;
font-weight:700;
}

.public-stepper .active{
background:rgba(255,122,26,.16);
border-color:rgba(255,122,26,.26);
color:#ffcfad;
}

.public-layout{
display:grid;
grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);
gap:18px;
align-items:start;
margin-top:12px;
}

.public-main,
.public-summary{
display:grid;
gap:18px;
}

.public-panel{
background:rgba(10,16,27,.9);
border:1px solid rgba(255,255,255,.08);
border-radius:18px;
box-shadow:0 18px 48px rgba(0,0,0,.24);
padding:18px;
backdrop-filter:blur(10px);
}

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

.panel-head h3{
margin:0;
font-size:22px;
}

.panel-head p{
margin:4px 0 0;
color:#94a3b8;
}

.cards-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:12px;
}

.booking-card{
text-align:left;
border:1px solid rgba(255,255,255,.08);
background:rgba(255,255,255,.04);
color:#fff;
border-radius:16px;
padding:14px;
display:grid;
gap:8px;
cursor:pointer;
transition:.2s ease;
}

.booking-card:hover{
transform:translateY(-2px);
border-color:rgba(255,122,26,.24);
}

.booking-card.is-selected{
background:rgba(255,122,26,.14);
border-color:rgba(255,122,26,.34);
}

.booking-card strong{
font-size:16px;
}

.booking-card small,
.booking-card span,
.booking-card b{
color:#cbd5e1;
}

.booking-card-icon,
.booking-card-avatar{
width:42px;
height:42px;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
background:rgba(255,122,26,.12);
font-size:20px;
}

.booking-status.ok{
display:inline-flex;
width:max-content;
padding:5px 10px;
border-radius:999px;
background:rgba(34,197,94,.14);
color:#86efac;
font-size:12px;
font-weight:800;
}

.booking-grid{
display:grid;
grid-template-columns:1fr auto;
gap:12px;
align-items:end;
}

.booking-message,
.public-message{
margin-top:10px;
color:#94a3b8;
font-size:14px;
}

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

.time-card{
border:1px solid rgba(255,255,255,.08);
background:rgba(255,255,255,.05);
color:#fff;
border-radius:14px;
padding:12px;
font-weight:700;
cursor:pointer;
}

.time-card.is-selected{
background:#ff7a1a;
color:#111827;
border-color:#ff7a1a;
}

.payment-details-box{
margin-top:12px;
padding:16px;
border:1px solid rgba(255,122,26,.24);
border-radius:14px;
background:rgba(255,122,26,.08);
}

.payment-details-box[hidden]{
display:none !important;
}

.public-submit{
width:100%;
margin-top:10px;
}

.summary-list{
display:grid;
gap:12px;
}

.summary-list div{
display:grid;
gap:4px;
padding:12px 14px;
border:1px solid rgba(255,255,255,.08);
border-radius:14px;
background:rgba(255,255,255,.03);
}

.summary-list span{
color:#94a3b8;
font-size:12px;
text-transform:uppercase;
letter-spacing:.08em;
}

.summary-list strong{
color:#fff;
font-size:15px;
}

.public-info-card h3{
margin:0 0 8px;
}

.public-info-card p{
margin:0;
color:#cbd5e1;
line-height:1.6;
}

.public-footer{
display:flex;
justify-content:space-between;
align-items:center;
gap:16px;
flex-wrap:wrap;
padding:26px 2px 6px;
color:#9fb0c5;
}

.public-socials{
font-weight:700;
}

@media (max-width: 1100px){
  .public-layout{
    grid-template-columns:1fr;
  }
  .public-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 900px){
  .public-topbar{
    flex-wrap:wrap;
  }
  .public-nav{
    order:3;
    width:100%;
    gap:12px;
  }
  .public-hero h1{
    font-size:38px;
  }
  .public-company-logo{
    width:58px;
    height:58px;
  }
  .public-company-logo-fallback{
    width:100%;
    height:100%;
    font-size:26px;
  }
  .public-company-logo-frame{
    width:58px;
    height:58px;
    padding:6px;
    border-radius:14px;
  }
  .public-company-brand-text strong{
    font-size:16px;
    max-width:170px;
  }
  .public-company-brand-text span{
    font-size:11px;
  }
  .times-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 600px) {
  .booking-success-popup {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    padding: 22px 16px 18px !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }

  .booking-success-title {
    font-size: 24px !important;
  }

  .booking-success-grid {
    grid-template-columns: 1fr;
  }

  .booking-success-item {
    min-height: 66px;
    padding: 12px 13px;
  }

  .booking-success-code {
    justify-content: flex-start;
  }

  .booking-success-confirm {
    position: sticky;
    bottom: 0;
    z-index: 2;
  }
}

@media (max-width: 640px){
  .public-booking-shell{
    padding:18px 14px 24px;
  }
  .public-hero h1{
    font-size:30px;
  }
  .public-hero p{
    font-size:16px;
  }
  .public-summary{
    grid-template-columns:1fr;
  }
  .booking-grid{
    grid-template-columns:1fr;
  }
  .times-grid{
    grid-template-columns:1fr;
  }
}

.dashboard-hero{margin-bottom:18px}
.dashboard-hero h1{margin:0;font-size:34px;letter-spacing:-.03em}
.dashboard-hero p{margin:6px 0 0;color:#cbd5e1;font-size:15px}
.main-content{position:relative}
.top-user-card{
position:absolute;
top:28px;
right:32px;
display:flex;
align-items:center;
gap:12px;
padding:14px 18px;
border-radius:999px;
background:rgba(255,255,255,.06);
border:1px solid rgba(255,255,255,.10);
color:#fff;
z-index:2;
}
.top-user-avatar{
width:42px;
height:42px;
border-radius:50%;
background:#f59e0b;
color:#111827;
display:flex;
align-items:center;
justify-content:center;
font-weight:800;
}
.top-user-info strong{
display:block;
font-size:15px;
}
.top-user-info span{
display:block;
font-size:13px;
color:#9fb0c5;
}
.metric-card{display:flex;flex-direction:column;gap:8px;min-height:120px}
.metric-label{color:var(--muted);font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.metric-value{font-size:30px;font-weight:800;line-height:1.1}
.dashboard-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:18px;margin-top:18px}
.dashboard-grid-bottom{grid-template-columns:1fr 1fr}
.dashboard-panel{padding:18px}
.dashboard-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}
.dashboard-panel-head h3{margin:0;font-size:20px}
.dashboard-panel-head p{margin:4px 0 0;color:#94a3b8;font-size:13px}
.dashboard-link{color:#ffb47a;font-weight:700;font-size:14px}
.dashboard-table thead th{padding-top:10px;padding-bottom:10px}
.dashboard-table td,.dashboard-table th{font-size:14px}
.dashboard-list{display:grid;gap:12px}
.dashboard-stat-row{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.03)}
.dashboard-stat-row span{color:#cbd5e1}
.dashboard-stat-row strong{color:#fff;font-size:15px}
@media(max-width:1000px){.dashboard-grid,.dashboard-grid-bottom{grid-template-columns:1fr}}
@media(max-width:640px){.dashboard-hero h1{font-size:28px}.metric-value{font-size:26px}.dashboard-panel{padding:16px}.dashboard-panel-head{flex-direction:column}.dashboard-link{align-self:flex-start}}
@media (max-width:900px){
  .top-user-card{
    position:static;
    margin:0 0 18px auto;
    width:fit-content;
  }
}

.appointments-header{margin-bottom:18px}
.appointments-header h1{margin:0;font-size:34px;letter-spacing:-.03em}
.appointments-header p{margin:6px 0 0;color:#cbd5e1;font-size:15px}
.appointments-toolbar{margin-bottom:18px}
.appointments-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}
.appointments-filters label{display:block;margin:0 0 8px;color:#cbd5e1;font-size:13px;font-weight:600}
.appointments-toolbar-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.appointments-toolbar-actions .btn{min-height:44px}
.appointments-kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
.kanban-column{padding:16px;display:flex;flex-direction:column;min-height:320px}
.kanban-column-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.kanban-column-head h3{margin:0;font-size:18px}
.kanban-column-body{display:grid;gap:12px}
.appointment-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px;display:grid;gap:8px}
.appointment-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.appointment-card-top strong{color:#fff;font-size:14px;line-height:1.3}
.appointment-card p{margin:0;color:#dbe7f5;font-size:13px;line-height:1.5}
.appointment-card small{color:#94a3b8;display:block}
.appointment-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.appointment-card-actions .btn{min-height:38px;padding:8px 12px;font-size:13px}
.appointments-table-card{margin-top:6px}
.appointments-table-card h3{margin:0 0 4px;font-size:20px}
.appointments-table-card p{margin:0;color:#94a3b8;font-size:13px}
.appointments-table td,.appointments-table th{font-size:14px}
.appointments-modal-card{max-width:720px;margin:40px auto}
.appointments-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.appointments-modal-actions .btn{min-height:42px}
@media(max-width:1000px){
  .appointments-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .appointments-kanban{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .appointments-header h1{font-size:28px}
  .appointments-filters{grid-template-columns:1fr}
  .appointments-kanban{grid-template-columns:1fr}
  .kanban-column{min-height:unset}
}

select,
.form-select{
  background:#232b3b;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}

select:focus,
.form-select:focus{
  background:#232b3b;
  color:#fff;
  border-color:#ff7a1a;
  box-shadow:0 0 0 .2rem rgba(255,122,26,.18);
}

select option{
  background:#232b3b;
  color:#fff;
}

select option:hover{
  background:#ff7a1a;
  color:#fff;
}

select option:checked{
  background:#ff7a1a;
  color:#fff;
}

optgroup{
  background:#232b3b;
  color:#cfd8e3;
}

.services-header{
display:flex;
justify-content:space-between;
align-items:center;
gap:16px;
margin-bottom:18px;
flex-wrap:wrap;
position:relative;
z-index:1;
}

.services-header h1{
margin:0;
font-size:34px;
letter-spacing:-.03em;
}

.services-header p{
margin:6px 0 0;
color:#cbd5e1;
font-size:15px;
}

.services-summary{
display:grid;
grid-template-columns:repeat(1,minmax(0,1fr));
gap:16px;
margin-bottom:18px;
max-width:260px;
}

.services-summary-card{
padding:18px;
}

.services-summary-card h3{
margin:0 0 8px;
font-size:14px;
color:#94a3b8;
text-transform:uppercase;
letter-spacing:.08em;
}

.services-card{
padding:0;
overflow:hidden;
}

.services-table-wrap{
overflow-x:auto;
}

.services-table{
min-width:720px;
}

.services-table thead th{
background:rgba(255,255,255,.03);
padding:16px 18px;
font-size:13px;
text-transform:uppercase;
letter-spacing:.06em;
}

.services-table td{
padding:16px 18px;
vertical-align:middle;
}

.services-table tbody tr:hover{
background:rgba(255,255,255,.03);
}

.service-name-cell{
font-weight:700;
color:#fff;
}

.status-badge{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:32px;
padding:6px 12px;
border-radius:999px;
font-size:12px;
font-weight:700;
}

.status-badge.is-active{
background:rgba(34,197,94,.14);
color:#86efac;
border:1px solid rgba(34,197,94,.24);
}

.status-badge.is-inactive{
background:rgba(148,163,184,.14);
color:#cbd5e1;
border:1px solid rgba(148,163,184,.24);
}

.services-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.services-actions .btn{
min-height:40px;
padding:9px 14px;
}

.services-new-button{
  margin-left:auto;
  white-space:nowrap;
}

.page-summary-actions {
  width: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0 18px;
}

.page-summary-actions .services-summary {
  margin-bottom: 0;
  max-width: 100%;
  flex: 0 0 auto;
}

.page-summary-actions .page-primary-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.page-summary-actions .page-primary-action .btn {
  white-space: nowrap;
}

.page-summary-actions .services-summary-card,
.services-summary-card {
  width: 260px;
  max-width: 100%;
  min-height: 100px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.page-summary-actions .services-summary-card h3,
.services-summary-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-summary-actions .services-summary-card .metric,
.services-summary-card .metric {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.page-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.page-header h1{
  margin:0;
  font-size:34px;
  letter-spacing:-.03em;
}

.page-header p{
  margin:6px 0 0;
  color:#cbd5e1;
  font-size:15px;
}

.page-header-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  padding-top:10px;
}

@media (max-width: 1000px){
  .services-summary{
    max-width:100%;
    grid-template-columns:repeat(1,minmax(0,1fr));
  }
}

@media (max-width: 640px){
  .services-header{
    flex-direction:column;
    align-items:flex-start;
  }
  .services-new-button{
    margin-left:0;
    width:100%;
    max-width:260px;
  }
  .services-table{
    min-width:760px;
  }
  .services-actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 700px) {
  .page-summary-actions {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .page-summary-actions .services-summary-card,
  .services-summary-card {
    width: 100%;
  }

  .page-summary-actions .page-primary-action {
    width: 100%;
    margin-left: 0;
  }

  .page-summary-actions .page-primary-action .btn {
    width:100%;
    justify-content:center;
  }

  .onboarding-checklist-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-actions {
    flex-direction: column;
  }

  .onboarding-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px){
  .page-header{
    flex-direction:column;
  }
  .onboarding-public-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-qr-wrap img,
  .onboarding-qr-wrap svg,
  .onboarding-qr-wrap canvas {
    width: 160px !important;
    height: 160px !important;
  }
}

@media (max-width: 1200px) {
  .onboarding-checklist-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .onboarding-header {
    padding-right: 0;
  }
}

.clients-header{
margin-bottom:18px;
}

.clients-header h1{
margin:0;
font-size:34px;
letter-spacing:-.03em;
}

.clients-header p{
margin:6px 0 0;
color:#cbd5e1;
font-size:15px;
}

.clients-card{
background:linear-gradient(135deg, rgba(21,26,35,.96), rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:24px;
}

.clients-card-header{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
margin-bottom:22px;
}

.clients-card-header h3{
margin:0;
font-size:20px;
}

.clients-count{
display:inline-flex;
gap:6px;
margin-top:6px;
color:#9fb7d7;
font-size:13px;
}

.clients-count strong{
color:#fff;
}

.clients-table-wrapper{
width:100%;
overflow-x:auto;
}

.clients-table{
width:100%;
border-collapse:collapse;
min-width:850px;
}

.clients-table th{
color:#9fb7d7;
font-size:13px;
text-align:left;
padding:14px 12px;
border-bottom:1px solid rgba(255,255,255,.10);
}

.clients-table td{
color:#fff;
padding:18px 12px;
border-bottom:1px solid rgba(255,255,255,.07);
vertical-align:top;
}

.clients-table tr:hover{
background:rgba(255,255,255,.03);
}

.fidelity-badge{
display:inline-flex;
align-items:center;
padding:7px 11px;
border-radius:999px;
font-size:12px;
font-weight:700;
background:rgba(34,197,94,.14);
color:#4ade80;
border:1px solid rgba(34,197,94,.22);
}

.fidelity-badge.reward{
background:rgba(255,116,23,.14);
color:#ffb47a;
border-color:rgba(255,116,23,.28);
}

.clients-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.clients-actions .btn{
min-height:40px;
padding:9px 14px;
}

.btn-primary-orange{
background:#ff7417;
color:#111827;
border:0;
border-radius:12px;
padding:12px 18px;
font-weight:800;
cursor:pointer;
}

.clients-history{
margin-top:18px;
}

@media (max-width:640px){
  .clients-card{
    padding:16px;
  }
  .clients-card-header{
    flex-direction:column;
    align-items:stretch;
  }
  .btn-primary-orange{
    width:100%;
    justify-content:center;
  }
}

.barbers-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:18px;
}

.barber-card{
padding:18px;
display:flex;
flex-direction:column;
gap:14px;
}

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

.barber-card-head h3{
margin:0;
font-size:18px;
}

.barber-card-head p{
margin:6px 0 0;
color:#94a3b8;
font-size:13px;
}

.barber-card-meta small{
color:#cbd5e1;
}

.barber-actions{
margin-top:auto;
}

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

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

.finance-header h1{
margin-bottom:8px;
}

.finance-summary-cards{
margin-top:24px;
}

.finance-summary-card{
border-radius:18px;
background:linear-gradient(180deg,rgba(21,26,35,.98),rgba(18,24,38,.94));
}

.finance-summary-card .metric{
font-size:30px;
font-weight:800;
margin:10px 0 8px;
}

.finance-summary-card p,
.finance-card-header p{
color:#9fb0c5;
margin:0;
}

.finance-blocks{
display:grid;
gap:24px;
margin-top:24px;
}

.finance-card,
.finance-agenda-card{
border-radius:18px;
background:linear-gradient(180deg,rgba(21,26,35,.98),rgba(18,24,38,.94));
border:1px solid rgba(255,255,255,.10);
}

.finance-card-header{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
margin-bottom:18px;
}

.finance-card-header h3{
margin:0 0 6px;
}

.finance-filters{
grid-template-columns:repeat(3,minmax(0,1fr));
align-items:end;
}

.finance-filter-actions{
display:flex;
gap:12px;
align-items:end;
flex-wrap:wrap;
}

.finance-method-list{
gap:12px;
}

.finance-method-row{
padding:14px 16px;
border-radius:14px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.06);
}

.finance-table-wrap{
overflow-x:auto;
}

.finance-table{
min-width:980px;
}

.finance-table .badge{
display:inline-flex;
align-items:center;
padding:6px 10px;
border-radius:999px;
font-size:12px;
font-weight:700;
}

.finance-table .badge-info{
background:rgba(59,130,246,.14);
color:#93c5fd;
}

.finance-table .badge-success{
background:rgba(34,197,94,.14);
color:#86efac;
}

.finance-table .badge-warning{
background:rgba(245,158,11,.14);
color:#fcd34d;
}

.finance-table .badge-danger{
background:rgba(239,68,68,.14);
color:#fca5a5;
}

.finance-inline-form{
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
}

@media (max-width: 900px){
  .finance-filters{
    grid-template-columns:1fr;
  }

  .finance-card-header{
    flex-direction:column;
  }

  .finance-inline-form{
    flex-direction:column;
    align-items:stretch;
  }
}

.report-header{
margin-bottom:22px;
}

.report-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.report-filter-card{
background:linear-gradient(135deg,rgba(21,26,35,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:22px;
margin-bottom:24px;
}

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

.report-card-head h3{
margin:0 0 6px;
font-size:18px;
color:#fff;
}

.report-card-head p{
margin:0;
color:#9fb0c5;
}

.report-filters{
grid-template-columns:repeat(3,minmax(0,1fr));
align-items:end;
}

.report-filter-actions{
display:flex;
gap:12px;
align-items:end;
flex-wrap:wrap;
}

.report-kpis{
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:18px;
margin-bottom:24px;
}

.report-kpi-card{
background:linear-gradient(135deg,rgba(21,26,35,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:22px;
}

.report-kpi-card h3{
margin:0 0 10px;
font-size:16px;
color:#cbd5e1;
}

.report-kpi-card .metric{
font-size:30px;
font-weight:800;
color:#ffb47a;
margin-bottom:8px;
}

.report-kpi-card p{
margin:0;
color:#9fb0c5;
}

.report-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:18px;
}

.report-card{
background:linear-gradient(135deg,rgba(21,26,35,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:22px;
}

.report-list{
display:grid;
gap:10px;
}

.report-list-item{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
padding:12px 14px;
border-radius:12px;
background:rgba(255,255,255,.035);
border:1px solid rgba(255,255,255,.06);
}

.report-value{
font-weight:800;
color:#ff7417;
}

.report-status-card .pill{
background:rgba(255,116,23,.12);
color:#ffb47a;
}

.settings-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:18px;
align-items:start;
}

.settings-card{
background:linear-gradient(135deg,rgba(21,26,35,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:22px;
}

.settings-card .report-card-head{
margin-bottom:18px;
}

.settings-form-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:14px;
}

.settings-form-grid label{
display:block;
color:#cbd5e1;
font-weight:600;
}

.settings-file{
grid-column:1 / -1;
}

.settings-logo-preview{
grid-column:1 / -1;
padding:16px;
border-radius:14px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.06);
}

.settings-logo-preview strong{
display:block;
margin-bottom:10px;
}

.settings-logo-box img{
max-height:82px;
display:block;
}

.company-logo-preview{
grid-column:1 / -1;
display:flex;
align-items:center;
justify-content:flex-start;
min-height:96px;
padding:16px;
border:1px solid rgba(148,163,184,.18);
border-radius:14px;
background:#111827;
}

.company-logo-preview__image{
display:block;
width:auto;
max-width:220px;
height:72px;
object-fit:contain;
}

.company-logo-preview--empty{
color:#94a3b8;
}

.settings-hours-card{
grid-column:1 / -1;
}

.settings-table-wrap{
overflow-x:auto;
}

.opening-hours-table{
width:100%;
border-collapse:collapse;
min-width:920px;
}

.opening-hours-table th{
text-align:left;
color:#9fb0c5;
font-size:13px;
padding:12px 10px;
border-bottom:1px solid rgba(255,255,255,.08);
}

.opening-hours-table td{
padding:12px 10px;
border-bottom:1px solid rgba(255,255,255,.06);
vertical-align:middle;
}

.settings-checkbox{
display:flex;
align-items:center;
gap:8px;
white-space:nowrap;
}

.settings-actions{
grid-column:1 / -1;
display:flex;
justify-content:flex-end;
}

.btn-primary-orange{
background:#ff7417;
color:#111827;
border:0;
border-radius:12px;
padding:12px 18px;
font-weight:800;
cursor:pointer;
}

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

  .settings-form-grid{
    grid-template-columns:1fr;
  }

  .settings-actions{
    justify-content:stretch;
  }

  .settings-actions .btn-primary-orange{
    width:100%;
    justify-content:center;
  }
}

@media (max-width: 640px){
  .settings-card{
    padding:18px;
  }

.settings-actions .btn-primary-orange{
    width:100%;
  }
}

.fidelity-header{
margin-bottom:22px;
}

.fidelity-summary-grid{
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:18px;
margin-bottom:24px;
}

.fidelity-summary-card{
display:flex;
align-items:flex-start;
gap:14px;
background:linear-gradient(135deg,rgba(21,26,35,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:20px;
transition:transform .18s ease,border-color .18s ease;
}

.fidelity-summary-card:hover{
transform:translateY(-2px);
border-color:rgba(255,116,23,.35);
}

.fidelity-summary-icon{
width:48px;
height:48px;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
background:rgba(255,116,23,.14);
color:#ffb47a;
font-size:20px;
flex:0 0 auto;
}

.fidelity-summary-card h3{
margin:0 0 8px;
font-size:15px;
color:#cbd5e1;
}

.fidelity-summary-card .metric{
font-size:28px;
font-weight:800;
color:#fff;
line-height:1.1;
margin-bottom:6px;
}

.fidelity-summary-card p{
margin:0;
color:#9fb0c5;
font-size:13px;
}

.fidelity-layout{
display:grid;
grid-template-columns:0.42fr 0.58fr;
gap:18px;
align-items:start;
}

.fidelity-card{
background:linear-gradient(135deg,rgba(21,26,35,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:22px;
}

.fidelity-form{
display:grid;
gap:16px;
}

.fidelity-switch{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
padding:14px 16px;
border-radius:14px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.06);
font-weight:600;
color:#e2e8f0;
}

.fidelity-switch input{
width:20px;
height:20px;
accent-color:#ff7417;
}

.fidelity-form-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.fidelity-description-box{
grid-column:1 / -1;
padding:16px;
border-radius:14px;
background:rgba(255,116,23,.08);
border:1px solid rgba(255,116,23,.14);
color:#dbe7f5;
}

.fidelity-description-box strong{
display:block;
margin-bottom:8px;
}

.fidelity-description-box p{
margin:0;
color:#f8fafc;
line-height:1.6;
}

.fidelity-actions{
justify-content:flex-end;
}

.fidelity-history-list{
display:grid;
gap:12px;
}

.fidelity-history-item{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
padding:14px 16px;
border-radius:14px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.06);
}

.fidelity-history-main{
display:grid;
gap:4px;
}

.fidelity-history-main strong{
color:#fff;
}

.fidelity-history-main span,
.fidelity-history-date,
.fidelity-client-sub{
color:#9fb0c5;
font-size:13px;
}

.fidelity-history-meta{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
justify-content:flex-end;
text-align:right;
}

.fidelity-progress{
min-width:160px;
}

.fidelity-progress-label{
color:#9fb0c5;
display:block;
margin-top:6px;
}

.fidelity-table-wrap{
overflow-x:auto;
}

.fidelity-table{
min-width:860px;
}

.fidelity-search-bar{
display:flex;
gap:12px;
align-items:center;
margin-bottom:18px;
flex-wrap:wrap;
}

.fidelity-search-input{
max-width:320px;
}

.fidelity-pagination{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
margin-top:18px;
padding-top:16px;
border-top:1px solid rgba(255,255,255,.08);
}

.fidelity-page-info{
color:#9fb0c5;
font-size:13px;
}

.fidelity-page-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.fidelity-page-actions .btn.disabled{
pointer-events:none;
opacity:.45;
}

@media (max-width: 900px){
  .fidelity-layout{
    grid-template-columns:1fr;
  }

  .fidelity-form-grid{
    grid-template-columns:1fr;
  }

  .fidelity-actions{
    justify-content:stretch;
  }

  .fidelity-actions .btn-primary-orange{
    width:100%;
  }
}

@media (max-width: 640px){
  .fidelity-summary-card,
  .fidelity-history-item{
    flex-direction:column;
  }

  .fidelity-history-meta{
    justify-content:flex-start;
    text-align:left;
  }

  .fidelity-pagination{
    flex-direction:column;
    align-items:flex-start;
  }

  .fidelity-search-input{
    max-width:100%;
    width:100%;
  }
}

.public-queue-page{
min-height:100dvh;
background:radial-gradient(circle at top left,rgba(255,116,23,.08),transparent 32%),linear-gradient(135deg,#070d16,#111827);
color:#fff;
padding:32px;
overflow-x:hidden;
}

.queue-shell{
width:min(1180px,100%);
margin:0 auto;
background:linear-gradient(135deg,rgba(17,24,39,.96),rgba(24,24,27,.92));
border:1px solid rgba(255,255,255,.10);
border-radius:22px;
padding:28px;
box-shadow:0 24px 70px rgba(0,0,0,.35);
}

.queue-header{
display:flex;
justify-content:space-between;
gap:16px;
align-items:flex-start;
margin-bottom:26px;
}

.queue-back-btn{
margin-bottom:12px;
}

.queue-live-status{
display:inline-flex;
align-items:center;
gap:8px;
margin-top:10px;
padding:8px 12px;
border-radius:999px;
background:rgba(34,197,94,.12);
color:#4ade80;
font-weight:700;
}

.queue-chip{
display:inline-flex;
padding:8px 12px;
border-radius:999px;
background:rgba(255,116,23,.12);
color:#ffb47a;
font-weight:800;
}

.queue-live-dot{
width:10px;
height:10px;
background:#22c55e;
border-radius:50%;
display:inline-block;
}

.queue-stats{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:18px;
margin-bottom:22px;
}

.queue-stat-card,
.queue-notice,
.queue-table-card{
background:rgba(15,23,42,.78);
border:1px solid rgba(255,255,255,.10);
border-radius:18px;
padding:20px;
}

.queue-stat-label{
display:block;
color:#9fb0c5;
font-size:13px;
margin-bottom:8px;
}

.queue-stat-value{
font-size:32px;
font-weight:900;
line-height:1.1;
margin-bottom:6px;
}

.queue-stat-sub{
color:#9fb0c5;
}

.queue-notice{
margin-bottom:22px;
}

.queue-notice strong{
display:block;
margin-bottom:8px;
}

.queue-notice p{
margin:0;
color:#cbd5e1;
}

.queue-table-head{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:16px;
margin-bottom:18px;
}

.queue-table-head h3{
margin:0 0 6px;
}

.queue-table-head p{
margin:0;
color:#9fb0c5;
}

.queue-search{
width:280px;
max-width:100%;
background:#111827;
color:#fff;
border:1px solid rgba(255,255,255,.10);
border-radius:12px;
padding:12px 14px;
}

.queue-table-wrapper{
overflow-x:auto;
}

.queue-table{
width:100%;
border-collapse:collapse;
min-width:820px;
}

.queue-table th,
.queue-table td{
padding:15px 12px;
border-bottom:1px solid rgba(255,255,255,.08);
text-align:left;
vertical-align:top;
}

.queue-table th{
color:#9fb0c5;
font-size:13px;
font-weight:700;
}

.queue-table-sub{
color:#9fb0c5;
font-size:12px;
margin-top:4px;
}

.queue-badge{
display:inline-flex;
padding:6px 10px;
border-radius:999px;
font-size:12px;
font-weight:800;
}

.queue-badge.success{
background:rgba(34,197,94,.16);
color:#4ade80;
}

.queue-badge.warning{
background:rgba(245,158,11,.16);
color:#fbbf24;
}

.queue-badge.info{
background:rgba(59,130,246,.16);
color:#93c5fd;
}

@media (max-width: 900px){
  .public-queue-page{
    padding:16px;
  }

  .queue-shell{
    padding:18px;
  }

  .queue-header{
    flex-direction:column;
  }

  .queue-stats{
    grid-template-columns:1fr;
  }

  .queue-table-head{
    flex-direction:column;
  }

  .queue-search{
    width:100%;
  }
}

@media (max-width: 640px){
  .queue-table{
    min-width: 0;
  }

  .queue-table th,
  .queue-table td{
    padding: 12px 10px;
  }

  .queue-table thead th:nth-child(4),
  .queue-table thead th:nth-child(5),
  .queue-table tbody td:nth-child(4),
  .queue-table tbody td:nth-child(5){
    white-space: nowrap;
    font-size: 12px;
  }

  .queue-table tbody td:nth-child(2) strong{
    display:block;
    max-width: 160px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .queue-table .queue-badge{
    white-space:nowrap;
  }
}

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

  .report-filters{
    grid-template-columns:1fr;
  }

  .report-card-head{
    flex-direction:column;
  }
}
/* Modal de reagendamento - visual refinado */
#rescheduleModal .appointments-modal-card {
  width: min(100%, 720px);
  padding: 28px !important;
  background: #111827 !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 22px !important;
}

#rescheduleModal h3 {
  font-size: 24px;
  margin: 0 0 18px;
}

#rescheduleModal .appointments-reschedule-summary {
  background: rgba(249, 115, 22, 0.10) !important;
  border: 1px solid rgba(249, 115, 22, 0.28) !important;
  color: #fed7aa !important;
  padding: 14px 16px !important;
  border-radius: 14px;
  margin-bottom: 18px;
}

#rescheduleModal .appointments-reschedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#rescheduleModal .appointments-reschedule-box {
  background: #182235 !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  gap: 8px;
}

#rescheduleModal .appointments-reschedule-box strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fafc !important;
  font-size: 14px;
}

#rescheduleModal .appointments-reschedule-current,
#rescheduleModal .appointments-reschedule-preview,
#rescheduleModal .appointments-reschedule-slots {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #cbd5e1 !important;
}

#rescheduleModal input[type="date"] {
  height: 46px;
  margin: 0;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 12px;
}

#rescheduleModal .appointments-modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Login BarberPro — estilos isolados */
.auth-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 12% 12%,rgba(249,115,22,.12),transparent 32%),linear-gradient(135deg,#070a10,#101827 48%,#1c1208)}
.auth-page .auth-card{width:min(1200px,94vw);min-height:min(680px,calc(100dvh - 64px));display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:28px;border:1px solid rgba(255,255,255,.1);background:#0f172a;box-shadow:0 24px 70px rgba(0,0,0,.42)}
.auth-page .auth-brand-panel{display:flex;flex-direction:column;padding:56px;background:radial-gradient(circle at top left,rgba(249,115,22,.38),transparent 42%),linear-gradient(145deg,#151c29,#090d14)}
.auth-page .auth-brand{display:flex;align-items:center;gap:14px}.auth-page .auth-brand h1{margin:0;font-size:20px;line-height:1.2}.auth-page .auth-brand span{display:block;margin-top:4px;color:#b7c3d4;font-size:13px}.auth-page .auth-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--brand),#9a3412);font-size:23px;box-shadow:0 10px 28px rgba(249,115,22,.24)}
.auth-page .auth-intro{max-width:560px;margin:72px 0 48px}.auth-page .auth-intro h1{max-width:500px;margin:0 0 24px;font-size:clamp(40px,4.4vw,62px);line-height:1.05;letter-spacing:-.035em}.auth-page .auth-intro h1 span{color:var(--brand2)}.auth-page .auth-intro p{max-width:540px;margin:0;color:#cbd5e1;font-size:16px;line-height:1.75}
.auth-page .auth-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:auto}.auth-page .auth-benefit{display:flex;align-items:flex-start;gap:11px;min-height:132px;padding:18px 15px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.055);transition:transform .2s ease,border-color .2s ease,background .2s ease}.auth-page .auth-benefit-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:rgba(249,115,22,.16);color:#fdba74;font-size:17px}.auth-page .auth-benefit h2{margin:2px 0 8px;font-size:14px;line-height:1.3}.auth-page .auth-benefit p{margin:0;color:#aebdd0;font-size:12px;line-height:1.5}
.auth-page .auth-form-panel{display:flex;align-items:center;justify-content:center;padding:56px;background:linear-gradient(180deg,#121a29,#0e1522)}.auth-page .auth-form-container{width:100%;max-width:500px}.auth-page .auth-form-container>h2{margin:0 0 12px;font-size:34px;line-height:1.2}.auth-page .auth-form-support{margin:0 0 34px;color:var(--muted);line-height:1.6}.auth-page .auth-form label{display:block;margin:0 0 9px;color:#d7e0ec;font-size:14px;font-weight:600}.auth-page .auth-form .input{width:100%;height:52px;margin:0 0 22px;padding:0 15px;border-radius:11px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.auth-page .auth-form .input:focus{border-color:var(--brand);background:rgba(255,255,255,.075);box-shadow:0 0 0 3px rgba(249,115,22,.18)}.auth-page .auth-submit{display:flex;align-items:center;justify-content:center;width:100%;height:52px;margin-top:8px;border-radius:11px;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}.auth-page .auth-submit:hover{background:var(--brand2);box-shadow:0 10px 24px rgba(249,115,22,.2)}.auth-page .auth-submit:focus-visible{outline:3px solid rgba(251,146,60,.42);outline-offset:3px}
.auth-page .auth-error{margin:0 0 22px;padding:13px 15px;border:1px solid rgba(239,68,68,.48);border-radius:11px;background:rgba(127,29,29,.28);color:#fecaca;font-size:14px;line-height:1.5}.auth-page .auth-error[hidden]{display:none}
@media(hover:hover){.auth-page .auth-benefit:hover{transform:translateY(-3px);border-color:rgba(249,115,22,.32);background:rgba(255,255,255,.075)}}
@media(max-width:900px){.auth-page{padding:24px}.auth-page .auth-card{width:min(94vw,900px);min-height:min(640px,calc(100dvh - 48px));grid-template-columns:.95fr 1.05fr}.auth-page .auth-brand-panel,.auth-page .auth-form-panel{padding:36px}.auth-page .auth-intro{margin:46px 0 32px}.auth-page .auth-intro h1{font-size:clamp(34px,5vw,45px)}.auth-page .auth-benefits{grid-template-columns:1fr}.auth-page .auth-benefit{min-height:auto;padding:12px}.auth-page .auth-benefit p{font-size:11px}}
@media(max-width:760px){.auth-page{display:block;min-height:100dvh;padding:20px}.auth-page .auth-card{width:100%;min-height:0;grid-template-columns:1fr}.auth-page .auth-form-panel{order:1;min-height:min(560px,calc(100dvh - 40px));padding:40px 24px}.auth-page .auth-brand-panel{order:2;padding:36px 24px}.auth-page .auth-intro{margin:38px 0 30px}.auth-page .auth-intro h1{font-size:38px}.auth-page .auth-benefits{grid-template-columns:1fr}.auth-page .auth-benefit{min-height:auto}.auth-page .auth-form-container>h2{font-size:30px}}
@media(max-width:400px){.auth-page{padding:12px}.auth-page .auth-form-panel{min-height:calc(100dvh - 24px);padding:32px 20px}.auth-page .auth-brand-panel{padding:32px 20px}.auth-page .auth-intro h1{font-size:34px}.auth-page .auth-form-support{margin-bottom:28px}}

/* Módulo administrativo de Indicadores */
.indicators-header{align-items:flex-end}.indicators-updated{color:var(--muted);font-size:13px}.indicators-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.indicators-filter-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.indicators-state{text-align:center;margin-bottom:18px}.indicators-error{color:#fca5a5;border-color:rgba(239,68,68,.45)}
.indicators-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:24px 0 14px}.indicators-section-head h2,.indicators-panel h2{margin:0 0 6px}.indicators-section-head p,.indicators-panel>p{color:var(--muted);margin:0}.indicators-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.indicator-card h3{color:var(--muted);font-size:14px;margin:0 0 10px}.indicator-card>strong{display:block;font-size:24px;margin-bottom:10px}.indicator-comparison{display:block;font-size:12px;line-height:1.4}.indicator-comparison.is-up{color:#86efac}.indicator-comparison.is-down{color:#fca5a5}.indicator-comparison.is-stable,.indicator-comparison.is-changed{color:#cbd5e1}
.indicators-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.indicators-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.indicators-panel{overflow:hidden;margin-bottom:18px}.indicators-chart{display:grid;gap:14px;margin-top:18px}.indicator-chart-group{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:start;font-size:12px}.indicator-chart-group>div{display:grid;gap:5px}.indicator-chart-group span{position:relative;display:block;min-height:22px;background:rgba(255,255,255,.05);border-radius:7px;overflow:hidden}.indicator-chart-group i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:#f97316}.indicator-chart-group .bar-commission{background:#a855f7}.indicator-chart-group .bar-net{background:#22c55e}.indicator-chart-group .bar-cancelled{background:#ef4444}.indicator-chart-group .bar-pending{background:#f59e0b}.indicator-chart-group .bar-confirmed{background:#3b82f6}.indicator-chart-group .bar-progress{background:#a855f7}.indicator-chart-group em{position:relative;z-index:1;display:block;padding:4px 7px;font-style:normal;color:#fff;text-shadow:0 1px 2px #000}
.indicator-list{display:grid;gap:2px}.indicator-list>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}.indicator-list span,.indicator-list strong{display:flex;flex-direction:column;gap:4px}.indicator-list strong{text-align:right}.indicator-list small{color:var(--muted);font-weight:400}.indicator-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.indicator-mini-grid>div{padding:12px;border:1px solid var(--line);border-radius:12px}.indicator-mini-grid span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.indicator-mini-grid strong{font-size:19px}.indicators-modal{z-index:5000}.indicators-modal>.card{width:min(760px,100%);max-height:90vh;overflow:auto}
@media(max-width:1100px){.indicators-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.indicators-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.indicators-grid,.indicators-grid-wide{grid-template-columns:1fr}}
@media(max-width:600px){.indicators-header,.indicators-section-head{align-items:stretch;flex-direction:column}.indicators-filters,.indicators-summary,.indicator-mini-grid{grid-template-columns:1fr}.indicators-filter-actions .btn{width:100%;justify-content:center}.indicator-chart-group{grid-template-columns:65px minmax(0,1fr)}.indicators-modal{padding:10px}}

/* Faturamento por barbeiro integrado ao Financeiro */
.finance-tabs{display:flex;gap:8px;margin:0 0 20px;padding:5px;width:max-content;max-width:100%;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.04)}
.finance-tab{background:transparent;color:var(--muted)}
.finance-tab.active{background:var(--brand);color:#111827}
.finance-revenue{display:grid;gap:18px}.finance-revenue[hidden],[data-finance-panel][hidden]{display:none!important}
.finance-update-status{color:var(--muted);font-size:13px}
.revenue-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-top:16px}
.revenue-filter-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}
.revenue-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.revenue-summary-card h3{color:var(--muted);font-size:14px;margin:0 0 12px}.revenue-summary-card strong{font-size:25px}
.revenue-dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px;margin-bottom:18px}
.revenue-chart{display:grid;gap:12px}.revenue-chart-row{display:grid;grid-template-columns:90px minmax(100px,1fr) 115px;align-items:center;gap:10px;font-size:13px}
.revenue-chart-row>div{height:12px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}.revenue-chart-row i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),var(--brand2))}
.revenue-chart-row strong{text-align:right}.revenue-ranking{margin-bottom:18px}.revenue-ranking h4{margin:0 0 8px}.revenue-ranking>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}
.revenue-state{text-align:center}.revenue-error{color:#fca5a5;border-color:rgba(239,68,68,.4)}
.revenue-modal{z-index:5000}.revenue-modal .card{max-height:90vh;overflow:auto;width:min(760px,100%)}
.revenue-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.revenue-details div{padding:12px;border:1px solid var(--line);border-radius:12px}.revenue-details dt{color:var(--muted);font-size:12px}.revenue-details dd{margin:6px 0 0;font-weight:700}
@media(max-width:1100px){.revenue-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:600px){.finance-tabs{width:100%}.finance-tab{flex:1;justify-content:center;font-size:12px}.revenue-filter-grid,.revenue-summary-grid,.revenue-details{grid-template-columns:1fr}.revenue-filter-actions .btn{width:100%;justify-content:center}.revenue-chart-row{grid-template-columns:70px minmax(70px,1fr) 95px}.revenue-summary-card strong{font-size:21px}.revenue-modal{padding:10px}}

#rescheduleModal #btnRescheduleConfirm {
  background: #ff7417;
  color: #111827;
}

#rescheduleModal #btnCloseReschedule {
  background: #283244;
  color: #f8fafc;
}

@media (max-width: 700px) {
  #rescheduleModal .appointments-modal-card {
    padding: 20px !important;
  }

  #rescheduleModal .appointments-reschedule-grid {
    grid-template-columns: 1fr;
  }

  #rescheduleModal .appointments-modal-actions {
    flex-direction: column;
  }

  #rescheduleModal .appointments-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* Reagendamento - corrigir altura e rolagem no mobile */
#rescheduleModal.modal {
  overflow-y: auto !important;
  align-items: flex-start !important;
  padding: 24px 12px !important;
}

#rescheduleModal .appointments-modal-card {
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  margin: 0 auto !important;
}

@media (max-width: 700px) {
  #rescheduleModal.modal {
    place-items: flex-start center !important;
    padding: 16px 10px !important;
  }

  #rescheduleModal .appointments-modal-card {
    width: 100% !important;
    max-width: 430px !important;
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;
    padding: 20px !important;
  }

  #rescheduleModal h3 {
    font-size: 22px;
  }

  #rescheduleModal .appointments-reschedule-box {
    padding: 14px !important;
  }

  #rescheduleModal .appointments-modal-actions {
    position: sticky;
    bottom: 0;
    background: #111827;
    padding-top: 12px;
    margin-top: 16px;
  }
}
