:root{
  --font-sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --color-text-primary:#1f2430;
  --color-text-secondary:#66736f;
  --color-text-tertiary:#929b98;
  --color-background-primary:#ffffff;
  --color-background-secondary:#f6f7f9;
  --color-background-tertiary:#f5f6fa;
  --color-border-secondary:#dce1e7;
  --color-border-tertiary:#edf0f3;
  --border-radius-md:10px;
  --border-radius-lg:18px;
  --sector-primary:#d82776;
  --sector-primary-light:#ec5d9a;
  --sector-deep:#b91f64;
  --sector-soft:#fff1f7;
  --sector-border:#f5bad2;
  --sector-shadow:rgba(216,39,118,.22);
}

body[data-sector="hair"]{
  --sector-primary:#34343a;--sector-primary-light:#64646d;--sector-deep:#202025;
  --sector-soft:#f1f1f3;--sector-border:#d6d6dc;--sector-shadow:rgba(52,52,58,.22);
}
body[data-sector="nails"]{
  --sector-primary:#e74462;--sector-primary-light:#ff6b7d;--sector-deep:#b92746;
  --sector-soft:#fff0f2;--sector-border:#f5bbc5;--sector-shadow:rgba(231,68,98,.22);
}
body[data-sector="wellness"]{
  --sector-primary:#38b9bb;--sector-primary-light:#67d0c9;--sector-deep:#208b8d;
  --sector-soft:#effcfb;--sector-border:#bce9e6;--sector-shadow:rgba(56,185,187,.22);
}
body[data-sector="fitness"]{
  --sector-primary:#1976f3;--sector-primary-light:#55a4ff;--sector-deep:#1059b9;
  --sector-soft:#eef6ff;--sector-border:#bad9ff;--sector-shadow:rgba(25,118,243,.22);
}
body[data-sector="pets"]{
  --sector-primary:#e9a51d;--sector-primary-light:#ffc75b;--sector-deep:#ad7207;
  --sector-soft:#fff8e8;--sector-border:#f3d999;--sector-shadow:rgba(233,165,29,.24);
}
body[data-sector="other"]{
  --sector-primary:#d82776;--sector-primary-light:#ec5d9a;--sector-deep:#b91f64;
  --sector-soft:#fff1f7;--sector-border:#f5bad2;--sector-shadow:rgba(216,39,118,.22);
}

*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--font-sans);font-size:14px;color:var(--color-text-primary);background:var(--color-background-tertiary)}
.app{display:flex;height:100vh;min-height:640px}
.sidebar{width:210px;background:var(--color-background-primary);border-right:0.5px solid var(--color-border-tertiary);display:flex;flex-direction:column;flex-shrink:0}
.logo{padding:18px 16px 14px;border-bottom:0.5px solid var(--color-border-tertiary)}
.logo-text{font-size:19px;font-weight:500;color:#1D9E75;letter-spacing:-0.5px}
.logo-sub{font-size:11px;color:var(--color-text-secondary);margin-top:1px}
.sidebar-logo{
  width:100%;
max-width:160px;
  display:block;
  margin:0 auto;
}
.nav{padding:10px 8px;flex:1}
.nl{font-size:10px;font-weight:500;color:var(--color-text-tertiary);padding:0 8px;margin:10px 0 4px;text-transform:uppercase;letter-spacing:.8px}
.ni{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:var(--border-radius-md);cursor:pointer;color:var(--color-text-secondary);font-size:13px;margin-bottom:1px;transition:all .15s}
.ni:hover{background:var(--color-background-secondary);color:var(--color-text-primary)}
.ni.active{background:#E1F5EE;color:#0F6E56;font-weight:500}
.ni .ti{font-size:15px}
.nb{margin-left:auto;background:#1D9E75;color:#fff;font-size:10px;padding:1px 5px;border-radius:8px}
.sf{padding:10px 8px;border-top:0.5px solid var(--color-border-tertiary)}
.up{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:var(--border-radius-md);cursor:pointer}
.up:hover{background:var(--color-background-secondary)}
.av{width:28px;height:28px;border-radius:50%;background:#1D9E75;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:500;color:#fff;flex-shrink:0}
.ui p{font-size:13px;font-weight:500;line-height:1.2}
.ui span{font-size:11px;color:var(--color-text-secondary)}
.main{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}
.topbar{background:var(--color-background-primary);border-bottom:0.5px solid var(--color-border-tertiary);padding:0 16px;height:50px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.pt{font-size:15px;font-weight:500}
.ta{display:flex;align-items:center;gap:6px}
.btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--border-radius-md);border:0.5px solid var(--color-border-secondary);background:transparent;cursor:pointer;font-size:13px;color:var(--color-text-primary);font-family:var(--font-sans)}
.btn:hover{background:var(--color-background-secondary)}
.btn-p{background:#1D9E75;color:#fff;border-color:#1D9E75}
.btn-p:hover{background:#0F6E56}
.btn-icon{padding:5px 8px}
.btn .ti{font-size:14px}
.vt-group{display:flex;border:0.5px solid var(--color-border-secondary);border-radius:var(--border-radius-md);overflow:hidden}
.vt-btn{padding:5px 11px;background:transparent;border:none;cursor:pointer;font-size:12px;color:var(--color-text-secondary);font-family:var(--font-sans);border-right:0.5px solid var(--color-border-tertiary)}
.vt-btn:last-child{border-right:none}
.vt-btn:hover{background:var(--color-background-secondary);color:var(--color-text-primary)}
.vt-btn.active{background:#1D9E75;color:#fff}
.content{flex:1;overflow-y:auto;padding:14px 16px}
.panel{display:none}
.panel.active{display:block}

.cal-nav{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.cal-period{font-size:14px;font-weight:500;min-width:160px}
.cal-period-sub{font-size:12px;color:var(--color-text-secondary);margin-left:4px}

.week-grid{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:var(--border-radius-lg);overflow:hidden}
.wg-head{display:grid;grid-template-columns:52px repeat(7,1fr);border-bottom:0.5px solid var(--color-border-tertiary)}
.wg-hc{padding:8px 4px;text-align:center;font-size:11px;color:var(--color-text-secondary);border-right:0.5px solid var(--color-border-tertiary)}
.wg-hc:last-child{border-right:none}
.wg-hc .dn{font-size:17px;font-weight:500;color:var(--color-text-primary);display:block;line-height:1.2}
.wg-hc.today-h{background:#E1F5EE}
.wg-hc.today-h .dn{color:#1D9E75}
.wg-body{display:grid;grid-template-columns:52px repeat(7,1fr);max-height:460px;overflow-y:auto}
.tc{border-right:0.5px solid var(--color-border-tertiary)}
.ts{height:44px;padding:2px 5px;font-size:10px;color:var(--color-text-tertiary);border-bottom:0.5px solid var(--color-border-tertiary)}
.dc{border-right:0.5px solid var(--color-border-tertiary);position:relative}
.dc:last-child{border-right:none}
.sl{height:44px;border-bottom:0.5px solid var(--color-border-tertiary);cursor:pointer}
.sl:hover{background:rgba(29,158,117,.04)}
.ap{position:absolute;left:2px;right:2px;border-radius:4px;padding:3px 5px;font-size:10px;cursor:pointer;z-index:2;overflow:hidden}
.ap:hover{opacity:.9}
.ap-n{font-weight:500;line-height:1.3}
.ap-s{font-size:9px;opacity:.85}
.ap-pay{position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%}

.month-grid{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:var(--border-radius-lg);overflow:hidden}
.mg-head{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:0.5px solid var(--color-border-tertiary)}
.mg-hc{padding:8px 6px;text-align:center;font-size:11px;color:var(--color-text-secondary);font-weight:500;border-right:0.5px solid var(--color-border-tertiary)}
.mg-hc:last-child{border-right:none}
.mg-body{display:grid;grid-template-columns:repeat(7,1fr)}
.mg-cell{min-height:80px;border-right:0.5px solid var(--color-border-tertiary);border-bottom:0.5px solid var(--color-border-tertiary);padding:5px 5px 4px;cursor:pointer;vertical-align:top}
.mg-cell:nth-child(7n){border-right:none}
.mg-cell:hover{background:rgba(29,158,117,.03)}
.mg-cell.other-month{opacity:.4}
.mg-cell.today-cell{background:#E1F5EE}
.mg-day{font-size:12px;font-weight:500;margin-bottom:3px;color:var(--color-text-secondary)}
.mg-cell.today-cell .mg-day{color:#0F6E56}
.mg-ap{font-size:10px;padding:2px 4px;border-radius:3px;margin-bottom:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;gap:3px}
.mg-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}
.mg-more{font-size:10px;color:var(--color-text-tertiary)}

.day-view{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:var(--border-radius-lg);overflow:hidden}
.dv-head{padding:10px 14px;border-bottom:0.5px solid var(--color-border-tertiary);font-size:13px;font-weight:500;display:flex;align-items:baseline;gap:8px}
.dv-sub{font-size:12px;color:var(--color-text-secondary);font-weight:400}
.dv-body{display:grid;grid-template-columns:52px 1fr;max-height:480px;overflow-y:auto}
.dv-slot{height:56px;border-bottom:0.5px solid var(--color-border-tertiary);padding:3px 6px;font-size:10px;color:var(--color-text-tertiary)}
.dv-col{position:relative}
.dv-cell{height:56px;border-bottom:0.5px solid var(--color-border-tertiary);cursor:pointer}
.dv-cell:hover{background:rgba(29,158,117,.03)}
.dv-ap{position:absolute;left:6px;right:6px;border-radius:6px;padding:6px 8px;cursor:pointer;font-size:12px}
.dv-ap:hover{opacity:.9}
.dv-ap-n{font-weight:500}
.dv-ap-d{font-size:11px;opacity:.85;margin-top:1px}
.dv-pay-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:5px;vertical-align:middle}

.appt-list{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:var(--border-radius-lg);overflow:hidden}
.al-head{padding:10px 14px;border-bottom:0.5px solid var(--color-border-tertiary);font-size:13px;font-weight:500}
.al-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:0.5px solid var(--color-border-tertiary);cursor:pointer}
.al-row:hover{background:var(--color-background-secondary)}
.al-row:last-child{border-bottom:none}
.al-time{width:44px;flex-shrink:0}
.al-t{font-size:13px;font-weight:500;color:#0F6E56}
.al-d{font-size:10px;color:var(--color-text-tertiary)}
.al-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.al-info{flex:1}
.al-cl{font-size:13px;font-weight:500}
.al-sv{font-size:11px;color:var(--color-text-secondary)}
.sb{font-size:11px;padding:2px 7px;border-radius:12px;flex-shrink:0}
.s-conf{background:#E1F5EE;color:#0F6E56}
.s-pend{background:#FAEEDA;color:#854F0B}
.s-done{background:var(--color-background-secondary);color:var(--color-text-secondary)}
.s-paid{background:#E1F5EE;color:#085041}
.s-unpaid{background:#FCEBEB;color:#A32D2D}
.pay-btn{font-size:11px;padding:3px 8px;border-radius:var(--border-radius-md);border:0.5px solid var(--color-border-secondary);background:transparent;cursor:pointer;color:var(--color-text-secondary);font-family:var(--font-sans)}
.pay-btn:hover{background:var(--color-background-secondary)}
.pay-btn.reg{background:#E1F5EE;color:#085041;border-color:#9FE1CB}

.modal-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.35);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-wrap.show {
  display: flex;
}

.modal {
  background: var(--color-background-primary);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  width: 360px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:var(--border-radius-lg);padding:20px;width:360px;max-width:100%}
.modal-title{font-size:15px;font-weight:500;margin-bottom:4px}
.modal-sub{font-size:12px;color:var(--color-text-secondary);margin-bottom:16px}
.modal-client{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--color-background-secondary);border-radius:var(--border-radius-md);margin-bottom:14px}
.mc-av{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;flex-shrink:0}
.mc-n{font-size:13px;font-weight:500}
.mc-s{font-size:12px;color:var(--color-text-secondary)}
.fl{margin-bottom:12px}
.fl label{font-size:11px;color:var(--color-text-secondary);display:block;margin-bottom:4px}
.fl input,.fl select{width:100%;border:0.5px solid var(--color-border-secondary);border-radius:var(--border-radius-md);padding:7px 9px;font-size:13px;color:var(--color-text-primary);background:var(--color-background-primary);font-family:var(--font-sans);outline:none}
.fl input:focus,.fl select:focus{border-color:#1D9E75}
.pay-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}
.pm{padding:8px;text-align:center;border:0.5px solid var(--color-border-secondary);border-radius:var(--border-radius-md);cursor:pointer;font-size:12px;color:var(--color-text-secondary)}
.pm:hover{background:var(--color-background-secondary)}
.pm.sel{background:#E1F5EE;border-color:#1D9E75;color:#0F6E56;font-weight:500}
.pm .ti{display:block;font-size:18px;margin-bottom:3px}
.modal-actions{display:flex;gap:8px;margin-top:4px}
.ma-cancel{flex:0;padding:7px 14px;border:0.5px solid var(--color-border-secondary);border-radius:var(--border-radius-md);background:transparent;cursor:pointer;font-size:13px;color:var(--color-text-secondary);font-family:var(--font-sans)}
.ma-cancel:hover{background:var(--color-background-secondary)}
.ma-confirm{flex:1;padding:7px 14px;border-radius:var(--border-radius-md);border:none;background:#1D9E75;color:#fff;cursor:pointer;font-size:13px;font-weight:500;font-family:var(--font-sans)}
.ma-confirm:hover{background:#0F6E56}
.troco{font-size:12px;color:var(--color-text-secondary);padding:8px 10px;background:var(--color-background-secondary);border-radius:var(--border-radius-md);text-align:center;margin-top:8px}
.troco strong{color:var(--color-text-primary);font-weight:500}
.pay-success{text-align:center;padding:20px 0}
.ps-icon{font-size:36px;color:#1D9E75;margin-bottom:8px}
.ps-title{font-size:15px;font-weight:500;margin-bottom:4px}
.ps-sub{font-size:13px;color:var(--color-text-secondary)}

.menu-toggle {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  width: 42px !important;
  height: 42px !important;
  z-index: 10001 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1D9E75 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  cursor: pointer !important;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 998;
  display: none;
}

.sidebar-overlay.show {
  display: block;
}

@media (max-width: 768px) {
  .app {
    position: relative;
    overflow-x: hidden;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -210px;
    width: 210px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.25s ease;
    box-shadow: 8px 0 24px rgba(0,0,0,0.16);
  }

  .sidebar.open {
    left: 0;
  }

  .main {
    width: 100%;
    margin-left: 0;
    transition: transform 0.25s ease;
  }

  .app.menu-open .main {
    transform: translateX(210px);
  }

  .topbar {
    gap: 8px;
    padding-left: 70px;
  }

  .content {
    padding: 10px;
    overflow-x: auto;
  }

  .week-grid {
    min-width: 720px;
  }
}

@media (max-width: 768px) {
  .app {
    position: relative;
    overflow-x: hidden;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -210px;
    width: 210px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.25s ease;
    box-shadow: 8px 0 24px rgba(0,0,0,0.16);
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.3);
  z-index:998;
  display:none;
}

.sidebar-overlay.show{
  display:block;
}
  .main {
    width: 100%;
    margin-left: 0;
    transition: transform 0.25s ease;
  }

  .app.menu-open .main {
    transform: translateX(210px);
  }



  .topbar {
    gap: 8px;
  }

  .content {
    padding: 10px;
    overflow-x: auto;
  }

  .week-grid {
    min-width: 720px;
  }
}


/* MODAL / POPUP FIX */
.modal-wrap {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.modal-wrap.show {
  display: flex !important;
}

.modal {
  position: relative !important;
  background: #ffffff !important;
 width: 430px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28) !important;
  z-index: 10000 !important;
}

.finance-dashboard {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.finance-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.finance-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.finance-card span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
}

.finance-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
  color: #1D9E75;
}

.finance-card small {
  color: #888;
  font-size: 12px;
}

.finance-card.warning strong {
  color: #C9822B;
}

.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.finance-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.finance-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.payment-row:last-child {
  border-bottom: none;
}

.payment-row strong {
  display: block;
  font-size: 13px;
}

.payment-row span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 3px;
}

.payment-row b {
  font-size: 15px;
  color: #1D9E75;
}

.payment-row.unpaid b {
  color: #C9822B;
}

@media (max-width: 768px) {
  .finance-cards {
    grid-template-columns: 1fr;
  }

  .finance-grid {
    grid-template-columns: 1fr;
  }
}


.menu-toggle {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  width: 42px !important;
  height: 42px !important;
  z-index: 10001 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1D9E75 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 20px !important;
}

.settings-dashboard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 900px;
}

.settings-box {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.settings-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-background-secondary);
  padding: 10px;
  border-radius: 12px;
}

.booking-link span {
  flex: 1;
  font-size: 13px;
  color: #444;
  overflow: hidden;
  text-overflow: ellipsis;
}

.settings-help {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 12px;
}

.schedule-list {
  display: grid;
  gap: 8px;
}

.schedule-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.schedule-list div:last-child {
  border-bottom: none;
}

.schedule-list strong {
  font-size: 13px;
}

.schedule-list span {
  font-size: 13px;
  color: #777;
}

.settings-toggle {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.settings-toggle:last-child {
  border-bottom: none;
}

.settings-toggle strong {
  display: block;
  font-size: 13px;
}

.settings-toggle span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  display: none;
}

.switch span {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 999px;
  cursor: pointer;
}

.switch span::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + span {
  background: #1D9E75;
}

.switch input:checked + span::before {
  transform: translateX(20px);
}

.settings-save {
  width: 100%;
  border: none;
  background: #1D9E75;
  color: white;
  padding: 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .settings-form {
    grid-template-columns: 1fr;
  }

  .booking-link {
    flex-direction: column;
    align-items: stretch;
  }
}

/* -------------------- */
/* MARCAÇÃO ONLINE */
/* -------------------- */

.booking-header{
  margin-bottom:20px;
}

.booking-header h2{
  font-size:24px;
  margin-bottom:6px;
}

.booking-header p{
  color:#666;
}

.booking-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.booking-card{
  background:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.booking-card h3{
  margin-bottom:12px;
}

.booking-card input{
  width:100%;
  padding:10px;
  border:1px solid #ddd;
  border-radius:10px;
  margin-bottom:12px;
}

.booking-card p{
  margin-bottom:12px;
  color:#666;
}

@media(max-width:768px){

  .booking-grid{
    grid-template-columns:1fr;
  }

}

/* Fixariu — MARCAÇÃO ONLINE PREMIUM */

.booking-header {
  background: linear-gradient(135deg, #E1F5EE, #FFFFFF);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

.booking-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #0F6E56;
}

.booking-header p {
  color: #5d6b66;
  max-width: 520px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.07);
  border: 1px solid rgba(29,158,117,0.08);
}

.booking-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.booking-card p {
  color: #66736f;
  margin-bottom: 14px;
}

.booking-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce8e3;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  background: #F8FBFA;
}

.preview-phone {
  margin-top: 20px;
  background: #fff;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  max-width: 390px;
}

.preview-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.35;
}

.chat-bubble.bot {
  background: #E1F5EE;
  color: #0F3D32;
  align-self: flex-start;
}

.chat-bubble.user {
  background: #2E3338;
  color: white;
  align-self: flex-end;
}

.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.client-option {
  border: none;
  background: #2E3338;
  color: white;
  padding: 16px;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
}

.client-option strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.client-option span {
  font-size: 12px;
  opacity: 0.8;
}

.client-option.active {
  background: #6FE7D8;
  color: #102A28;
}

.preview-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.preview-actions button {
  flex: 1;
  border: none;
  padding: 13px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
}

.preview-actions .primary {
  background: #1D9E75;
  color: white;
}

.preview-actions .secondary {
  background: #EEF2F1;
  color: #333;
}

@media (max-width:768px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-header h2 {
    font-size: 22px;
  }
}

.clients-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.clients-header h2 {
  font-size: 24px;
  color: #0F6E56;
}

.clients-header p {
  font-size: 13px;
  color: #66736f;
}

.clients-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.clients-search input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
}

.clients-list {
  display: grid;
  gap: 12px;
}

.client-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E1F5EE;
  color: #0F6E56;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.client-info {
  flex: 1;
}

.client-info strong {
  display: block;
  font-size: 14px;
}

.client-info span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.client-total {
  font-weight: 700;
  color: #1D9E75;
}

.client-actions {
  display: flex;
  gap: 6px;
}

.client-action {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: #EEF2F1;
  color: #333;
}

.client-action.whatsapp {
  background: #DCFCE7;
  color: #128C7E;
}

/* -------------------- */
/* EQUIPA */
/* -------------------- */

.team-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.team-header h2 {
  font-size: 24px;
  color: #0F6E56;
}

.team-header p {
  font-size: 13px;
  color: #66736f;
}

.team-list {
  display: grid;
  gap: 14px;
}

.team-card {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 14px 38px rgba(0,0,0,.06);
  border: 1px solid rgba(29,158,117,0.07);
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #E1F5EE;
  color: #0F6E56;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.team-info {
  flex: 1;
}

.team-info strong {
  display: block;
  font-size: 15px;
}

.team-info span {
  display: block;
  margin-top: 3px;
  color: #66736f;
  font-size: 12px;
}

.team-stats {
  text-align: right;
  min-width: 80px;
}

.team-stats strong {
  display: block;
  color: #1D9E75;
  font-size: 15px;
}

.team-stats span {
  display: block;
  color: #777;
  font-size: 11px;
}

.team-actions {
  display: flex;
  gap: 6px;
}

.team-action {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: #EEF2F1;
  color: #333;
  cursor: pointer;
}

.team-action.whatsapp {
  background: #DCFCE7;
  color: #128C7E;
}

.team-modal-section {
  margin-top: 16px;
}

.team-modal-section h4 {
  font-size: 13px;
  margin-bottom: 10px;
  color: #0F6E56;
}

.team-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.team-day {
  border: 1px solid #dce8e3;
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  font-size: 11px;
  cursor: pointer;
  background: #fff;
}

.team-day.active {
  background: #E1F5EE;
  color: #0F6E56;
  border-color: #1D9E75;
  font-weight: 700;
}

.team-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.team-service {
  border: 1px solid #dce8e3;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  background: #fff;
}

.team-service.active {
  background: #E1F5EE;
  color: #0F6E56;
  border-color: #1D9E75;
  font-weight: 700;
}

.team-link-box {
  background: #F8FBFA;
  border-radius: 14px;
  padding: 10px;
  font-size: 12px;
  color: #66736f;
}

@media (max-width:768px) {
  .team-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .team-stats {
    text-align: left;
  }

  .team-actions {
    width: 100%;
  }

  .team-action {
    flex: 1;
  }

  .team-days {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-services {
    grid-template-columns: 1fr;
  }
}


/* -------------------- */
/* NOTIFICAÇÕES */
/* -------------------- */

.notif-header {
  margin-bottom: 18px;
}

.notif-header h2 {
  font-size: 24px;
  color: #0F6E56;
}

.notif-header p {
  font-size: 13px;
  color: #66736f;
}

.notif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.notif-box {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 14px 38px rgba(0,0,0,.06);
  border: 1px solid rgba(29,158,117,0.07);
}

.notif-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.notif-item {
  background: #F8FBFA;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
}

.notif-item:last-child {
  margin-bottom: 0;
}

.notif-item strong {
  display: block;
  font-size: 14px;
}

.notif-item span {
  display: block;
  color: #66736f;
  font-size: 12px;
  margin-top: 3px;
}

.notif-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.notif-actions button {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
  font-size: 12px;
}

.notif-whatsapp {
  background: #DCFCE7;
  color: #128C7E;
}

.notif-copy {
  background: #EEF2F1;
  color: #333;
}

@media (max-width:768px) {
  .notif-grid {
    grid-template-columns: 1fr;
  }
}


/* SERVIÇOS */

.services-list {
  display: grid;
  gap: 12px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #E1F5EE;
  color: #0F6E56;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.service-info {
  flex: 1;
}

.service-info strong {
  display: block;
  font-size: 14px;
}

.service-info span {
  display: block;
  font-size: 12px;
  color: #66736f;
  margin-top: 3px;
}

.service-price {
  font-weight: 800;
  color: #1D9E75;
  font-size: 16px;
}

.service-actions {
  display: flex;
  gap: 6px;
}

.service-action {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: #EEF2F1;
  cursor: pointer;
}

@media(max-width:768px){
  .service-card {
    flex-wrap: wrap;
  }

  .service-actions {
    width: 100%;
  }

  .service-action {
    flex: 1;
  }
}

.team-action.delete {
  background: #FCEBEB;
  color: #A32D2D;
}

.client-action.delete {
  background: #FCEBEB;
  color: #A32D2D;
}

.notif-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notif-title-row button {
  border: none;
  background: #DCFCE7;
  color: #128C7E;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
  cursor: pointer;
}

.booking-form {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.booking-form input {
  width: 100%;
  border: 1px solid #dce8e3;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.booking-form input:focus {
  border-color: #1D9E75;
}

.booking-form button {
  border: none;
  background: #1D9E75;
  color: white;
  padding: 13px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
}

.clickable-card{
  cursor:pointer;
  transition:0.2s;
}

.clickable-card:hover{
  transform:translateY(-2px);
}

.clickable-card {
  cursor: pointer;
  transition: 0.2s;
}

.clickable-card:hover {
  transform: translateY(-2px);
}

/* DASHBOARD PREMIUM MOBILE */

.mobile-dashboard {
  max-width: 460px;
  margin: 0 auto;
  padding: 10px 0 96px;
}

.dash-hello {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.dash-hello h1 {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.2px;
  color: #17181c;
}

.dash-hello p {
  margin-top: 6px;
  color: #8b8f96;
  font-size: 14px;
}

.dash-menu-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 20px;
  background: #f0f1f3;
  color: #24262b;
  font-size: 24px;
}

.dash-week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.dash-day {
  height: 70px;
  border-radius: 18px;
  background: #eeeeef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dash-day span {
  font-size: 11px;
  font-weight: 800;
  color: #777b82;
}

.dash-day strong {
  font-size: 24px;
  margin-top: 4px;
  color: #34363b;
}

.dash-day.active {
  background: linear-gradient(135deg, #49dff2, #85f3f4);
  box-shadow: 0 12px 26px rgba(73,223,242,.35);
}

.dash-day.active span,
.dash-day.active strong {
  color: #14272b;
}

.dash-premium-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.dash-premium-card {
  min-height: 152px;
  border-radius: 28px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 36px rgba(0,0,0,.12);
}

.dash-premium-card span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.dash-premium-card small {
  display: block;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 18px;
}

.dash-premium-card strong {
  display: block;
  font-size: 48px;
  line-height: .9;
  letter-spacing: -2px;
}

.dash-premium-card em {
  display: inline-block;
  margin-top: 14px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 999px;
}

.dash-premium-card.cyan {
  background: linear-gradient(135deg, #42dff0, #88f3f5);
  color: #101b20;
}

.dash-premium-card.cyan em {
  background: rgba(255,255,255,.55);
  color: #0d666f;
}

.dash-premium-card.dark {
  background: #23252b;
  color: white;
}

.dash-premium-card.dark em {
  background: rgba(255,255,255,.12);
  color: #9ff7ea;
}

.dash-premium-card.white {
  background: white;
  color: #17181c;
}

.dash-premium-card.white strong {
  font-size: 34px;
  color: #1D9E75;
}

.dash-premium-card.warning strong {
  color: #c9822b;
}

.dash-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.dash-section-title h3 {
  font-size: 17px;
}

.dash-section-title button {
  border: none;
  background: #e9f8f4;
  color: #0f6e56;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.dash-timeline {
  background: white;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.dash-timeline .al-row {
  border-bottom: 1px solid #f0f0f0;
  padding: 14px;
}

.dash-bottom-action {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(430px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  z-index: 50;
}

.dash-lock,
.dash-new {
  height: 68px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
}

.dash-lock {
  background: #23252b;
  color: white;
  font-size: 26px;
}

.dash-new {
  background: linear-gradient(135deg, #42dff0, #8af4f5);
  color: #122326;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 18px 34px rgba(66,223,240,.35);
}

.dash-new i {
  font-size: 30px;
}

@media (min-width: 769px) {
  .mobile-dashboard {
    max-width: 760px;
  }

  .dash-premium-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .dash-bottom-action {
    display: none;
  }
}

@media (max-width: 420px) {
  .dash-premium-cards {
    grid-template-columns: 1fr;
  }

  .dash-week-strip {
    overflow-x: auto;
    display: flex;
  }

  .dash-day {
    min-width: 58px;
  }
}



.dash-bottom-action {
  grid-template-columns: 1fr !important;
}

.dash-lock {
  display: none !important;
}

.sidebar {
  background: #ffffff !important;
  color: #1f2933 !important;
}

.sidebar.open {
  left: 0 !important;
}

.sidebar .logo,
.sidebar .nav,
.sidebar .sf {
  position: relative !important;
  z-index: 2 !important;
}

.app.menu-open .main {
  transform: none !important;
}

.sidebar-overlay.show {
  background: rgba(0,0,0,0.28) !important;
}

@media (max-width: 768px) {
  .sidebar {
    width: 250px !important;
    left: -250px !important;
    padding-top: 0 !important;
  }

  .sidebar.open {
    left: 0 !important;
  }

  .sidebar .ni {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
  }

  .sidebar .nl {
    margin-top: 14px !important;
    padding-left: 14px !important;
  }

  .sidebar .logo {
    padding: 20px 16px 14px !important;
  }
}


/* ================================ */
/* Fixariu PREMIUM — AGENDA SEMANAL */
/* ================================ */

body {
  background:
    radial-gradient(circle at top right, rgba(216, 39, 118, 0.08), transparent 32%),
    radial-gradient(circle at bottom left, rgba(111, 90, 214, 0.07), transparent 30%),
    #fbfbfd !important;
}

/* página da agenda */
#panel-agenda {
  max-width: 1180px;
  margin: 0 auto;
}

/* topo da agenda */
.cal-nav {
  background: #ffffff;
  border: 1px solid rgba(19, 24, 40, 0.06);
  border-radius: 24px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 18px 50px rgba(31, 35, 55, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.cal-period {
  font-size: 18px;
  font-weight: 800;
  color: #1f2430;
  min-width: 230px;
}

.cal-period::before {
  content: "\ea53";
  font-family: "tabler-icons";
  margin-right: 10px;
  color: var(--sector-primary);
  font-size: 22px;
  vertical-align: -2px;
}

/* botões setas / hoje / filtro */
.cal-nav .btn {
  height: 44px;
  border-radius: 16px;
  border: 1px solid #edf0f6;
  background: #ffffff;
  color: #5f6675;
  box-shadow: 0 8px 20px rgba(31,35,55,.05);
  font-weight: 700;
}

.cal-nav .btn:hover {
  background: var(--sector-soft);
  color: var(--sector-primary);
  border-color: #ffd6e5;
}

.cal-nav .btn-icon {
  width: 44px;
  justify-content: center;
  padding: 0;
}

#agendaCollabFilter {
  min-width: 170px;
}

/* selector Dia/Semana/Mês/Lista */
.vt-group {
  border: none !important;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  box-shadow: 0 10px 28px rgba(31,35,55,.07);
}

.vt-btn {
  border: none !important;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  color: #626a7c;
  background: transparent;
}

.vt-btn.active {
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(216,39,118,.25);
}

/* botão Novo */
#globalNewBtn {
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  color: #fff !important;
  padding: 0 18px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(216,39,118,.25);
}

/* caixa do calendário */
.week-grid {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(19,24,40,.06) !important;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(31,35,55,.10);
}

/* cabeçalho dias */
.wg-head {
  grid-template-columns: 74px repeat(7, minmax(120px, 1fr)) !important;
  border-bottom: 1px solid #eef1f6 !important;
  background: #ffffff;
}

.wg-hc {
  padding: 18px 8px !important;
  border-right: 1px solid #eef1f6 !important;
  color: #777f90 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wg-hc .dn {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1f2430 !important;
  margin-top: 4px;
}

.wg-hc.today-h {
  background: linear-gradient(180deg, var(--sector-soft), #ffffff) !important;
  position: relative;
}

.wg-hc.today-h::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sector-primary);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
}

.wg-hc.today-h .dn {
  color: var(--sector-primary) !important;
}

/* corpo */
.wg-body {
  grid-template-columns: 74px repeat(7, minmax(120px, 1fr)) !important;
  max-height: 680px !important;
  overflow-y: auto;
  background: #ffffff;
}

.tc {
  border-right: 1px solid #eef1f6 !important;
  background: #ffffff;
}

.ts {
  height: 70px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  color: #6c7383 !important;
  font-weight: 700;
  border-bottom: 1px solid #eef1f6 !important;
}

.dc {
  border-right: 1px solid #eef1f6 !important;
  background: linear-gradient(180deg, #fff, #fff);
}

.dc:last-child {
  border-right: none !important;
}

.sl {
  height: 70px !important;
  border-bottom: 1px solid #eef1f6 !important;
}

.sl:hover {
  background: #fff7fa !important;
}

/* marcações */
.ap {
  left: 10px !important;
  right: 10px !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 22px rgba(31,35,55,.10);
  transition: .18s ease;
}

.ap:hover {
  transform: translateY(-2px);
  opacity: 1 !important;
  box-shadow: 0 16px 30px rgba(31,35,55,.16);
}

.ap-n {
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.ap-s {
  font-size: 11px !important;
  margin-top: 3px;
  opacity: .82 !important;
}

/* bolinha pagamento */
.ap-pay {
  width: 9px !important;
  height: 9px !important;
  right: 8px !important;
  top: 8px !important;
  border: 2px solid rgba(255,255,255,.9);
}

/* scrollbar mais limpa */
.wg-body::-webkit-scrollbar,
.content::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.wg-body::-webkit-scrollbar-thumb,
.content::-webkit-scrollbar-thumb {
  background: #e4e7ef;
  border-radius: 999px;
}

/* mobile/tablet */
@media (max-width: 768px) {
  #panel-agenda {
    max-width: none;
    margin: 0;
  }

  .content {
    padding: 88px 12px 20px !important;
    overflow-x: auto !important;
  }

  .cal-nav {
    min-width: 920px;
    border-radius: 22px;
  }

  .week-grid {
    min-width: 920px !important;
    border-radius: 24px !important;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #edf0f6 !important;
    height: 70px !important;
    padding-left: 70px !important;
  }

  .menu-toggle {
    top: 14px !important;
    left: 16px !important;
    background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
    border-radius: 16px !important;
  }

  .pt {
    font-size: 17px;
    font-weight: 800;
  }

  .ta {
    gap: 8px;
  }

  .vt-group {
    display: none !important;
  }

  #globalNewBtn {
    height: 42px;
    border-radius: 14px;
    padding: 0 14px;
  }
}

/* ================================ */
/* Fixariu PREMIUM — NOVO AGENDAMENTO */
/* ================================ */

#panel-novo {
  max-width: 780px;
  margin: 0 auto;
}

#panel-novo > div {
  max-width: none !important;
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(19,24,40,.06) !important;
  border-radius: 30px !important;
  padding: 34px !important;
  box-shadow: 0 24px 70px rgba(31,35,55,.10) !important;
  position: relative;
  overflow: hidden;
}

#panel-novo > div::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(216,39,118,.18), transparent 65%);
  pointer-events: none;
}

#panel-novo > div > div:first-child {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #1f2430;
  margin-bottom: 28px !important;
  letter-spacing: -0.6px;
}

#panel-novo > div > div:first-child::before {
  content: "\ea53";
  font-family: "tabler-icons";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-right: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light));
  color: white;
  font-size: 24px;
  vertical-align: middle;
  box-shadow: 0 14px 26px rgba(216,39,118,.26);
}

#panel-novo .fl {
  margin-bottom: 20px;
}

#panel-novo .fl label {
  font-size: 13px !important;
  font-weight: 800;
  color: #5f6675 !important;
  margin-bottom: 8px !important;
}

#panel-novo .fl input,
#panel-novo .fl select {
  height: 54px;
  border-radius: 18px !important;
  border: 1px solid #edf0f6 !important;
  background: #ffffff !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 700;
  color: #1f2430 !important;
  box-shadow: 0 10px 26px rgba(31,35,55,.045);
}

#panel-novo .fl input:focus,
#panel-novo .fl select:focus {
  border-color: #f3a7c8 !important;
  box-shadow: 0 0 0 4px rgba(216,39,118,.10);
}

#panel-novo > div > div[style*="grid-template-columns"] {
  gap: 18px !important;
}

#panel-novo > div > div:last-child {
  margin-top: 26px !important;
  gap: 14px !important;
}

#panel-novo .btn {
  height: 54px;
  border-radius: 18px !important;
  font-weight: 900;
  padding: 0 22px !important;
}

#panel-novo .btn-p {
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  box-shadow: 0 16px 30px rgba(216,39,118,.25);
}

#panel-novo .btn:not(.btn-p) {
  background: #ffffff !important;
  border: 1px solid #edf0f6 !important;
  color: #6b7280 !important;
}

#panel-novo .btn:not(.btn-p):hover {
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

@media (max-width: 768px) {
  #panel-novo {
    max-width: none;
  }

  #panel-novo > div {
    border-radius: 26px !important;
    padding: 24px 18px !important;
  }

  #panel-novo > div > div:first-child {
    font-size: 22px !important;
  }

  #panel-novo > div > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  #panel-novo > div > div:last-child {
    flex-direction: column;
  }

  #panel-novo .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================ */
/* Fixariu PREMIUM — SIDEBAR */
/* ================================ */

.sidebar {
  width: 260px !important;
  background: rgba(255,255,255,.96) !important;
  border-right: 1px solid #edf0f6 !important;
  box-shadow: 18px 0 50px rgba(31,35,55,.06);
}

.logo {
  padding: 30px 22px 24px !important;
  border-bottom: none !important;
}

.logo-text {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: var(--sector-primary) !important;
  letter-spacing: -1px;
}

.logo-text::before {
  content: "✿";
  margin-right: 8px;
  color: #f19abe;
}

.logo-sub {
  font-size: 12px !important;
  color: #6b7280 !important;
  margin-top: 4px !important;
}

.nav {
  padding: 10px 14px !important;
}

.nl {
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #9aa1ad !important;
  padding: 0 12px !important;
  margin: 18px 0 8px !important;
  letter-spacing: .08em;
}

.ni {
  height: 52px;
  padding: 0 16px !important;
  border-radius: 16px !important;
  color: #5f6675 !important;
  font-size: 15px !important;
  font-weight: 750;
  gap: 14px !important;
  margin-bottom: 6px !important;
}

.ni i {
  font-size: 20px !important;
  color: #626a7c;
}

.ni:hover {
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

.ni:hover i {
  color: var(--sector-primary) !important;
}

.ni.active {
  background: linear-gradient(135deg, var(--sector-soft), #ffeaf3) !important;
  color: var(--sector-primary) !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 26px rgba(216,39,118,.10);
}

.ni.active i {
  color: var(--sector-primary) !important;
}

.sf {
  padding: 18px !important;
  border-top: 1px solid #edf0f6 !important;
}

.up {
  padding: 12px !important;
  border-radius: 18px !important;
  background: #ffffff;
}

.av {
  width: 38px !important;
  height: 38px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  font-weight: 900 !important;
}

.ui p {
  font-size: 14px !important;
  font-weight: 900 !important;
}

.ui span {
  font-size: 12px !important;
}

/* overlay mais bonito */
.sidebar-overlay.show {
  background: rgba(31,35,55,.34) !important;
  backdrop-filter: blur(2px);
}

/* mobile */
@media (max-width: 768px) {
  .sidebar {
    width: 260px !important;
    left: -260px !important;
    z-index: 1000 !important;
  }

  .sidebar.open {
    left: 0 !important;
  }

  .sidebar .ni {
    height: 50px !important;
  }

  .menu-toggle {
    background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
    box-shadow: 0 12px 24px rgba(216,39,118,.28);
  }
}

/* ================================ */
/* Fixariu PREMIUM — CLIENTES */
/* ================================ */

#panel-clientes {
  max-width: 980px;
  margin: 0 auto;
}

.clients-header {
  background: transparent !important;
  margin-bottom: 22px !important;
}

.clients-header h2 {
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -0.8px;
}

.clients-header h2::before {
  content: "\ebf0";
  font-family: "tabler-icons";
  margin-right: 10px;
  color: var(--sector-primary);
}

.clients-header p {
  font-size: 14px !important;
  color: #6b7280 !important;
}

.clients-header .btn-p {
  height: 46px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  box-shadow: 0 14px 28px rgba(216,39,118,.22);
  font-weight: 900;
}

.clients-search {
  height: 58px;
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 1px solid #edf0f6;
  box-shadow: 0 14px 36px rgba(31,35,55,.07) !important;
  padding: 0 18px !important;
  margin-bottom: 20px !important;
}

.clients-search i {
  color: var(--sector-primary);
  font-size: 20px;
}

.clients-search input {
  font-size: 15px !important;
  color: #1f2430;
}

.clients-list {
  gap: 14px !important;
}

.client-card {
  border-radius: 26px !important;
  padding: 18px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
  transition: .18s ease;
}

.client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(31,35,55,.12) !important;
}

.client-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, var(--sector-soft), #e9fbf4) !important;
  color: var(--sector-primary) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.client-info strong {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.client-info span {
  font-size: 13px !important;
  color: #6b7280 !important;
}

.client-total {
  min-width: 80px;
  text-align: right;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #159b72 !important;
}

.client-actions {
  gap: 8px !important;
}

.client-action {
  width: 44px !important;
  height: 44px !important;
  border-radius: 16px !important;
  background: #f6f7f9 !important;
  color: #5f6675 !important;
  transition: .15s ease;
}

.client-action:hover {
  transform: translateY(-1px);
}

.client-action.whatsapp {
  background: #dcfce7 !important;
  color: #128c7e !important;
}

.client-action.delete {
  background: #fff1f3 !important;
  color: #d33b55 !important;
}

@media (max-width: 768px) {
  #panel-clientes {
    max-width: none;
  }

  .clients-header {
    flex-direction: column;
    align-items: stretch !important;
  }

  .clients-header .btn-p {
    width: 100%;
    justify-content: center;
  }

  .client-card {
    display: grid !important;
    grid-template-columns: 58px 1fr;
    gap: 14px !important;
  }

  .client-total {
    grid-column: 2;
    text-align: left;
  }

  .client-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }

  .client-action {
    width: 100% !important;
  }
}

/* ================================ */
/* Fixariu PREMIUM — SERVIÇOS */
/* ================================ */

#panel-servicos {
  max-width: 980px;
  margin: 0 auto;
}

#panel-servicos .team-header h2 {
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -0.8px;
}

#panel-servicos .team-header h2::before {
  content: "\ec45";
  font-family: "tabler-icons";
  margin-right: 10px;
  color: var(--sector-primary);
}

#panel-servicos .team-header p {
  font-size: 14px !important;
  color: #6b7280 !important;
}

#panel-servicos .team-header .btn-p {
  height: 46px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  box-shadow: 0 14px 28px rgba(216,39,118,.22);
  font-weight: 900;
}

.services-list {
  gap: 16px !important;
}

.service-card {
  border-radius: 28px !important;
  padding: 20px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
  transition: .18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(31,35,55,.12) !important;
}

.service-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, var(--sector-soft), #e9fbf4) !important;
  color: var(--sector-primary) !important;
  font-size: 25px !important;
}

.service-info strong {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.service-info span {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-top: 5px !important;
}

.service-price {
  min-width: 90px;
  text-align: right;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #159b72 !important;
}

.service-actions {
  gap: 8px !important;
}

.service-action {
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  background: #f6f7f9 !important;
  color: #5f6675 !important;
  transition: .15s ease;
}

.service-action:hover {
  transform: translateY(-1px);
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

.service-action:nth-child(2) {
  background: #fff1f3 !important;
  color: #d33b55 !important;
}

@media (max-width: 768px) {
  #panel-servicos {
    max-width: none;
  }

  #panel-servicos .team-header {
    flex-direction: column;
    align-items: stretch !important;
  }

  #panel-servicos .team-header .btn-p {
    width: 100%;
    justify-content: center;
  }

  .service-card {
    display: grid !important;
    grid-template-columns: 60px 1fr auto;
    gap: 14px !important;
  }

  .service-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-action {
    width: 100% !important;
  }
}

/* ================================ */
/* Fixariu PREMIUM — EQUIPA */
/* ================================ */

#panel-equipa {
  max-width: 980px;
  margin: 0 auto;
}

#panel-equipa .team-header h2 {
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -0.8px;
}

#panel-equipa .team-header h2::before {
  content: "\eb4d";
  font-family: "tabler-icons";
  margin-right: 10px;
  color: var(--sector-primary);
}

#panel-equipa .team-header p {
  font-size: 14px !important;
  color: #6b7280 !important;
}

#panel-equipa .team-header .btn-p {
  height: 46px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  box-shadow: 0 14px 28px rgba(216,39,118,.22);
  font-weight: 900;
}

.team-list {
  gap: 16px !important;
}

.team-card {
  border-radius: 28px !important;
  padding: 20px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
  transition: .18s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(31,35,55,.12) !important;
}

.team-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, var(--sector-soft), #e9fbf4) !important;
  color: var(--sector-primary) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.team-info strong {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.team-info span {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-top: 4px !important;
}

.team-stats {
  min-width: 130px !important;
  text-align: right !important;
  padding-right: 8px;
}

.team-stats strong {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #159b72 !important;
}

.team-stats span {
  font-size: 12px !important;
  color: #6b7280 !important;
  margin-bottom: 6px;
}

.team-actions {
  gap: 8px !important;
}

.team-action {
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  background: #f6f7f9 !important;
  color: #5f6675 !important;
  transition: .15s ease;
}

.team-action:hover {
  transform: translateY(-1px);
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

.team-action.whatsapp {
  background: #dcfce7 !important;
  color: #128c7e !important;
}

.team-action.delete {
  background: #fff1f3 !important;
  color: #d33b55 !important;
}

@media (max-width: 768px) {
  #panel-equipa {
    max-width: none;
  }

  #panel-equipa .team-header {
    flex-direction: column;
    align-items: stretch !important;
  }

  #panel-equipa .team-header .btn-p {
    width: 100%;
    justify-content: center;
  }

  .team-card {
    display: grid !important;
    grid-template-columns: 60px 1fr;
    gap: 14px !important;
  }

  .team-stats {
    grid-column: 2;
    text-align: left !important;
    padding-right: 0;
  }

  .team-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }

  .team-action {
    width: 100% !important;
  }
}

/* ================================ */
/* Fixariu PREMIUM — FINANÇAS */
/* ================================ */

#panel-financas {
  max-width: 1080px;
  margin: 0 auto;
}

.finance-dashboard {
  gap: 22px !important;
}

.finance-dashboard::before {
  content: "Finanças";
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: #1f2430;
  letter-spacing: -0.8px;
  margin-bottom: -6px;
}

.finance-dashboard::after {
  content: "Resumo de pagamentos, pendentes e melhores clientes.";
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-top: -22px;
  margin-bottom: 4px;
  order: -1;
}

.finance-cards {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

.finance-card {
  border-radius: 28px !important;
  padding: 24px !important;
  min-height: 160px;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05) !important;
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
  position: relative;
  overflow: hidden;
  transition: .18s ease;
}

.finance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(31,35,55,.12) !important;
}

.finance-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(216,39,118,.08);
}

.finance-card span {
  font-size: 14px !important;
  font-weight: 900;
  color: #1f2430 !important;
  margin-bottom: 10px !important;
}

.finance-card strong {
  font-size: 34px !important;
  font-weight: 900 !important;
  letter-spacing: -1px;
  color: var(--sector-primary) !important;
  margin-bottom: 10px !important;
}

.finance-card small {
  font-size: 13px !important;
  color: #6b7280 !important;
  line-height: 1.35;
}

.finance-card.warning {
  background: linear-gradient(135deg, #fff8f1, #ffffff) !important;
}

.finance-card.warning strong {
  color: #f06a1a !important;
}

.finance-card.warning::after {
  background: rgba(240,106,26,.10);
}

.finance-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.finance-box {
  border-radius: 28px !important;
  padding: 22px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
}

.finance-title {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #1f2430;
  margin-bottom: 16px !important;
}

.payment-row {
  padding: 14px 0 !important;
  border-bottom: 1px solid #edf0f6 !important;
  align-items: center;
}

.payment-row strong {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.payment-row span {
  font-size: 13px !important;
  color: #6b7280 !important;
}

.payment-row b {
  font-size: 18px !important;
  font-weight: 900;
  color: #159b72 !important;
}

@media (max-width: 900px) {
  .finance-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  #panel-financas {
    max-width: none;
  }

  .finance-cards {
    grid-template-columns: 1fr !important;
  }

  .finance-grid {
    grid-template-columns: 1fr !important;
  }

  .finance-dashboard::before {
    font-size: 30px;
  }
}

/* ================================ */
/* Fixariu PREMIUM — VISTA LISTA */
/* ================================ */

.appt-list {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.al-head {
  background: transparent !important;
  border: none !important;
  padding: 0 0 18px 0 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
}

.al-head::before {
  content: "📋 ";
  margin-right: 6px;
}

/* cada marcação */

.al-row {
  background: rgba(255,255,255,.94) !important;
  border-radius: 24px !important;
  padding: 18px !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 14px 38px rgba(31,35,55,.08);
  transition: .18s ease;
}

.al-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(31,35,55,.12);
}

.al-row:last-child {
  border-bottom: none !important;
}

/* hora */

.al-time {
  width: 70px !important;
}

.al-t {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
}

.al-d {
  font-size: 12px !important;
  color: #7b8292 !important;
  margin-top: 3px;
}

/* bolinha */

.al-dot {
  width: 10px !important;
  height: 10px !important;
}

/* cliente */

.al-info {
  flex: 1;
}

.al-cl {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.al-sv {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-top: 4px;
}

/* estados */

.sb {
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.s-conf {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.s-paid {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.s-pend {
  background: #fff3d9 !important;
  color: #c26a00 !important;
}

/* botão pagamento */

.pay-btn {
  height: 40px !important;
  border-radius: 14px !important;
  padding: 0 14px !important;
  font-weight: 800 !important;
  border: none !important;
  background: #f6f7f9 !important;
  color: #5f6675 !important;
}

.pay-btn:hover {
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

.pay-btn.reg {
  background: linear-gradient(135deg,var(--sector-primary),var(--sector-primary-light)) !important;
  color: white !important;
  box-shadow: 0 10px 24px rgba(216,39,118,.22);
}

/* mobile */

@media (max-width:768px){

  .al-row{
    flex-wrap:wrap;
    gap:12px;
  }

  .al-time{
    width:100%;
  }

  .al-info{
    width:100%;
  }

  .sb{
    margin-left:auto;
  }

  .pay-btn{
    width:100%;
    justify-content:center;
  }

}

/* CORREÇÃO — mostrar Dia/Semana/Mês/Lista no mobile */

/* esconder por defeito */
.vt-group {
  display: none !important;
}

/* mostrar apenas na Agenda */
#panel-agenda.active .vt-group {
  display: flex !important;
}

@media (max-width:768px){

  #panel-agenda.active .vt-group{
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    z-index: 850;

    background: #fff;
    border-radius: 999px;
    padding: 6px;

    box-shadow: 0 12px 30px rgba(31,35,55,.10);
  }

  #panel-agenda.active .vt-btn{
    flex:1;
  }

}

/* ================================ */
/* Fixariu PREMIUM — MODAL PAGAMENTO */
/* ================================ */

.modal-wrap.show {
  background: rgba(31, 35, 55, 0.46) !important;
  backdrop-filter: blur(4px);
}

.modal {
  border-radius: 30px !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  box-shadow: 0 28px 90px rgba(31,35,55,.28) !important;
  padding: 28px !important;
}

.modal-title {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -0.5px;
}

.modal-sub {
  font-size: 14px !important;
  color: #6b7280 !important;
  margin-bottom: 22px !important;
}

.modal-client {
  background: linear-gradient(135deg, var(--sector-soft), #ffffff) !important;
  border: 1px solid #ffe0ec;
  border-radius: 22px !important;
  padding: 16px !important;
  margin-bottom: 22px !important;
}

.mc-av {
  width: 52px !important;
  height: 52px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.mc-n {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
}

.mc-s {
  font-size: 13px !important;
  color: #6b7280 !important;
}

.modal .fl label {
  font-size: 13px !important;
  font-weight: 800;
  color: #5f6675 !important;
}

.modal .fl input,
.modal .fl select {
  height: 52px;
  border-radius: 18px !important;
  border: 1px solid #edf0f6 !important;
  background: #ffffff !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  font-weight: 800;
}

.pay-methods {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin-top: 10px;
}

.pm {
  min-height: 78px;
  border-radius: 20px !important;
  border: 1px solid #edf0f6 !important;
  background: #ffffff !important;
  color: #5f6675 !important;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .16s ease;
}

.pm:hover {
  transform: translateY(-1px);
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

.pm.sel {
  background: linear-gradient(135deg, var(--sector-soft), #ffeaf3) !important;
  border-color: var(--sector-border) !important;
  color: var(--sector-primary) !important;
  box-shadow: 0 14px 28px rgba(216,39,118,.12);
}

.pm .ti {
  font-size: 22px !important;
  margin-bottom: 6px !important;
}

.modal-actions {
  gap: 10px !important;
  margin-top: 22px !important;
  align-items: center;
}

.ma-cancel {
  height: 48px;
  border-radius: 16px !important;
  border: 1px solid #edf0f6 !important;
  background: #ffffff !important;
  color: #5f6675 !important;
  font-weight: 800;
  padding: 0 14px !important;
}

.ma-cancel:hover {
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
}

.ma-confirm {
  min-height: 58px;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  box-shadow: 0 16px 32px rgba(216,39,118,.26);
  font-size: 14px !important;
  font-weight: 900 !important;
  padding: 0 18px !important;
}

.troco {
  background: var(--sector-soft) !important;
  border-radius: 18px !important;
  padding: 14px !important;
  color: #6b7280 !important;
}

.troco strong {
  color: var(--sector-primary) !important;
  font-weight: 900;
}

@media (max-width: 520px) {
  .modal {
    width: calc(100vw - 28px) !important;
    padding: 22px !important;
  }

  .pay-methods {
    grid-template-columns: 1fr 1fr !important;
  }

  .modal-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .ma-confirm {
    grid-column: 1 / -1;
  }
}

/* ================================ */
/* Fixariu PREMIUM — NOTIFICAÇÕES */
/* ================================ */

#panel-notif {
  max-width: 1080px;
  margin: 0 auto;
}

.notif-header {
  margin-bottom: 22px !important;
}

.notif-header h2 {
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -0.8px;
}

.notif-header h2::before {
  content: "\ea35";
  font-family: "tabler-icons";
  margin-right: 10px;
  color: var(--sector-primary);
}

.notif-header p {
  font-size: 14px !important;
  color: #6b7280 !important;
}

.notif-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.notif-box {
  border-radius: 28px !important;
  padding: 22px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
}

.notif-title {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #1f2430;
  margin-bottom: 16px !important;
}

.notif-title-row button {
  height: 38px;
  border-radius: 999px !important;
  padding: 0 14px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(216,39,118,.20);
}

.notif-item {
  border-radius: 22px !important;
  padding: 18px !important;
  background: #fbfcfd !important;
  border: 1px solid #edf0f6;
  margin-bottom: 14px !important;
}

.notif-item strong {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.notif-item span {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-top: 4px !important;
}

.notif-item span[style*="color:#1D9E75"],
.notif-item span[style*="color: #1D9E75"] {
  color: #159b72 !important;
}

.notif-item span[style*="color:#E59A23"],
.notif-item span[style*="color: #E59A23"] {
  color: #f06a1a !important;
}

.notif-actions {
  gap: 10px !important;
  margin-top: 14px !important;
}

.notif-actions button {
  height: 44px;
  border-radius: 16px !important;
  font-weight: 900;
}

.notif-whatsapp {
  background: #dcfce7 !important;
  color: #128c7e !important;
}

.notif-copy {
  background: #f6f7f9 !important;
  color: #5f6675 !important;
}

.notif-actions button:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  #panel-notif {
    max-width: none;
  }

  .notif-grid {
    grid-template-columns: 1fr !important;
  }

  .notif-title-row {
    align-items: flex-start;
  }
}



/* CORREÇÃO DEFINITIVA — menu Dia/Semana/Mês/Lista */

#view-toggle {
  display: none !important;
}

body.agenda-page #view-toggle {
  display: flex !important;
}

@media (max-width: 768px) {
  body.agenda-page #view-toggle {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 78px !important;
    z-index: 950 !important;

    background: #fff !important;
    border-radius: 999px !important;
    padding: 6px !important;
    box-shadow: 0 12px 30px rgba(31,35,55,.10) !important;
  }

  body.agenda-page #view-toggle .vt-btn {
    flex: 1 !important;
  }

  body.agenda-page .content {
    padding-top: 150px !important;
  }

  body:not(.agenda-page) .content {
    padding-top: 88px !important;
  }
}

/* ================================ */
/* Fixariu PREMIUM — MARCAÇÃO ONLINE */
/* ================================ */

#panel-booking {
  max-width: 1080px;
  margin: 0 auto;
}

#panel-booking .booking-header {
  border-radius: 32px !important;
  padding: 34px !important;
  margin-bottom: 22px !important;
  background:
    radial-gradient(circle at right top, rgba(216,39,118,.18), transparent 34%),
    linear-gradient(135deg, #ffffff, var(--sector-soft)) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 22px 60px rgba(31,35,55,.10) !important;
}

#panel-booking .booking-header h2 {
  font-size: 34px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -1px;
}

#panel-booking .booking-header h2::before {
  content: "\eb54";
  font-family: "tabler-icons";
  margin-right: 10px;
  color: var(--sector-primary);
}

#panel-booking .booking-header p {
  font-size: 15px !important;
  color: #6b7280 !important;
  max-width: 620px;
  line-height: 1.55;
}

#panel-booking .booking-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

#panel-booking .booking-card {
  border-radius: 28px !important;
  padding: 24px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05);
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
}

#panel-booking .booking-card h3 {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

#panel-booking .booking-card p {
  font-size: 14px !important;
  color: #6b7280 !important;
  line-height: 1.5;
}

#panel-booking .booking-card input {
  height: 54px;
  border-radius: 18px !important;
  background: #fbfcfd !important;
  border: 1px solid #edf0f6 !important;
  font-weight: 800;
}

#panel-booking .btn-p,
#panel-booking .booking-form button,
#panel-booking .preview-actions .primary {
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  box-shadow: 0 14px 28px rgba(216,39,118,.22);
  font-weight: 900;
}

#panel-booking .preview-phone {
  max-width: 430px !important;
  margin: 24px auto 0 !important;
  border-radius: 36px !important;
  padding: 18px !important;
  background: #ffffff !important;
  border: 8px solid #1f2430;
  box-shadow: 0 28px 80px rgba(31,35,55,.22) !important;
}

#panel-booking .preview-chat {
  background: linear-gradient(180deg, #fff7fb, #ffffff);
  border-radius: 26px;
  padding: 18px;
  min-height: 520px;
}

#panel-booking .chat-bubble {
  border-radius: 22px !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  box-shadow: 0 10px 22px rgba(31,35,55,.06);
}

#panel-booking .chat-bubble.bot {
  background: #ffffff !important;
  color: #1f2430 !important;
  border: 1px solid #edf0f6;
}

#panel-booking .chat-bubble.user {
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  color: white !important;
}

#panel-booking .booking-options {
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

#panel-booking .client-option {
  border-radius: 20px !important;
  background: #ffffff !important;
  color: #1f2430 !important;
  border: 1px solid #edf0f6;
  box-shadow: 0 10px 24px rgba(31,35,55,.06);
}

#panel-booking .client-option:hover {
  background: var(--sector-soft) !important;
  border-color: #f3bad3;
  transform: translateY(-1px);
}

#panel-booking .client-option strong {
  font-weight: 900 !important;
}

#panel-booking .client-option span {
  color: #6b7280 !important;
}

#panel-booking .booking-form input {
  height: 50px;
  border-radius: 16px !important;
  border: 1px solid #edf0f6 !important;
  background: #ffffff !important;
}

#panel-booking .preview-actions .secondary {
  border-radius: 18px !important;
  background: #f6f7f9 !important;
  color: #5f6675 !important;
  font-weight: 900;
}

@media (max-width:768px) {
  #panel-booking {
    max-width: none;
  }

  #panel-booking .booking-grid {
    grid-template-columns: 1fr !important;
  }

  #panel-booking .booking-header {
    padding: 26px 20px !important;
  }

  #panel-booking .booking-header h2 {
    font-size: 30px !important;
  }

  #panel-booking .preview-phone {
    max-width: 100% !important;
    border-width: 6px;
  }

  #panel-booking .booking-options {
    grid-template-columns: 1fr !important;
  }
}

/* ================================ */
/* Fixariu PREMIUM — CONFIGURAÇÕES */
/* ================================ */

#panel-config {
  max-width: 980px;
  margin: 0 auto;
}

.settings-dashboard {
  max-width: none !important;
  gap: 18px !important;
}

.settings-dashboard::before {
  content: "Configurações";
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: #1f2430;
  letter-spacing: -0.8px;
  margin-bottom: -6px;
}

.settings-dashboard::after {
  content: "Dados do negócio, link de marcação e preferências.";
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-top: -18px;
  margin-bottom: 6px;
  order: -1;
}

.settings-box {
  border-radius: 28px !important;
  padding: 24px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(19,24,40,.05) !important;
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
}

.settings-title {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #1f2430;
  margin-bottom: 18px !important;
}

.settings-title::before {
  content: "✦";
  color: var(--sector-primary);
  margin-right: 8px;
}

.settings-form {
  gap: 16px !important;
}

.settings-form .fl label {
  font-size: 13px !important;
  font-weight: 800;
  color: #5f6675 !important;
}

.settings-form .fl input,
.settings-form .fl select {
  height: 54px;
  border-radius: 18px !important;
  border: 1px solid #edf0f6 !important;
  background: #ffffff !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 700;
  color: #1f2430 !important;
  box-shadow: 0 10px 26px rgba(31,35,55,.045);
}

.settings-form .fl input:focus,
.settings-form .fl select:focus {
  border-color: #f3a7c8 !important;
  box-shadow: 0 0 0 4px rgba(216,39,118,.10);
}

.booking-link {
  border-radius: 20px !important;
  background: #fbfcfd !important;
  border: 1px solid #edf0f6;
  padding: 14px !important;
}

.booking-link span {
  font-size: 14px !important;
  font-weight: 800;
  color: #1f2430 !important;
}

.booking-link .btn-p {
  height: 44px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  border: none !important;
  box-shadow: 0 12px 24px rgba(216,39,118,.20);
  font-weight: 900;
}

.settings-help {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-top: 10px !important;
}

/* PWA — instalação no telemóvel */
.install-app-button {
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  padding: 11px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(219, 47, 120, 0.18);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(219, 47, 120, 0.09), rgba(219, 47, 120, 0.03));
  color: var(--color-text-primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.install-app-button[hidden] {
  display: none !important;
}

.install-app-button:hover {
  transform: translateY(-1px);
  border-color: rgba(219, 47, 120, 0.35);
  background: linear-gradient(135deg, rgba(219, 47, 120, 0.13), rgba(219, 47, 120, 0.05));
}

.install-app-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #db2f78;
  color: #fff;
  font-size: 19px;
}

.install-app-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.install-app-copy strong {
  font-size: 12px;
  line-height: 1.2;
}

.install-app-copy small {
  overflow: hidden;
  color: var(--color-text-secondary);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-app-arrow {
  color: #db2f78;
  font-size: 16px;
}

.pwa-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

.pwa-modal.show {
  display: flex;
}

.pwa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 20, 24, 0.48);
  backdrop-filter: blur(3px);
}

.pwa-modal-card {
  position: relative;
  width: min(100%, 390px);
  padding: 28px 24px 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(32, 19, 27, 0.24);
  text-align: center;
}

.pwa-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f5f2f4;
  color: #51474d;
  cursor: pointer;
}

.pwa-modal-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.pwa-modal-card h2 {
  margin: 12px 0 7px;
  font-size: 21px;
}

.pwa-modal-card > p {
  margin: 0 auto 18px;
  max-width: 300px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.pwa-ios-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: pwa-step;
  text-align: left;
}

.pwa-ios-steps li {
  counter-increment: pwa-step;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #eee8ec;
  color: #51474d;
  font-size: 13px;
}

.pwa-ios-steps li::before {
  content: counter(pwa-step);
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(219, 47, 120, 0.1);
  color: #c52367;
  font-weight: 700;
}

.pwa-modal-ok {
  width: 100%;
  justify-content: center;
}

@media (min-width: 700px) {
  .pwa-modal {
    align-items: center;
  }
}

@media (display-mode: standalone) {
  .install-app-button {
    display: none !important;
  }
}

.settings-plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light));
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(216, 39, 118, 0.25);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.settings-plan-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(216, 39, 118, 0.3);
}

.settings-plan-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.schedule-list div {
  padding: 14px 0 !important;
  border-bottom: 1px solid #edf0f6 !important;
}

.schedule-list strong {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.schedule-list span {
  font-size: 14px !important;
  color: #6b7280 !important;
  font-weight: 700;
}

.settings-toggle {
  padding: 18px 0 !important;
  border-bottom: 1px solid #edf0f6 !important;
  align-items: center;
}

.settings-toggle strong {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.settings-toggle span {
  font-size: 13px !important;
  color: #6b7280 !important;
}

.switch {
  width: 54px !important;
  height: 30px !important;
}

.switch span {
  background: #e5e7eb !important;
}

.switch span::before {
  width: 24px !important;
  height: 24px !important;
}

.switch input:checked + span {
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
}

.switch input:checked + span::before {
  transform: translateX(24px) !important;
}

.settings-save {
  height: 56px;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  box-shadow: 0 16px 32px rgba(216,39,118,.25);
  font-size: 15px !important;
  font-weight: 900 !important;
}

@media (max-width:768px) {
  #panel-config {
    max-width: none;
  }

  .settings-form {
    grid-template-columns: 1fr !important;
  }

  .booking-link {
    flex-direction: column;
    align-items: stretch !important;
  }

  .booking-link .btn-p {
    width: 100%;
    justify-content: center;
  }
}

/* ================================ */
/* Fixariu PREMIUM — DASHBOARD INÍCIO */
/* ================================ */

#panel-dash {
  max-width: 980px;
  margin: 0 auto;
}

.mobile-dashboard {
  max-width: 760px !important;
  padding-bottom: 110px !important;
}

.dash-hello {
  margin-bottom: 22px !important;
}

.dash-hello h1 {
  font-size: 36px !important;
  font-weight: 900 !important;
  color: #1f2430 !important;
  letter-spacing: -1.2px;
}

.dash-hello h1::after {
  content: " 👋";
  font-size: 28px;
}

.dash-hello p {
  font-size: 15px !important;
  color: #6b7280 !important;
}

.dash-week-strip {
  gap: 10px !important;
  margin-bottom: 22px !important;
}

.dash-day {
  height: 72px !important;
  border-radius: 22px !important;
  background: #f3f4f6 !important;
  box-shadow: inset 0 0 0 1px rgba(19,24,40,.03);
}

.dash-day span {
  color: #6b7280 !important;
}

.dash-day strong {
  color: #1f2430 !important;
  font-weight: 900 !important;
}

.dash-day.active {
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  box-shadow: 0 14px 30px rgba(216,39,118,.25) !important;
}

.dash-day.active span,
.dash-day.active strong {
  color: #ffffff !important;
}

.dash-premium-cards {
  gap: 16px !important;
}

.dash-premium-card {
  border-radius: 30px !important;
  min-height: 170px !important;
  padding: 24px !important;
  box-shadow: 0 20px 50px rgba(31,35,55,.10) !important;
  border: 1px solid rgba(19,24,40,.05);
}

.dash-premium-card.cyan {
  background: linear-gradient(135deg, var(--sector-soft), #ffffff) !important;
  color: #1f2430 !important;
}

.dash-premium-card.dark {
  background: linear-gradient(135deg, #282c35, #1f2430) !important;
  color: #ffffff !important;
}

.dash-premium-card.white {
  background: rgba(255,255,255,.96) !important;
}

.dash-premium-card span {
  font-size: 18px !important;
  font-weight: 900 !important;
}

.dash-premium-card small {
  font-size: 13px !important;
  color: inherit;
  opacity: .72 !important;
}

.dash-premium-card strong {
  font-size: 50px !important;
  font-weight: 900 !important;
  letter-spacing: -2px !important;
}

.dash-premium-card.cyan strong {
  color: var(--sector-primary) !important;
}

.dash-premium-card.dark strong {
  color: #ffffff !important;
}

.dash-premium-card.white strong {
  color: #159b72 !important;
}

.dash-premium-card.warning strong {
  color: #f06a1a !important;
}

.dash-premium-card em {
  background: rgba(216,39,118,.10) !important;
  color: var(--sector-primary) !important;
  font-weight: 900 !important;
}

.dash-premium-card.dark em {
  background: rgba(255,255,255,.12) !important;
  color: var(--sector-border) !important;
}

.dash-section-title {
  margin-top: 6px !important;
}

.dash-section-title h3 {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #1f2430;
}

.dash-section-title h3::before {
  content: "\ea53";
  font-family: "tabler-icons";
  color: var(--sector-primary);
  margin-right: 8px;
}

.dash-section-title button {
  background: var(--sector-soft) !important;
  color: var(--sector-primary) !important;
  font-weight: 900 !important;
}

.dash-timeline {
  border-radius: 28px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 18px 45px rgba(31,35,55,.08) !important;
}

.dash-timeline .al-row {
  border-radius: 22px !important;
  margin: 12px !important;
  border: 1px solid #edf0f6 !important;
  box-shadow: none !important;
}

.dash-new {
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light)) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(216,39,118,.28) !important;
}

@media (max-width: 768px) {
  .mobile-dashboard {
    max-width: none !important;
  }

  .dash-premium-cards {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 430px) {
  .dash-premium-cards {
    grid-template-columns: 1fr !important;
  }
}

.appointment-client-click {
  cursor: pointer;
  transition: 0.18s ease;
}

.appointment-client-click:hover {
  transform: translateY(-1px);
  background: var(--sector-soft) !important;
  border-color: var(--sector-border) !important;
}

.mc-link {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 900;
  color: var(--sector-primary);
}


.appointment-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.appointment-detail-grid > div {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 13px 14px;
}

.appointment-detail-grid span {
  display: block;
  font-size: 11px;
  color: #7a8494;
  margin-bottom: 5px;
}

.appointment-detail-grid strong {
  display: block;
  font-size: 14px;
  color: #141827;
}

@media (max-width: 420px) {
  .appointment-detail-grid {
    grid-template-columns: 1fr;
  }
}

.next-client-card{
  background:linear-gradient(135deg,#172233,#263244);
  color:white;
  border-radius:28px;
  padding:22px 24px;
  margin:18px 0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 20px 40px rgba(23,34,51,.18);
}

.next-client-card span{
  display:block;
  font-size:12px;
  opacity:.75;
  margin-bottom:6px;
}

.next-client-card strong{
  display:block;
  font-size:24px;
  line-height:1.1;
}

.next-client-card small{
  display:block;
  margin-top:6px;
  font-size:13px;
  opacity:.85;
}

.next-client-time{
  background:white;
  color:var(--sector-primary);
  min-width:82px;
  height:82px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:800;
}

.appt-price{
  margin-top:4px;
  font-size:11px;
  font-weight:700;
  opacity:.85;
}

.ap-meta{
  margin-top:4px;
  font-size:10px;
  font-weight:800;
  opacity:.78;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Correção modal detalhes — botões sem scroll horizontal */

.appointment-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:18px;
}

.appointment-detail-grid > div{
  background:#f8f9fb;
  border:1px solid #edf0f6;
  border-radius:16px;
  padding:14px;
}

.appointment-detail-grid span{
  display:block;
  font-size:11px;
  color:#6b7280;
  margin-bottom:6px;
}

.appointment-detail-grid strong{
  font-size:14px;
}

.modal-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
}

.modal-actions .ma-cancel,
.modal-actions .ma-confirm{
  width:100% !important;
  min-width:0 !important;
  height:52px !important;
  padding:0 12px !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:normal !important;
}

.modal-actions .ma-confirm{
  grid-column:auto !important;
}

@media(max-width:420px){
  .modal-actions{
    grid-template-columns:1fr !important;
  }
}


.onboarding-screen{
  position:fixed;
  inset:0;
  background:linear-gradient(135deg,#fff7fb,#ffffff);
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.onboarding-screen.hide{
  display:none;
}

.onboarding-card{
  width:100%;
  max-width:420px;
  background:white;
  border-radius:32px;
  padding:32px;
  box-shadow:0 30px 80px rgba(31,35,55,.16);
}

.onboarding-logo{
  width:120px;
  display:block;
  margin:0 auto 22px;
}

.onboarding-card h1{
  text-align:center;
  font-size:30px;
  margin-bottom:8px;
}

.onboarding-card p{
  text-align:center;
  color:#6b7280;
  margin-bottom:24px;
}

.google-login-fake{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid #e5e7eb;
  background:#fff;
  font-weight:800;
  margin-bottom:18px;
  cursor:pointer;
}

.onboarding-role{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:16px 0;
}

.onboarding-role button{
  border:1px solid #edf0f6;
  background:#f8f9fb;
  border-radius:16px;
  padding:14px 10px;
  font-weight:800;
  cursor:pointer;
}

.onboarding-role button.active{
  background:#ffe6f1;
  border-color:var(--sector-primary);
  color:var(--sector-primary);
}

.onboarding-start{
  width:100%;
  height:56px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,var(--sector-primary),var(--sector-primary-light));
  color:white;
  font-weight:900;
  cursor:pointer;
}

.onboarding-account {
  margin: -10px 0 20px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7f8fa;
  color: #626977;
  font-size: 12px;
  text-align: center;
  overflow-wrap: anywhere;
}

.onboarding-sector-label {
  display: block;
  margin: 0 0 7px;
  color: #5f6675;
  font-size: 12px;
  font-weight: 800;
}

.onboarding-sector {
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  padding: 0 13px;
  border: 1px solid var(--sector-border);
  border-radius: 14px;
  color: #1f2430;
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.onboarding-create-salon {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--sector-primary), var(--sector-primary-light));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.onboarding-create-salon:disabled {
  cursor: wait;
  opacity: .65;
}

.onboarding-logout {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: #fff;
  color: #626977;
  cursor: pointer;
  font-weight: 700;
}

.onboarding-invite-note {
  display: block;
  margin-top: 18px;
  color: #7a808c;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.onboarding-error {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #fce8eb;
  color: #a32d42;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.onboarding-error.is-visible {
  display: block;
}


.sidebar{
  height:100vh;
  overflow-y:auto;
  overflow-x:hidden;
  padding-bottom:90px;
}

.sidebar .nav{
  padding-bottom:120px;
}

.sidebar::-webkit-scrollbar{
  width:6px;
}

.sidebar::-webkit-scrollbar-thumb{
  background:#e5e7eb;
  border-radius:999px;
}

.booking-preview-header{
  text-align:center;
  margin-bottom:18px;
}

.booking-preview-logo{
  width:64px;
  height:64px;
  object-fit:contain;
  margin-bottom:8px;
}

.booking-preview-header h3{
  font-size:16px;
  font-weight:600;
  margin:0;
}

.booking-title{
  text-align:center;
  margin-bottom:16px;
}

.booking-title h3{
  margin:0;
  font-size:20px;
  font-weight:700;
}

.booking-title p{
  margin-top:4px;
  color:#888;
  font-size:13px;
}

.team-actions{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}

.team-action{
  width:100%;
  height:46px;
  border:0;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  cursor:pointer;
}

.team-action.whatsapp{
  background:#D9FBEA;
  color:#13945F;
}

.team-action:not(.whatsapp):not(.delete){
  background:#F3F5F8;
  color:#5B6472;
}

.team-action.delete{
  background:#FFECEF;
  color:#E23E5C;
}

.team-card .team-actions{
  display:flex !important;
  gap:10px !important;
  margin-top:18px !important;
  width:100% !important;
}

.team-card .team-action{
  flex:1 !important;
  min-width:0 !important;
  height:46px !important;
  border:0 !important;
  border-radius:16px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:18px !important;
}

.team-card .team-action.whatsapp{
  background:#D9FBEA !important;
  color:#13945F !important;
}

.team-card .team-action:not(.whatsapp):not(.delete){
  background:#F3F5F8 !important;
  color:#5B6472 !important;
}

.team-card .team-action.delete{
  background:#FFECEF !important;
  color:#E23E5C !important;
}

#panel-clientes,
#panel-servicos,
#panel-equipa,
#panel-financas,
#panel-notif,
#panel-booking,
#panel-config,
#panel-novo-cliente {
  padding-top: 24px !important;
  min-height: auto !important;
  display: none;
}

#panel-clientes.active,
#panel-servicos.active,
#panel-equipa.active,
#panel-financas.active,
#panel-notif.active,
#panel-booking.active,
#panel-config.active,
#panel-novo-cliente.active {
  display: block !important;
}

@media (max-width: 768px) {
  .content {
    padding-top: 92px !important;
  }

  #panel-clientes,
  #panel-servicos,
  #panel-equipa,
  #panel-financas,
  #panel-notif,
  #panel-booking,
  #panel-config,
  #panel-novo-cliente {
    padding-top: 0 !important;
  }
}

.app-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  background: #111827;
  color: white;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.25s ease;
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.app-toast.success {
  background: #0F6E56;
}

.app-toast.error {
  background: #B42318;
}

.app-toast.info {
  background: #1F2937;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 280px !important;
    max-width: 82vw;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 9999;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .content {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.subscription-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff2f8, #ffffff);
  border: 1px solid #f6d7e9;
}

.subscription-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e83e8c;
  color: white;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.subscription-card h3 {
  margin: 0;
  font-size: 24px;
}

.subscription-card p {
  margin: 6px 0 0;
  color: #6b7280;
}

.subscription-days {
  min-width: 92px;
  height: 92px;
  border-radius: 24px;
  background: #1f2937;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.subscription-days strong {
  font-size: 34px;
  line-height: 1;
}

.subscription-days span {
  font-size: 11px;
  opacity: 0.8;
  text-align: center;
}



.subscription-expired-screen{
  position:fixed;
  inset:0;
  background:rgba(20,25,40,.72);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999999;
  padding:24px;
}

.subscription-expired-card{
  width:min(420px,100%);
  background:#fff;
  border-radius:24px;
  padding:32px;
  text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}

.subscription-expired-icon{
  font-size:58px;
  margin-bottom:18px;
}

.subscription-expired-card h2{
  margin-bottom:12px;
}

.subscription-expired-card p{
  color:#666;
  line-height:1.6;
  margin-bottom:24px;
}

.subscription-expired-card .btn{
  width:100%;
  margin-top:12px;
}

.subscription-expired-logout{
  margin-top:20px;
  background:none;
  border:none;
  color:#777;
  cursor:pointer;
  font-size:14px;
}

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

#teamInviteBtn {
  height: 46px;
  padding: 0 18px;
  border: 1.5px solid var(--sector-primary) !important;
  border-radius: 16px !important;
  background: var(--sector-soft) !important;
  color: var(--sector-deep) !important;
  font-weight: 800;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(216, 39, 118, 0.12);
}

#teamInviteBtn:hover {
  background: #ffe3ef !important;
  transform: translateY(-1px);
}

.team-plan-summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #f2d6e4;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7fb, #ffffff);
  color: #4b5563;
}

.team-plan-summary.is-visible {
  display: flex;
}

.team-plan-summary strong {
  display: block;
  margin-bottom: 3px;
  color: #252b3b;
  font-size: 14px;
}

.team-plan-summary span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
}

.team-plan-price {
  flex: 0 0 auto;
  color: var(--sector-deep) !important;
  font-size: 18px !important;
  font-weight: 800;
  white-space: nowrap;
}

.team-access-section {
  margin-bottom: 22px;
}

.pending-team-section {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #f2d6e4;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7fb, #fff);
}

.pending-team-section[hidden] {
  display: none !important;
}

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

.pending-team-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #f1dce6;
  border-radius: 16px;
  background: #fff;
}

.pending-team-card strong,
.pending-team-card span {
  display: block;
}

.pending-team-card span {
  margin-top: 3px;
  color: #727887;
  font-size: 12px;
}

.pending-team-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pending-team-reject,
.pending-team-approve {
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.pending-team-reject {
  background: #f4f5f7;
  color: #616776;
}

.pending-team-approve {
  background: var(--sector-primary);
  color: #fff;
}

.staff-approval-summary {
  display: grid;
  gap: 9px;
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: #fff7fb;
}

.staff-approval-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.staff-approval-row strong {
  color: var(--sector-deep);
}

@media (max-width: 640px) {
  .pending-team-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .pending-team-actions,
  .pending-team-actions button {
    width: 100%;
  }
}

.team-access-section[hidden] {
  display: none !important;
}

.team-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
}

.team-section-heading h3 {
  margin: 0;
  color: #252b3b;
  font-size: 16px;
}

.team-section-heading p {
  max-width: 620px;
  margin: 4px 0 0;
  color: #727887;
  font-size: 12px;
  line-height: 1.5;
}

.team-professionals-heading {
  margin-top: 4px;
}

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

.team-access-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8e9ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 43, 59, 0.05);
}

.team-access-card.is-suspended {
  border-color: #f1d4d8;
  background: #fffafa;
}

.team-access-avatar {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f7, #e6f8f2);
  color: var(--sector-deep);
  font-size: 13px;
  font-weight: 900;
}

.team-access-info {
  min-width: 0;
  flex: 1;
}

.team-access-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.team-access-title strong {
  color: #252b3b;
  font-size: 14px;
}

.team-access-info > span,
.team-access-info > small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #727887;
  font-size: 12px;
  text-overflow: ellipsis;
}

.team-access-info > small {
  color: #505767;
}

.team-access-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #117a55;
  font-size: 10px;
  font-weight: 800;
}

.team-access-badge.is-suspended {
  background: #fce8eb;
  color: #a32d42;
}

.team-access-owner-label,
.team-access-revoke {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 800;
}

.team-access-owner-label {
  background: #eef2f7;
  color: #5b6472;
}

.team-access-revoke {
  border: 0;
  background: #ffecef;
  color: #c52e4d;
  cursor: pointer;
}

.team-access-revoke:hover {
  background: #ffdfe5;
}

.team-access-empty {
  padding: 16px;
  border: 1px dashed #d8dae2;
  border-radius: 16px;
  color: #727887;
  font-size: 12px;
  text-align: center;
}

.subscription-price-summary {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .team-header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  #teamInviteBtn,
  .team-header-actions .btn-p {
    width: 100%;
  }

  .team-plan-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-access-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .team-access-info {
    min-width: calc(100% - 60px);
  }

  .team-access-owner-label,
  .team-access-revoke {
    width: 100%;
  }
}
.agenda-block {
  cursor: pointer;
}

.agenda-block:focus-visible {
  outline: 3px solid rgba(226, 62, 138, 0.28);
  outline-offset: 2px;
}

/* ================================
   TEMA VISUAL POR SETOR
   ================================ */
.ni.active,
.wg-hc.today-h,
.mg-cell.today-cell{
  color:var(--sector-deep) !important;
  background:var(--sector-soft) !important;
}

.btn-p,
.vt-btn.active,
.av,
.settings-plan-button,
.settings-save,
.onboarding-start,
.onboarding-create-salon{
  border-color:var(--sector-primary) !important;
  background:linear-gradient(135deg,var(--sector-primary),var(--sector-primary-light)) !important;
  box-shadow:0 14px 30px var(--sector-shadow) !important;
}

.settings-title::before,
.wg-hc.today-h .dn,
.mg-cell.today-cell .mg-day,
.al-t,
.logo-text{
  color:var(--sector-primary) !important;
}

.settings-form .fl input:focus,
.settings-form .fl select:focus,
.onboarding-sector:focus{
  border-color:var(--sector-border) !important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--sector-primary),transparent 88%) !important;
  outline:none;
}

/* Marcação online pública */
.public-booking-page[hidden],
.public-booking-page [hidden] {
  display: none !important;
}

body.public-booking-route {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(236, 72, 153, 0.11), transparent 28rem),
    linear-gradient(145deg, #fff7fb 0%, #ffffff 48%, #f7fafc 100%);
  color: #1f2937;
}

body.public-booking-route > .app,
body.public-booking-route > .onboarding-screen,
body.public-booking-route > .menu-toggle,
body.public-booking-route > .sidebar-overlay {
  display: none !important;
}

.public-booking-page {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-booking-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1040px) / 2));
  border-bottom: 1px solid rgba(31, 41, 55, 0.07);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(31, 41, 55, 0.04);
  backdrop-filter: blur(16px);
}

.public-booking-brand,
.public-booking-back {
  color: #1f2937;
  text-decoration: none;
}

.public-booking-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.public-booking-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(216, 39, 118, 0.18);
}

.public-booking-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.public-booking-back {
  padding: 10px 14px;
  border: 1px solid #e7e9ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s ease;
}

.public-booking-back:hover {
  border-color: #f0b4ce;
  background: #fff5fa;
  color: #c91f67;
}

.public-booking-shell {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  padding: 48px 0 32px;
}

.public-booking-card,
.public-booking-success,
.public-booking-loading,
.public-booking-error {
  border: 1px solid rgba(31, 41, 55, 0.07);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(31, 41, 55, 0.11);
}

.public-booking-card {
  overflow: hidden;
}

.public-booking-intro {
  padding: 40px;
  background:
    radial-gradient(circle at 95% 0, rgba(236, 72, 153, 0.15), transparent 18rem),
    linear-gradient(135deg, #fff8fb, #ffffff);
  border-bottom: 1px solid #f3e8ee;
}

.public-booking-kicker {
  display: block;
  margin-bottom: 10px;
  color: #d82776;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-booking-intro h1,
.public-booking-success h1,
.public-booking-error h1 {
  margin: 0;
  color: #182033;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.public-booking-intro p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #697181;
  font-size: 15px;
  line-height: 1.65;
}

.public-booking-section,
.public-booking-form {
  padding: 32px 40px;
  border-bottom: 1px solid #f0f1f5;
}

.public-booking-form {
  border-bottom: 0;
}

.public-booking-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.public-booking-section-heading > span {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff0f7;
  color: #d82776;
  font-weight: 900;
}

.public-booking-section-heading h2 {
  margin: 0 0 4px;
  color: #252b3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
}

.public-booking-section-heading p {
  margin: 0;
  color: #7a8190;
  font-size: 13px;
  line-height: 1.45;
}

.public-booking-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-booking-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e8eaf0;
  border-radius: 18px;
  background: #fff;
  color: #252b3b;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.public-booking-option:hover {
  transform: translateY(-1px);
  border-color: #efb3cd;
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.07);
}

.public-booking-option.is-selected {
  border-color: #d82776;
  box-shadow: 0 0 0 3px rgba(216, 39, 118, 0.1);
}

.public-booking-option-dot,
.public-booking-option-avatar {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #fff0f7;
  color: #c91f67;
  font-weight: 900;
}

.public-booking-option-dot {
  flex-basis: 14px;
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e0e2e8;
}

.public-booking-option-copy {
  min-width: 0;
  flex: 1;
}

.public-booking-option-copy strong,
.public-booking-option-copy small {
  display: block;
}

.public-booking-option-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-booking-option-copy small {
  margin-top: 4px;
  color: #788090;
  font-size: 12px;
}

.public-booking-date-field,
.public-booking-form-grid label {
  display: grid;
  gap: 7px;
}

.public-booking-date-field {
  max-width: 280px;
  margin-bottom: 18px;
}

.public-booking-date-field > span,
.public-booking-form-grid label > span {
  color: #5f6675;
  font-size: 12px;
  font-weight: 800;
}

.public-booking-date-field input,
.public-booking-form-grid input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #e6e8ef;
  border-radius: 16px;
  outline: 0;
  background: #fff;
  color: #252b3b;
  font: inherit;
  font-size: 15px;
  transition: 0.18s ease;
}

.public-booking-date-field input:focus,
.public-booking-form-grid input:focus {
  border-color: #d82776;
  box-shadow: 0 0 0 4px rgba(216, 39, 118, 0.1);
}

.public-booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 48px;
}

.public-booking-slot {
  min-width: 78px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #e5e7ed;
  border-radius: 14px;
  background: #fff;
  color: #313746;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.public-booking-slot:hover,
.public-booking-slot.is-selected {
  border-color: #d82776;
  background: #d82776;
  color: #fff;
}

.public-booking-placeholder {
  width: 100%;
  padding: 14px;
  border-radius: 15px;
  background: #f7f8fa;
  color: #7b8290;
  font-size: 13px;
  line-height: 1.45;
}

.public-booking-placeholder.is-loading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid #ead6df;
  border-top-color: #d82776;
  border-radius: 50%;
  vertical-align: -2px;
  animation: public-booking-spin 0.75s linear infinite;
}

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

.public-booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: #697181;
  font-size: 12px;
  line-height: 1.55;
}

.public-booking-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #d82776;
}

.public-booking-consent a,
.public-booking-footer a {
  color: #c91f67;
  font-weight: 800;
}

.public-booking-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.public-booking-summary {
  margin: 2px 0 18px;
  padding: 16px 18px;
  border: 1px solid #f3dce6;
  border-radius: 18px;
  background: #fff8fb;
  color: #3b4150;
  font-size: 13px;
  line-height: 1.65;
}

.public-booking-summary strong {
  color: #c91f67;
}

.public-booking-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #d82776, #ec5d9a);
  color: #fff;
  box-shadow: 0 16px 30px rgba(216, 39, 118, 0.24);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.public-booking-submit:hover {
  filter: brightness(0.97);
}

.public-booking-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.public-booking-submit-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #b42348;
  font-size: 12px;
  text-align: center;
}

.public-booking-loading,
.public-booking-error,
.public-booking-success {
  padding: 58px 38px;
  text-align: center;
}

.public-booking-loading {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.public-booking-loading small {
  color: #7b8290;
}

.public-booking-spinner {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border: 4px solid #f1dbe5;
  border-top-color: #d82776;
  border-radius: 50%;
  animation: public-booking-spin 0.8s linear infinite;
}

@keyframes public-booking-spin {
  to { transform: rotate(360deg); }
}

.public-booking-error-icon,
.public-booking-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
}

.public-booking-error-icon {
  background: #fff0f2;
  color: #c52e4d;
}

.public-booking-success-icon {
  background: #e6f8f2;
  color: #119a76;
}

.public-booking-error p {
  margin: 14px auto 0;
  color: #737b89;
  line-height: 1.55;
}

.public-booking-success .public-booking-kicker {
  margin-top: 4px;
}

.public-booking-success > div {
  margin: 24px 0;
  padding: 18px;
  border-radius: 18px;
  background: #f8f9fb;
  color: #505767;
  font-size: 14px;
  line-height: 1.7;
}

.public-booking-footer {
  padding: 22px 10px 0;
  color: #8a909d;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 640px) {
  .public-booking-header {
    min-height: 62px;
    padding: 9px 16px;
  }

  .public-booking-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .public-booking-brand strong {
    font-size: 20px;
  }

  .public-booking-back {
    padding: 9px 11px;
    font-size: 11px;
  }

  .public-booking-shell {
    width: min(100% - 20px, 820px);
    padding-top: 18px;
  }

  .public-booking-card,
  .public-booking-success,
  .public-booking-loading,
  .public-booking-error {
    border-radius: 24px;
  }

  .public-booking-intro,
  .public-booking-section,
  .public-booking-form {
    padding: 24px 20px;
  }

  .public-booking-intro h1,
  .public-booking-success h1,
  .public-booking-error h1 {
    font-size: 31px;
  }

  .public-booking-options,
  .public-booking-form-grid {
    grid-template-columns: 1fr;
  }

  .public-booking-option {
    min-height: 66px;
  }

  .public-booking-date-field {
    max-width: none;
  }

  .public-booking-slot {
    flex: 1 0 calc(25% - 9px);
    min-width: 70px;
  }

  .public-booking-loading,
  .public-booking-error,
  .public-booking-success {
    padding: 46px 24px;
  }

  .booking-link {
    align-items: stretch !important;
    flex-direction: column;
  }

  .booking-link .btn {
    width: 100%;
    justify-content: center;
  }
}
/* Fixariu v0.4.21 — Assistência em 48h */
.assisted-setup-box {
  border: 1px solid color-mix(in srgb, var(--sector-primary, #db2f78) 28%, #ffffff);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--sector-primary, #db2f78) 14%, transparent), transparent 42%),
    #ffffff;
}

.assisted-setup-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.assisted-setup-intro strong,
.assistance-finish-card strong {
  display: block;
  color: #192837;
  font-size: 15px;
  margin-bottom: 5px;
}

.assisted-setup-intro p,
.assistance-finish-card p,
.assistance-workspace-header p,
.assistance-request-card p {
  margin: 0;
  color: #647383;
  line-height: 1.55;
}

.assisted-setup-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sector-primary, #db2f78), #8d2bb2);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--sector-primary, #db2f78) 25%, transparent);
  font-size: 21px;
}

.assisted-setup-request {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.assisted-setup-request > span,
.assistance-salon-switcher label,
.assistance-request-card > span {
  color: #314150;
  font-size: 12px;
  font-weight: 700;
}

.assisted-setup-request textarea,
.assistance-salon-switcher select {
  width: 100%;
  border: 1px solid #dfe5ea;
  border-radius: 12px;
  background: #ffffff;
  color: #192837;
  font: inherit;
  padding: 12px 14px;
  resize: vertical;
}

.assisted-setup-request textarea:focus,
.assistance-salon-switcher select:focus {
  border-color: var(--sector-primary, #db2f78);
  outline: 3px solid color-mix(in srgb, var(--sector-primary, #db2f78) 14%, transparent);
}

.assisted-setup-request textarea:disabled {
  background: #f5f7f9;
  color: #71808e;
}

.assisted-setup-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f7fa;
  color: #526272;
  font-size: 13px;
  line-height: 1.45;
}

.assisted-setup-status.is-active {
  background: #eaf9f3;
  color: #13755d;
}

.assisted-setup-status.is-error {
  background: #fff0f1;
  color: #a93648;
}

.assisted-setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.assistance-workspace {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.assistance-workspace-header,
.assistance-request-card,
.assistance-finish-card {
  border: 1px solid #e4e9ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(25, 40, 55, 0.06);
}

.assistance-workspace-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
}

.assistance-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--sector-primary, #db2f78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistance-workspace-header h2 {
  margin: 0 0 7px;
  color: #192837;
  font-size: clamp(24px, 4vw, 34px);
}

.assistance-countdown {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eaf9f3;
  color: #13755d;
  font-size: 12px;
  font-weight: 800;
}

.assistance-salon-switcher {
  display: grid;
  gap: 8px;
}

.assistance-request-card {
  padding: 18px 20px;
}

.assistance-request-card p {
  margin-top: 7px;
  white-space: pre-wrap;
}

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

.assistance-shortcut {
  display: grid;
  gap: 5px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid #e4e9ee;
  border-radius: 16px;
  background: #ffffff;
  color: #192837;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.assistance-shortcut:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--sector-primary, #db2f78) 42%, #e4e9ee);
  box-shadow: 0 14px 30px rgba(25, 40, 55, 0.08);
}

.assistance-shortcut i {
  margin-bottom: 14px;
  color: var(--sector-primary, #db2f78);
  font-size: 25px;
}

.assistance-shortcut strong {
  font-size: 14px;
}

.assistance-shortcut span {
  color: #6a7886;
  font-size: 12px;
  line-height: 1.4;
}

.assistance-finish-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

@media (max-width: 760px) {
  .assistance-workspace-header,
  .assistance-finish-card {
    align-items: stretch;
    flex-direction: column;
  }

  .assistance-shortcuts {
    grid-template-columns: 1fr;
  }

  .assistance-shortcut {
    min-height: 0;
  }

  .assistance-countdown {
    align-self: flex-start;
  }
}
