:root {
  --primary: #111820;
  --secondary: #c79a3b;
  --accent: #f7c948;
  --background: #f6f7f9;
  --text: #17202a;
  --success: #198754;
  --info: #2563eb;
  --danger: #dc3545;
}

body {
  color: var(--text);
  background: var(--background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111820;
  letter-spacing: 0;
}

a {
  text-underline-offset: 3px;
}

.saas-landing {
  --brand-blue: #0878ff;
  --brand-blue-dark: #0057d9;
  --brand-red: #ed1c24;
  --brand-ink: #070b10;
  min-height: 100vh;
  overflow-x: hidden;
  color: #101722;
  background:
    linear-gradient(180deg, #070b10 0, #070b10 620px, #f2f5f9 620px, #f7f9fc 100%);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: rgba(7, 11, 16, .84);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.landing-brand,
.landing-brand:hover {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.landing-brand img {
  display: block;
  width: clamp(170px, 15vw, 260px);
  height: 48px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 24px rgba(0, 120, 255, .24));
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-nav-actions a:not(.btn) {
  color: #e8edf4;
  font-weight: 700;
  text-decoration: none;
}

.landing-nav-actions .btn {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.landing-nav-actions .btn:hover {
  border-color: var(--brand-blue);
  color: #fff;
  background: var(--brand-blue);
}

.landing-hero-pro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 120, 255, .32), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(237, 28, 36, .16), transparent 30rem),
    linear-gradient(135deg, #070b10 0%, #101720 52%, #070b10 100%);
}

.landing-hero-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
}

.landing-eyebrow {
  margin-bottom: .8rem;
  color: #48a2ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-hero-copy h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: .95;
  font-weight: 900;
}

.landing-lead {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: #d5dbe5;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.landing-cta-row .btn,
.landing-final-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 8px;
  font-weight: 850;
}

.btn-brand {
  border-color: var(--brand-blue);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  box-shadow: 0 14px 34px rgba(0, 120, 255, .28);
}

.btn-brand:hover {
  border-color: #1b86ff;
  color: #fff;
  background: linear-gradient(135deg, #1b86ff, #0051ca);
}

.landing-trust {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.2rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(0, 120, 255, .18);
  border-radius: 999px;
  color: #273241;
  background: rgba(255, 255, 255, .72);
}

.landing-trust i {
  color: var(--brand-blue);
}

.landing-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.landing-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #e8edf4;
  background: rgba(255, 255, 255, .06);
  font-size: .9rem;
  font-weight: 750;
}

.landing-proof-row i {
  color: #48a2ff;
}

.landing-hero-media {
  position: relative;
  min-width: 0;
}

.landing-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 34px 120px rgba(0, 0, 0, .46);
}

.landing-floating-card {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(310px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #fff;
  background: rgba(17, 24, 32, .86);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
}

.landing-floating-card span,
.landing-floating-card strong {
  display: block;
}

.landing-floating-card span {
  color: #48a2ff;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-floating-card strong {
  margin-top: .3rem;
  line-height: 1.2;
}

.landing-dashboard-card {
  position: absolute;
  left: -1.25rem;
  bottom: -1.25rem;
  display: grid;
  width: min(390px, calc(100% - 2rem));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
  backdrop-filter: blur(18px);
}

.landing-dashboard-card div {
  padding: .85rem;
  background: rgba(17, 24, 32, .86);
}

.landing-dashboard-card span,
.landing-dashboard-card strong {
  display: block;
}

.landing-dashboard-card span {
  color: #aeb7c5;
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-dashboard-card strong {
  margin-top: .2rem;
  color: #fff;
  font-size: 1.1rem;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(1rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: rgba(17, 24, 32, .08);
  transform: translateY(-2.2rem);
  box-shadow: 0 24px 80px rgba(17, 24, 32, .16);
}

.landing-stats div {
  padding: 1.35rem;
  background: #fff;
}

.landing-stats strong,
.landing-stats span {
  display: block;
}

.landing-stats strong {
  color: #111820;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.landing-stats span {
  margin-top: .3rem;
  color: #596374;
  font-weight: 750;
}

.landing-section,
.landing-workflow,
.landing-testimonial,
.landing-final-cta {
  margin: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
}

.landing-section-head {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.landing-section-head h2,
.landing-workflow h2,
.landing-final-cta h2 {
  margin: 0;
  color: #111820;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
}

.landing-section-head p:not(.landing-eyebrow) {
  margin: 1rem 0 0;
  color: #596374;
  font-size: 1.05rem;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landing-feature-card,
.landing-plan-card,
.landing-testimonial,
.landing-final-cta {
  border: 1px solid rgba(17, 24, 32, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 70px rgba(17, 24, 32, .08);
}

.landing-feature-card {
  padding: 1.35rem;
}

.landing-feature-card i {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
}

.landing-feature-card h3 {
  font-size: 1.08rem;
  font-weight: 900;
}

.landing-feature-card p {
  margin: .5rem 0 0;
  color: #596374;
}

.landing-workflow,
.landing-final-cta {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 11, 16, .97), rgba(16, 23, 32, .94)),
    url("../img/landing-hero.png") center/cover;
}

.landing-workflow h2,
.landing-final-cta h2 {
  color: #fff;
}

.landing-flow-list {
  display: grid;
  gap: .75rem;
}

.landing-flow-list div {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.landing-flow-list span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  font-weight: 900;
}

.landing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landing-plan-card {
  position: relative;
  padding: 1.35rem;
}

.landing-plan-card.featured {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(8, 120, 255, .35), transparent 16rem),
    linear-gradient(135deg, #070b10, #101720 55%, rgba(237, 28, 36, .82));
}

.landing-plan-card.featured h3,
.landing-plan-card.featured strong,
.landing-plan-card.featured p,
.landing-plan-card.featured li {
  color: #fff;
}

.plan-badge {
  display: inline-flex;
  margin-bottom: .85rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  font-size: .76rem;
  font-weight: 900;
}

.landing-plan-card h3 {
  font-weight: 900;
}

.landing-plan-card > strong {
  display: block;
  margin: .7rem 0;
  color: #111820;
  font-size: 2.25rem;
}

.landing-plan-card small {
  font-size: .9rem;
  font-weight: 650;
}

.landing-plan-card p,
.landing-plan-card li {
  color: #596374;
}

.landing-plan-card ul {
  display: grid;
  gap: .55rem;
  min-height: 138px;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.landing-plan-card li {
  display: flex;
  gap: .5rem;
}

.landing-plan-card li i {
  color: var(--brand-blue);
}

.plan-annual {
  margin: -.25rem 0 1rem;
  color: #344054;
  font-size: .86rem;
  font-weight: 850;
}

.landing-plan-card.featured .plan-annual {
  color: rgba(255, 255, 255, .86);
}

.checkout-page {
  min-height: 100vh;
  color: #17202a;
  background:
    radial-gradient(circle at 12% 20%, rgba(8, 120, 255, .18), transparent 24rem),
    radial-gradient(circle at 88% 76%, rgba(237, 28, 36, .12), transparent 26rem),
    linear-gradient(135deg, #f7f9fc 0%, #fff 52%, #eef3f8 100%);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 620px);
  gap: clamp(1rem, 4vw, 3rem);
  width: min(1180px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem) 0;
  align-items: center;
}

.checkout-brand,
.checkout-card {
  border-radius: 8px;
}

.checkout-brand {
  padding: clamp(1.35rem, 4vw, 2.5rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 11, 16, .94), rgba(16, 23, 32, .84)),
    url("../img/landing-hero.png") center/cover;
  box-shadow: 0 30px 80px rgba(17, 24, 32, .2);
}

.checkout-logo {
  display: block;
  width: min(260px, 80vw);
  height: 78px;
  margin-bottom: 1.5rem;
  object-fit: contain;
  object-position: left center;
}

.checkout-brand h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .98;
  font-weight: 950;
}

.checkout-brand p:not(.landing-eyebrow) {
  max-width: 620px;
  margin: 1rem 0 0;
  color: #d8e1ee;
  font-size: 1.05rem;
}

.checkout-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}

.checkout-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: .86rem;
  font-weight: 850;
}

.checkout-card {
  padding: clamp(1.15rem, 3vw, 1.75rem);
  border: 1px solid rgba(23, 32, 42, .1);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 90px rgba(17, 24, 32, .14);
}

.checkout-plan-summary {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #101720, #172231);
}

.checkout-plan-summary span {
  color: #f7c948;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-plan-summary h2 {
  margin: .45rem 0;
  color: #fff;
  font-weight: 950;
}

.checkout-plan-summary p,
.checkout-plan-summary small {
  color: #d8e1ee;
}

.checkout-price strong {
  color: #fff;
  font-size: 2rem;
  font-weight: 950;
}

.checkout-price small {
  margin-left: .3rem;
}

.checkout-form .form-control,
.checkout-form .form-select {
  min-height: 48px;
  border-radius: 8px;
}

.checkout-form-section {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(17, 24, 32, .09);
  border-radius: 8px;
  background: #f8fafc;
}

.checkout-form-section span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #17202a;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.checkout-credential-note {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 100%;
  padding: .85rem;
  border-radius: 8px;
  color: #17202a;
  background: rgba(214, 168, 63, .14);
  border: 1px solid rgba(214, 168, 63, .35);
  font-size: .9rem;
  font-weight: 750;
}

.checkout-credential-note i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #d6a83f;
  color: #111820;
}

.checkout-fineprint {
  margin: .85rem 0 0;
  color: #536174;
  font-size: .84rem;
  text-align: center;
}

.checkout-payment-shell {
  grid-template-columns: minmax(0, .95fr) minmax(420px, 540px);
}

.checkout-payment-brand {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(135deg, rgba(8, 12, 18, .96), rgba(33, 28, 24, .88)),
    url("../img/landing-hero.png") center/cover;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.5rem;
}

.checkout-progress span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .07);
  font-size: .82rem;
  font-weight: 900;
}

.checkout-progress .is-done {
  color: #111820;
  background: #f7c948;
}

.checkout-progress .is-active {
  color: #fff;
  border-color: rgba(247, 201, 72, .65);
  background: rgba(247, 201, 72, .16);
}

.checkout-payment-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.checkout-payment-head h2 {
  margin: .75rem 0 .2rem;
  color: #111820;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 950;
  letter-spacing: 0;
}

.checkout-payment-head p {
  margin: 0;
  color: #667085;
  font-weight: 800;
}

.checkout-payment-total {
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #111820, #27221f);
  box-shadow: 0 20px 54px rgba(17, 24, 32, .18);
}

.checkout-payment-total span,
.checkout-payment-total small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.checkout-payment-total span {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-payment-total strong {
  display: block;
  margin: .15rem 0;
  color: #fff;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
  font-weight: 950;
}

.checkout-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.checkout-payment-grid div {
  padding: .85rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 10px;
  background: #f8fafc;
}

.checkout-payment-grid span,
.checkout-payment-grid strong {
  display: block;
}

.checkout-payment-grid span {
  color: #667085;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.checkout-payment-grid strong {
  overflow-wrap: anywhere;
  color: #111820;
  font-weight: 950;
}

.checkout-gateway-panel {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: .95rem;
  border: 1px solid rgba(217, 166, 46, .24);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(247, 201, 72, .14), #fff);
}

.checkout-gateway-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #111820;
  background: #f7c948;
  font-size: 1.45rem;
}

.checkout-gateway-panel strong,
.checkout-gateway-panel span {
  display: block;
}

.checkout-gateway-panel strong {
  color: #111820;
  font-weight: 950;
}

.checkout-gateway-panel span {
  color: #536174;
  font-size: .9rem;
}

.operation-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  gap: 1rem;
}

.operation-chart-card canvas {
  width: 100%;
  max-height: 340px;
}

.operation-list {
  display: grid;
  gap: .75rem;
}

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

.operation-list article {
  display: grid;
  gap: .2rem;
  padding: .85rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.operation-list strong,
.operation-list span,
.operation-list small {
  display: block;
}

.operation-list strong {
  color: #111820;
  font-weight: 950;
}

.operation-list span {
  color: #344054;
  font-size: .9rem;
  font-weight: 750;
}

.operation-list small {
  color: #667085;
  font-size: .8rem;
  font-weight: 650;
}

.payment-success-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: #fff;
  background: #198754;
  font-size: 2rem;
  box-shadow: 0 18px 40px rgba(25, 135, 84, .24);
}

.booking-success-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0;
  text-align: left;
}

.booking-success-detail div {
  padding: .85rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.booking-success-detail span,
.booking-success-detail strong {
  display: block;
}

.booking-success-detail span {
  color: #667085;
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.booking-success-detail strong {
  color: #111820;
  font-weight: 950;
}

.landing-testimonial {
  max-width: 980px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.landing-testimonial > i {
  color: var(--brand-blue);
  font-size: 2rem;
}

.landing-testimonial p {
  margin: .8rem 0;
  color: #202a36;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.22;
  font-weight: 780;
}

.landing-testimonial strong {
  color: #596374;
}

.landing-final-cta {
  grid-template-columns: 1fr auto;
}

.site-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.site-edit-tile {
  position: relative;
  min-height: 104px;
  padding: 1rem 2.5rem 1rem 1rem;
  border: 1px solid rgba(17, 24, 32, .1);
  border-radius: 8px;
  text-align: left;
  background: #fff;
}

.site-edit-tile span,
.site-edit-tile strong {
  display: block;
}

.site-edit-tile span {
  color: #667085;
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-edit-tile strong {
  display: -webkit-box;
  margin-top: .4rem;
  overflow: hidden;
  color: #111820;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.site-edit-tile i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #c79a3b;
}

.site-hero-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 32, .1);
}

.site-mini-preview {
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  background: #111820;
}

.site-mini-preview span {
  color: #f5cc5b;
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-mini-preview h3 {
  margin: .5rem 0;
  color: #fff;
  font-weight: 900;
}

.site-mini-preview p {
  color: #d0d5dd;
}

.site-mini-preview a {
  color: #f5cc5b;
  font-weight: 800;
}

.metric-panel {
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 8px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.metric-panel span,
.metric-panel small {
  display: block;
  color: #6c757d;
}

.metric-panel strong {
  display: block;
  font-size: clamp(2rem, 8vw, 4rem);
}

.public-modern-site {
  background: #080b10;
}

.public-floating-nav {
  position: fixed;
  top: 1rem;
  right: 0;
  left: 0;
  z-index: 40;
}

.public-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(8, 11, 16, .68);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  backdrop-filter: blur(18px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.public-brand:hover {
  color: #fff;
}

.public-nav-links {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.public-nav-links a {
  color: rgba(255, 255, 255, .82);
  font-weight: 750;
  text-decoration: none;
}

.public-access-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.public-access-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.public-primary-btn,
.public-dark-btn,
.public-outline-btn,
.public-ghost-btn {
  border-radius: 999px;
  font-weight: 850;
}

.public-primary-btn {
  border-color: var(--secondary);
  color: #111820;
  background: var(--secondary);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--secondary) 34%, transparent);
}

.public-primary-btn:hover {
  border-color: var(--accent);
  color: #111820;
  background: var(--accent);
}

.public-dark-btn {
  border-color: var(--primary);
  color: var(--accent);
  background: var(--primary);
}

.public-outline-btn {
  border-color: color-mix(in srgb, var(--team-text) 32%, transparent);
  color: var(--team-text);
  background: transparent;
}

.public-ghost-btn {
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.public-ghost-btn:hover {
  color: #111820;
  background: #fff;
}

.barber-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8,11,16,.92), rgba(8,11,16,.52) 48%, rgba(8,11,16,.2)),
    url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.barber-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 54vw;
  height: 54vw;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 32%, transparent), transparent 62%);
  pointer-events: none;
}

.public-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-top: 7rem;
}

.public-hero-copy {
  max-width: 860px;
}

.public-hero-logo {
  width: clamp(96px, 12vw, 156px);
  height: clamp(96px, 12vw, 156px);
  display: block;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  object-fit: cover;
  padding: .35rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .36);
}

.public-hero-copy > p {
  margin-bottom: .85rem;
  color: var(--secondary);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.public-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .9;
  font-weight: 950;
}

.public-hero-copy > span {
  display: block;
  max-width: 680px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.public-hero-actions,
.public-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.public-hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.public-hero-card {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 11, 16, .68);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  backdrop-filter: blur(18px);
}

.public-hero-card span,
.public-hero-card strong {
  display: block;
}

.public-hero-card span {
  color: var(--secondary);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.public-hero-card strong {
  margin: .45rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.booking-shell {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(17, 24, 32, .08);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 32, 42, .08);
}

.booking-header span {
  color: #c79a3b;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
}

.booking-header h2 {
  margin: .2rem 0;
  font-weight: 760;
}

.booking-header p {
  margin: 0;
  color: #475467;
}

.booking-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: #fff8e8;
  border: 1px solid rgba(199, 154, 59, .22);
}

.booking-summary strong,
.booking-summary span,
.booking-loading {
  display: block;
}

.booking-summary span,
.booking-loading {
  color: #475467;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 1.25rem;
}

.booking-panel {
  min-width: 0;
}

.booking-panel h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}

.slot-button {
  display: grid;
  gap: .15rem;
  padding: .75rem .55rem;
  border: 1px solid rgba(23, 32, 42, .12);
  border-radius: 8px;
  background: #fff;
  color: #111820;
  text-align: center;
}

.slot-button:hover,
.slot-button.active {
  border-color: #c79a3b;
  background: #fff8e8;
}

.slot-button strong {
  font-size: 1rem;
}

.slot-button span {
  color: #3f4a5a;
  font-size: .75rem;
}

.booking-terms {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .85rem;
  border: 1px solid rgba(23, 32, 42, .12);
  border-radius: 8px;
  background: #f8fafc;
  color: #17202a;
}

.booking-terms input {
  margin-top: .2rem;
  accent-color: #111820;
}

.booking-summary-grid {
  display: grid;
  gap: .65rem;
  padding: 1rem;
  border-radius: 8px;
  background: #fff8e8;
  border: 1px solid rgba(199, 154, 59, .22);
}

.booking-summary-grid div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(199, 154, 59, .16);
  padding-bottom: .45rem;
}

.booking-summary-grid div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.booking-summary-grid span {
  color: #3f4a5a;
}

.booking-summary-grid strong {
  color: #111820;
  text-align: right;
}

.public-site-main {
  color: var(--team-text);
  padding-top: 1rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-background) 86%, transparent), var(--team-background)),
    var(--team-image, none) center top / cover fixed,
    var(--team-background);
}

.public-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.public-section-head p,
.public-branch-head span {
  margin: 0 0 .35rem;
  color: var(--secondary);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-section-head h2 {
  max-width: 920px;
  margin: 0;
  color: var(--team-text);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .92;
  font-weight: 900;
}

.public-section-head span {
  display: block;
  max-width: 760px;
  margin-top: .75rem;
  color: color-mix(in srgb, var(--team-text) 72%, transparent);
}

.public-branch-grid {
  display: grid;
  gap: 1.5rem;
}

.public-branch-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(17, 24, 32, .1);
  border-radius: 8px;
  background: var(--team-card);
  box-shadow: 0 28px 90px rgba(17, 24, 32, .1);
}

.public-branch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.public-branch-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(17, 24, 32, .08);
}

.public-branch-head h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
}

.public-branch-head p {
  margin: .25rem 0 0;
  color: color-mix(in srgb, var(--team-text) 72%, transparent);
}

.public-barber-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.public-barber-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
  padding: .8rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: color-mix(in srgb, var(--team-card) 88%, var(--team-background));
  transition: transform .18s ease, box-shadow .18s ease;
}

.public-barber-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 55px rgba(17, 24, 32, .12);
}

.public-barber-card img {
  width: 128px;
  height: 176px;
  min-height: 176px;
  border-radius: 8px;
  object-fit: cover;
  background: #e9eef5;
}

.public-barber-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: .25rem .25rem .25rem 0;
}

.public-barber-card h4 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.public-barber-card p {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 .45rem;
  overflow: hidden;
  color: color-mix(in srgb, var(--team-text) 72%, transparent);
  font-size: .88rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.public-barber-card small,
.public-barber-card a {
  display: block;
  color: color-mix(in srgb, var(--team-text) 82%, transparent);
  font-size: .8rem;
  line-height: 1.35;
  text-decoration: none;
}

.public-barber-card .btn {
  width: fit-content;
  margin-top: auto;
  max-width: 100%;
  white-space: normal;
}

.public-barber-card .public-dark-btn {
  border: 1px solid #111820;
  color: #fff !important;
  background: #111820 !important;
  box-shadow: 0 12px 28px rgba(17, 24, 32, .18);
  opacity: 1;
  visibility: visible;
}

.public-barber-card .public-dark-btn:hover,
.public-barber-card .public-dark-btn:focus {
  border-color: var(--secondary);
  color: #111820 !important;
  background: var(--secondary) !important;
}

.public-booking-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.public-booking-cta span {
  color: var(--secondary);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-booking-cta h2 {
  margin: .25rem 0;
  font-weight: 900;
}

.public-booking-cta p {
  margin: 0;
  color: #596374;
}

.booking-wizard {
  text-align: left;
}

.booking-wizard-brand {
  display: grid;
  justify-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  text-align: center;
}

.booking-wizard-brand img {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  padding: .25rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 32, .16);
}

.booking-wizard-brand strong {
  color: #111820;
  font-size: .95rem;
  font-weight: 900;
}

.booking-wizard-logo-fallback {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #111820;
  font-size: 1.4rem;
}

.booking-wizard h3 {
  margin: .75rem 0 1rem;
  color: #111820;
  font-weight: 900;
}

.booking-wizard-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .35rem;
}

.booking-wizard-progress span {
  display: grid;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #667085;
  background: #eef2f6;
  font-size: .8rem;
  font-weight: 900;
}

.booking-wizard-progress span.active {
  color: #111820;
  background: #f7c948;
}

.booking-wizard-note {
  margin: .7rem 0 0;
  color: #596374;
  font-size: .9rem;
}

.wizard-slot-grid {
  max-height: 320px;
  overflow: auto;
  padding-right: .25rem;
}

.booking-date-readable {
  margin-top: .4rem;
  color: #344054;
  font-size: .86rem;
  font-weight: 750;
}

.cookie-intro {
  color: #17202a;
  font-size: .96rem;
  line-height: 1.65;
}

.cookie-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #7a5415;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-config {
  display: grid;
  gap: .8rem;
}

.cookie-config label {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .85rem;
  border: 1px solid rgba(23, 32, 42, .12);
  border-radius: 8px;
  background: #f8fafc;
}

.cookie-config input {
  margin-top: .25rem;
  accent-color: #111820;
}

.cookie-config span,
.cookie-config small {
  display: block;
}

.cookie-config small {
  color: #3f4a5a;
}

.cookie-policy {
  max-height: min(68vh, 720px);
  overflow: auto;
  padding-right: .5rem;
  color: #17202a;
  line-height: 1.62;
}

.cookie-policy h3,
.cookie-policy h4 {
  color: #111820;
  margin-top: 1rem;
}

.cookie-policy h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.cookie-policy h4 {
  font-size: 1rem;
}

.admin-shell {
  background: #f6f7f9;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  background: linear-gradient(180deg, #101720 0%, #141f2d 100%);
  color: #fff;
  padding: 1.25rem;
}

.admin-brand {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.admin-sidebar nav {
  display: grid;
  gap: .35rem;
}

.admin-sidebar nav a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
  padding: .75rem .85rem;
  border-radius: 8px;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  color: #111820;
  background: #f7c948;
}

.admin-main {
  padding: 2rem;
  background: #f6f7f9;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.metric-grid div,
.admin-panel,
.branch-card,
.empty-state {
  background: #fff;
  border: 1px solid rgba(16,20,24,.08);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(17, 24, 32, .045);
}

.metric-grid div {
  padding: 1rem;
}

.metric-grid span {
  display: block;
  color: #6c757d;
  font-size: .82rem;
}

.metric-grid strong {
  display: block;
  font-size: 1.45rem;
}

.admin-panel {
  padding: 1.25rem;
}

.branch-card {
  padding: 1rem;
  height: 100%;
  color: #17202a;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
}

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

  .admin-sidebar {
    position: static;
  }

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

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(8, 120, 255, .28), transparent 30rem),
    radial-gradient(circle at 88% 72%, rgba(237, 28, 36, .16), transparent 28rem),
    linear-gradient(135deg, #070b10 0%, #101720 52%, #070b10 100%);
}

.barbergo-login::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.login-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(1rem, 4vw, 3rem);
  width: min(1180px, 100%);
  align-items: stretch;
}

.login-brand-panel,
.login-card {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .32);
}

.login-brand-panel {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 11, 16, .82), rgba(7, 11, 16, .34)),
    url("../img/landing-hero.png") center/cover;
}

.login-logo img {
  display: block;
  width: min(430px, 86vw);
  height: 106px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 26px rgba(0, 120, 255, .26));
}

.login-brand-copy {
  max-width: 720px;
  text-align: center;
}

.login-eyebrow {
  color: #48a2ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-brand-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: .98;
  font-weight: 920;
}

.login-brand-copy p:not(.login-eyebrow) {
  max-width: 620px;
  margin: 1rem auto 0;
  color: #d8e1ee;
  font-size: 1.08rem;
}

.login-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.login-proof-grid div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(7, 11, 16, .62);
  backdrop-filter: blur(12px);
}

.login-proof-grid i,
.login-proof-grid strong,
.login-proof-grid span {
  display: block;
}

.login-proof-grid i {
  color: #48a2ff;
  font-size: 1.35rem;
}

.login-proof-grid strong {
  margin-top: .55rem;
  color: #fff;
}

.login-proof-grid span {
  color: #b9c5d6;
  font-size: .86rem;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background: rgba(255, 255, 255, .96);
  padding: clamp(1.4rem, 4vw, 2rem);
}

.login-card-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.4rem;
}

.login-card-head > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0878ff, #ed1c24);
}

.login-card-head h2 {
  margin: 0;
  color: #070b10;
  font-size: 1.55rem;
  font-weight: 900;
}

.login-access-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1.15rem;
  padding: .85rem .95rem;
  border: 1px solid rgba(8, 120, 255, .16);
  border-radius: 8px;
  color: #263241;
  background: linear-gradient(135deg, rgba(8, 120, 255, .08), rgba(237, 28, 36, .04));
  font-size: .92rem;
  line-height: 1.35;
}

.login-access-note i {
  color: #0878ff;
  font-size: 1.05rem;
  line-height: 1.35;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-form label {
  display: grid;
  gap: .45rem;
  color: #263241;
  font-weight: 800;
}

.login-input {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 52px;
  padding: 0 .95rem;
  border: 1px solid rgba(7, 11, 16, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 11, 16, .05);
}

.login-input:focus-within {
  border-color: #0878ff;
  box-shadow: 0 0 0 .25rem rgba(8, 120, 255, .12);
}

.login-input i {
  color: #0878ff;
}

.login-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #070b10;
  background: transparent;
}

.login-demo-box {
  display: grid;
  gap: .4rem;
  margin-top: 1rem;
  padding: .9rem;
  border: 1px solid rgba(8, 120, 255, .16);
  border-radius: 8px;
  background: #eef6ff;
}

.login-demo-box span {
  color: #344054;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.login-demo-box code {
  color: #070b10;
}

.login-back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-top: 1rem;
  color: #0878ff;
  font-weight: 850;
  text-decoration: none;
}

.premium-app {
  --bs-body-bg: #f6f7f9;
  --bs-body-color: #17202a;
  --bs-secondary-color: #3f4a5a;
  --bs-tertiary-color: #536174;
  color: #17202a;
  background: #f6f7f9;
}

.premium-app .container-fluid {
  max-width: 1480px;
}

.premium-topbar {
  min-height: 56px;
  background: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid rgba(23, 32, 42, .08);
  backdrop-filter: blur(12px);
}

.premium-topbar .nav-link {
  color: #111820;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.topbar-profile {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  padding: .35rem .65rem;
  background: #fff;
  color: #111820;
  text-align: left;
  box-shadow: 0 10px 30px rgba(17, 24, 32, .045);
}

.topbar-profile:hover {
  border-color: rgba(199, 154, 59, .45);
}

.topbar-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #111820, #26364b);
  color: #fff;
  font-weight: 800;
}

.topbar-identity {
  display: grid;
  line-height: 1.15;
}

.topbar-identity strong {
  font-size: .9rem;
}

.topbar-identity small {
  color: #667085;
  font-size: .76rem;
}

.premium-sidebar {
  background:
    radial-gradient(circle at 10% 0%, rgba(8, 120, 255, .22), transparent 15rem),
    radial-gradient(circle at 94% 18%, rgba(237, 28, 36, .13), transparent 14rem),
    linear-gradient(180deg, #070b10 0%, #101720 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.premium-sidebar .sidebar-brand {
  min-height: 128px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.premium-sidebar .brand-link {
  color: #fff;
  letter-spacing: .02em;
}

.premium-sidebar .sidebar-logo-link {
  display: grid;
  gap: .55rem;
  align-content: center;
  width: 100%;
  min-height: 128px;
  padding: 1rem;
  text-decoration: none;
}

.premium-sidebar .sidebar-logo-link img {
  display: block;
  width: min(100%, 178px);
  height: 38px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 18px rgba(8, 120, 255, .22));
}

.premium-sidebar .sidebar-tenant-brand {
  justify-items: center;
  text-align: center;
}

.premium-sidebar .sidebar-tenant-brand img {
  width: 82px;
  height: 82px;
  padding: .18rem;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background:
    linear-gradient(#070b10, #070b10) padding-box,
    linear-gradient(135deg, #0878ff, #ed1c24) border-box;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28), 0 0 0 4px rgba(255, 255, 255, .08);
}

.sidebar-tenant-fallback {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0878ff, #ed1c24);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28), 0 0 0 4px rgba(255, 255, 255, .08);
  font-size: 1.8rem;
}

.premium-sidebar .sidebar-logo-link small {
  display: block;
  max-width: 180px;
  overflow: hidden;
  color: rgba(232, 237, 244, .74);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-sidebar .sidebar-tenant-brand small {
  max-width: 190px;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .04em;
}

.sidebar-footer-brand {
  display: grid;
  justify-items: center;
  gap: .45rem;
  margin-top: auto;
  padding: 1.15rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}

.sidebar-footer-brand span {
  color: rgba(232, 237, 244, .52);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sidebar-footer-brand img {
  width: 178px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 18px rgba(8, 120, 255, .18));
}

.premium-sidebar .sidebar-wrapper {
  padding-top: .65rem;
}

.premium-sidebar .nav-link {
  border-radius: 8px;
  margin: 0 .65rem .25rem;
  color: rgba(255, 255, 255, .78) !important;
  min-height: 42px;
  border: 1px solid transparent;
}

.premium-sidebar .nav-link:hover {
  background: rgba(8, 120, 255, .12) !important;
  border-color: rgba(8, 120, 255, .18);
  color: #fff !important;
}

.premium-sidebar .nav-link.active {
  background: linear-gradient(135deg, #0878ff, #0057d9) !important;
  border-color: rgba(255, 255, 255, .14);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(8, 120, 255, .24);
}

.premium-sidebar .nav-link.active .nav-icon {
  color: #fff !important;
}

.premium-app .app-main {
  background:
    radial-gradient(circle at top right, rgba(199, 154, 59, .12), transparent 34rem),
    #f6f7f9 !important;
  min-height: 100vh;
}

.premium-app .app-content {
  padding-top: .75rem;
}

.premium-app .text-muted {
  color: #536174 !important;
}

.premium-app .small,
.premium-app small {
  color: #536174;
}

.premium-app .app-content-header .text-muted,
.premium-app .app-content-header p {
  color: #4a5568 !important;
}

.premium-app .app-content-header .text-uppercase {
  color: #6f4f13 !important;
  font-weight: 800 !important;
}

.section-eyebrow {
  color: #6f4f13;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-subtitle {
  color: #3f4a5a;
  font-weight: 500;
}

.premium-hero {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.65rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 18, 26, .98), rgba(29, 39, 54, .96) 56%, rgba(47, 38, 28, .94)),
    #111820;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 28px 80px rgba(17, 24, 32, .20);
  color: #fff;
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 0 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 201, 72, .85), transparent);
}

.premium-hero > * {
  position: relative;
  z-index: 1;
}

.premium-hero h1 {
  margin: .15rem 0 .25rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.premium-hero p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 1rem;
  font-weight: 600;
}

.plan-limit-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-top: 1rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(247, 201, 72, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(247, 201, 72, .12);
  font-size: .86rem;
  font-weight: 850;
}

.plan-limit-pill i {
  color: #f7c948;
}

.plan-limit-alert {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(183, 121, 31, .22);
  border-radius: 8px;
  color: #4b3414;
  background: linear-gradient(135deg, rgba(247, 201, 72, .18), rgba(255, 255, 255, .9));
  box-shadow: 0 18px 44px rgba(183, 121, 31, .08);
}

.plan-limit-alert > i {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #111820;
  background: #f7c948;
}

.plan-limit-alert strong,
.plan-limit-alert span {
  display: block;
}

.plan-limit-alert strong {
  color: #111820;
  font-weight: 900;
}

.plan-limit-alert span {
  margin-top: .2rem;
  color: #5f4b23;
  font-size: .92rem;
}

.premium-hero .text-muted,
.premium-hero .section-eyebrow,
.premium-hero .small {
  color: #c79a3b !important;
  font-weight: 900;
  letter-spacing: .08em;
}

.premium-hero .btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  border-radius: 8px;
  padding-inline: .95rem;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
}

.premium-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .85rem;
}

.premium-metrics div,
.premium-card,
.premium-action {
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(17, 24, 32, .07);
}

.premium-card,
.card {
  border-radius: 8px !important;
}

.premium-app .card {
  border: 1px solid rgba(23, 32, 42, .08);
  box-shadow: 0 16px 50px rgba(17, 24, 32, .045);
}

.premium-app .card-header {
  background: #fff;
  border-bottom: 1px solid rgba(23, 32, 42, .08);
}

.premium-metrics div {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  align-content: space-between;
  padding: 1.05rem;
  background: linear-gradient(180deg, #fff, #fbfcfd);
}

.premium-metrics div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #111820, #c79a3b);
  opacity: .75;
}

.premium-metrics span {
  display: block;
  color: #667085;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.premium-metrics strong {
  display: block;
  margin-top: .35rem;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 950;
  color: #111820;
}

.premium-card {
  padding: 1.15rem;
  color: #17202a;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  box-shadow: 0 22px 64px rgba(17, 24, 32, .075);
}

.premium-card p,
.premium-card .text-muted {
  color: #3f4a5a !important;
}

.premium-action {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  padding: 1.4rem;
  color: #111820;
  background: linear-gradient(180deg, #fff, #fbfcfd);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.premium-action:hover {
  color: #111820;
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(17, 24, 32, .09);
}

.premium-action i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #111820, #26364b);
  color: #fff;
  font-size: 1.25rem;
}

.btn-dark {
  --bs-btn-bg: #111820;
  --bs-btn-border-color: #111820;
  --bs-btn-hover-bg: #26364b;
  --bs-btn-hover-border-color: #26364b;
}

.btn-warning {
  --bs-btn-bg: #c79a3b;
  --bs-btn-border-color: #c79a3b;
  --bs-btn-color: #111820;
  --bs-btn-hover-bg: #f7c948;
  --bs-btn-hover-border-color: #f7c948;
  font-weight: 700;
}

.form-control,
.form-select {
  border-color: rgba(23, 32, 42, .14);
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: #c79a3b;
  box-shadow: 0 0 0 .2rem rgba(199, 154, 59, .18);
}

.swal2-popup {
  border-radius: 8px !important;
}

.swal2-title {
  color: #111820 !important;
  letter-spacing: 0;
}

.premium-action strong {
  font-size: 1.05rem;
}

.premium-action span,
.agenda-row small {
  color: #3f4a5a;
}

.panel-fichas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.panel-ficha {
  min-height: 118px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-content: center;
  gap: .75rem 1rem;
  padding: 1.1rem;
  border-radius: 8px;
  background: #fff;
  color: #111820;
  text-decoration: none;
  border: 1px solid rgba(23, 32, 42, .08);
  box-shadow: 0 16px 50px rgba(17, 24, 32, .045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.panel-ficha:hover {
  color: #111820;
  transform: translateY(-2px);
  border-color: rgba(199, 154, 59, .38);
  box-shadow: 0 22px 70px rgba(17, 24, 32, .09);
}

.panel-ficha i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #111820, #26364b);
  font-size: 1.35rem;
}

.panel-ficha span {
  align-self: end;
  color: #344054;
  font-size: .78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.panel-ficha strong {
  align-self: start;
  font-size: 1rem;
}

.panel-ficha.ficha-primary {
  background: linear-gradient(135deg, #111820, #26364b);
  color: #fff;
}

.panel-ficha.ficha-primary:hover {
  color: #fff;
}

.panel-ficha.ficha-primary i {
  color: #111820;
  background: #f7c948;
}

.panel-ficha.ficha-primary span {
  color: rgba(255,255,255,.72);
}

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

.agenda-premium-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 178px;
  padding: 1.65rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 18, 26, .98), rgba(29, 39, 54, .96) 56%, rgba(47, 38, 28, .94)),
    #111820;
  color: #fff;
  box-shadow: 0 28px 80px rgba(17, 24, 32, .20);
}

.agenda-premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 0 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 201, 72, .85), transparent);
}

.agenda-premium-hero > * {
  position: relative;
  z-index: 1;
}

.agenda-premium-hero h1 {
  margin: .15rem 0 .25rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 950;
  line-height: 1;
}

.agenda-premium-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-weight: 600;
  font-size: 1rem;
}

.premium-eyebrow,
.agenda-section-heading span {
  color: #c79a3b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agenda-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.agenda-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  border-radius: 8px;
  padding-inline: .95rem;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
}

.agenda-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.agenda-kpi-card {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  display: grid;
  align-content: space-between;
  gap: .75rem;
  padding: 1.05rem;
  border: 1px solid rgba(17, 24, 32, .075);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfcfd);
  box-shadow: 0 18px 54px rgba(17, 24, 32, .07);
}

.agenda-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #111820, #c79a3b);
  opacity: .75;
}

.agenda-kpi-card > div {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.agenda-kpi-card i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111820;
  background: rgba(199, 154, 59, .16);
}

.agenda-kpi-card span {
  color: #667085;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.agenda-kpi-card strong {
  color: #111820;
  font-size: 1.55rem;
  font-weight: 950;
}

.agenda-kpi-card small {
  color: #667085;
  font-weight: 700;
}

.agenda-kpi-card.is-primary {
  background: linear-gradient(135deg, #111820, #26364b);
}

.agenda-kpi-card.is-primary i {
  color: #111820;
  background: #f7c948;
}

.agenda-kpi-card.is-primary span,
.agenda-kpi-card.is-primary strong,
.agenda-kpi-card.is-primary small {
  color: #fff;
}

.agenda-calendar-card,
.agenda-branches-panel {
  padding: 1.05rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  box-shadow: 0 22px 64px rgba(17, 24, 32, .075);
}

.agenda-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.agenda-section-heading h2 {
  margin: .1rem 0 0;
  color: #111820;
  font-size: 1.22rem;
  font-weight: 950;
}

.agenda-section-heading p {
  max-width: 520px;
  margin: 0;
  color: #667085;
  font-weight: 650;
  text-align: right;
}

.agenda-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.agenda-legend b {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .55rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 999px;
  color: #344054;
  background: #fff;
  font-size: .75rem;
}

.legend-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  display: inline-block;
}

.legend-paid { background: #157347; }
.legend-deposit { background: #b7791f; }
.legend-pending { background: #0f5f8f; }
.legend-none { background: #111827; }

.agenda-calendar-shell {
  margin-top: 1rem;
  padding: .9rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.agenda-calendar-shell .fc {
  color: #17202a;
}

.agenda-calendar-shell .fc .fc-toolbar-title {
  color: #111820;
  font-size: 1.18rem;
  font-weight: 950;
}

.agenda-calendar-shell .fc .fc-button {
  border-radius: 8px;
  border-color: #111820;
  background: #111820;
  font-weight: 800;
  box-shadow: none;
}

.agenda-calendar-shell .fc .fc-col-header-cell-cushion,
.agenda-calendar-shell .fc .fc-timegrid-slot-label-cushion {
  color: #344054;
  font-weight: 850;
  text-decoration: none;
}

.agenda-calendar-shell .fc .fc-timegrid-axis-cushion {
  color: #667085;
  font-size: .75rem;
  font-weight: 800;
}

.agenda-calendar-shell .fc .fc-event {
  border-radius: 8px;
  border: 0;
  padding: .18rem .28rem;
  box-shadow: 0 8px 20px rgba(17, 24, 32, .16);
}

.agenda-calendar-shell .fc .fc-event-title,
.agenda-calendar-shell .fc .fc-event-time {
  font-weight: 850;
}

.agenda-calendar-shell .fc .fc-timegrid-event {
  min-height: 42px;
}

.agenda-calendar-shell .fc .fc-event-main {
  padding: .1rem;
}

.fc-premium-event {
  display: grid;
  gap: .12rem;
  color: #fff;
  line-height: 1.15;
}

.fc-premium-event strong,
.fc-premium-event span,
.fc-premium-event small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-premium-event strong {
  font-size: .82rem;
  font-weight: 950;
}

.fc-premium-event span {
  font-size: .76rem;
  font-weight: 850;
}

.fc-premium-event small {
  color: rgba(255, 255, 255, .86);
  font-size: .68rem;
  font-weight: 750;
}

.agenda-calendar-shell .fc .fc-col-header-cell-cushion {
  text-transform: capitalize;
}

.agenda-calendar-shell .fc .fc-button-primary:not(:disabled).fc-button-active,
.agenda-calendar-shell .fc .fc-button-primary:not(:disabled):active {
  border-color: #c79a3b;
  background: #c79a3b;
  color: #111820;
}

.agenda-calendar-shell .fc-theme-standard td,
.agenda-calendar-shell .fc-theme-standard th {
  border-color: rgba(17, 24, 32, .08);
}

.branch-agenda {
  display: grid;
  gap: 1rem;
}

.branch-agenda-section {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(17, 24, 32, .05);
}

.branch-agenda-section > header {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid rgba(23, 32, 42, .08);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.branch-agenda-section > header i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111820;
  background: rgba(199, 154, 59, .16);
}

.branch-agenda-section h3,
.barber-agenda-card h4 {
  margin: 0;
  color: #111820;
}

.branch-agenda-section header span {
  color: #5b6678;
  font-size: .88rem;
  font-weight: 700;
}

.branch-agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  padding: 1rem;
}

.barber-agenda-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 32, .04);
}

.barber-agenda-head {
  display: flex;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  justify-content: initial;
  align-items: center;
  gap: .75rem;
  padding: .8rem .9rem;
  border-bottom: 1px solid rgba(23, 32, 42, .08);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.barber-agenda-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111820;
  background: linear-gradient(135deg, #f7c948, #c79a3b);
  font-weight: 950;
  text-transform: uppercase;
}

.barber-agenda-head h4 {
  min-width: 0;
  margin: 0;
  font-size: .98rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.barber-agenda-head span {
  flex: 0 0 auto;
  margin-left: auto;
  padding: .24rem .5rem;
  border-radius: 999px;
  color: #344054;
  background: #eef2f6;
  font-size: .72rem;
  font-weight: 900;
}

.agenda-booking-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  padding: .82rem .9rem;
  border-top: 1px solid rgba(23, 32, 42, .08);
  transition: background-color .16s ease, transform .16s ease;
}

.agenda-booking-row:hover {
  background: #fbfcfd;
}

.agenda-booking-row:first-of-type {
  border-top: 0;
}

.agenda-booking-time {
  display: grid;
  gap: .05rem;
}

.agenda-booking-time time {
  color: #344054;
  font-size: .76rem;
  font-weight: 800;
}

.agenda-booking-time strong {
  color: #111820;
  font-size: 1rem;
  font-weight: 950;
}

.agenda-booking-main {
  min-width: 0;
}

.agenda-booking-main strong,
.agenda-booking-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-booking-main strong {
  color: #111820;
}

.agenda-booking-main span {
  color: #5b6678;
  font-size: .84rem;
}

.agenda-booking-row em {
  width: fit-content;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(199, 154, 59, .14);
  color: #7a5415;
  font-style: normal;
  font-size: .76rem;
  font-weight: 800;
}

.booking-payment-line {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .55rem;
  margin-top: .25rem;
}

.booking-payment-line small {
  color: #667085;
  font-weight: 700;
}

.booking-payment-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: .24rem .55rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.booking-payment-paid {
  color: #0f5132;
  background: #d1e7dd;
}

.booking-payment-deposit {
  color: #7a5415;
  background: rgba(199, 154, 59, .18);
}

.booking-payment-pending {
  color: #084298;
  background: #cfe2ff;
}

.booking-payment-none {
  color: #475467;
  background: #eef2f6;
}

@media (max-width: 1199.98px) {
  .agenda-kpi-grid,
  .branch-agenda-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .agenda-premium-hero,
  .agenda-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .agenda-section-heading p {
    text-align: left;
  }

  .agenda-kpi-grid,
  .branch-agenda-grid {
    grid-template-columns: 1fr;
  }

  .agenda-booking-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .booking-payment-line {
    grid-column: auto;
  }
}

.compact-action {
  min-height: 96px;
}

.premium-table thead th {
  color: #344054;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0;
  border-top: 0;
}

.table {
  --bs-table-color: #17202a;
  --bs-table-bg: #fff;
  color: #17202a !important;
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(23, 32, 42, .08);
  color: #17202a !important;
  background-color: #fff !important;
}

.badge {
  letter-spacing: 0;
}

.professional-card {
  height: 100%;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(23,32,42,.08);
  box-shadow: 0 16px 50px rgba(17,24,32,.045);
}

.professional-card img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.professional-days,
.professional-branches,
.swal-week-days,
.swal-branch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.professional-days span,
.professional-branches span,
.swal-week-days span,
.swal-branch-grid span {
  display: inline-grid;
  min-width: 42px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(23, 32, 42, .12);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: .8rem;
  font-weight: 800;
}

.professional-days span.active,
.professional-branches span.active,
.swal-week-days input:checked + span,
.swal-branch-grid input:checked + span {
  border-color: #111820;
  background: #111820;
  color: #fff;
}

.professional-branches span {
  padding-inline: .55rem;
}

.swal-week-days label,
.swal-branch-grid label {
  position: relative;
  margin: 0;
}

.swal-week-days input,
.swal-branch-grid input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.row-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 8px;
  font-weight: 700;
}

.agenda-row {
  padding: .85rem 0;
  border-top: 1px solid rgba(23, 32, 42, .08);
}

.agenda-row:first-of-type {
  border-top: 0;
}

.agenda-row strong,
.agenda-row span,
.agenda-row small {
  display: block;
}

.module-ready-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1.25rem;
  align-items: stretch;
}

.module-ready-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 16px 50px rgba(17, 24, 32, .045);
}

.module-ready-card h2,
.module-ready-card h3 {
  color: #111820;
}

.module-ready-list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.module-ready-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #344054;
}

.module-ready-list i {
  color: #c79a3b;
  margin-top: .1rem;
}

.module-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(199, 154, 59, .14);
  color: #7a5415;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
}

.schedule-general {
  padding: 1rem;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #fff;
}

.schedule-general-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.schedule-general-grid label {
  display: grid;
  gap: .35rem;
}

.schedule-general-grid label span {
  color: #344054;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.availability-block-form {
  padding: 1rem;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #fbfcfd;
}

.opening-days-grid,
.barber-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .45rem;
}

.opening-days-grid label,
.barber-week-grid label {
  position: relative;
  margin: 0;
}

.opening-days-grid input,
.barber-week-grid input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.opening-days-grid span,
.barber-week-grid span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(23, 32, 42, .1);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 800;
  cursor: pointer;
}

.opening-days-grid input:checked + span,
.barber-week-grid input:checked + span {
  border-color: #111820;
  background: #111820;
  color: #fff;
}

.availability-list {
  display: grid;
  gap: .75rem;
}

.availability-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: .85rem;
  align-items: start;
  padding: .9rem;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #fff;
}

.availability-item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111820;
  background: rgba(199, 154, 59, .16);
}

.availability-item strong,
.availability-item span,
.availability-item small {
  display: block;
}

.availability-item strong {
  color: #111820;
}

.availability-item span {
  color: #344054;
  font-weight: 700;
}

.availability-item small {
  color: #5b6678;
}

.brand-assets-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.brand-asset-box {
  display: grid;
  gap: .85rem;
  align-content: start;
  min-height: 220px;
  padding: 1rem;
  border: 1px solid rgba(17, 24, 32, .09);
  border-radius: 8px;
  background: #f8fafc;
}

.brand-asset-box > span {
  color: #667085;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-asset-box > img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
  border-radius: 8px;
  padding: .75rem;
  background:
    linear-gradient(45deg, #eef2f6 25%, transparent 25%),
    linear-gradient(-45deg, #eef2f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef2f6 75%),
    linear-gradient(-45deg, transparent 75%, #eef2f6 75%),
    #fff;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  border: 1px solid rgba(17, 24, 32, .08);
}

.brand-asset-empty {
  display: grid;
  gap: .35rem;
  place-items: center;
  min-height: 130px;
  border: 1px dashed rgba(17, 24, 32, .18);
  border-radius: 8px;
  color: #667085;
  text-align: center;
  background: #fff;
}

.brand-asset-empty i {
  color: #98a2b3;
  font-size: 1.6rem;
}

.brand-asset-empty strong {
  color: #111820;
}

.brand-asset-empty small {
  max-width: 260px;
}

.premium-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0 .55rem;
}

.premium-table thead th {
  color: #344054;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
}

.premium-table tbody td {
  color: #17202a;
  border-top: 1px solid rgba(17, 24, 32, .07);
  border-bottom: 1px solid rgba(17, 24, 32, .07);
  background: #fff !important;
  vertical-align: middle;
}

.premium-table tbody tr td:first-child {
  border-left: 1px solid rgba(17, 24, 32, .07);
  border-radius: 8px 0 0 8px;
}

.premium-table tbody tr td:last-child {
  border-right: 1px solid rgba(17, 24, 32, .07);
  border-radius: 0 8px 8px 0;
}

.premium-table tbody tr {
  box-shadow: 0 12px 34px rgba(17, 24, 32, .035);
}

.premium-card .form-control,
.premium-card .form-select,
.availability-block-form .form-control,
.availability-block-form .form-select {
  min-height: 44px;
  border-color: rgba(17, 24, 32, .12);
  border-radius: 8px;
  color: #111820;
  background-color: #fff;
  font-weight: 650;
}

.premium-card .form-control:focus,
.premium-card .form-select:focus,
.availability-block-form .form-control:focus,
.availability-block-form .form-select:focus {
  border-color: rgba(199, 154, 59, .72);
  box-shadow: 0 0 0 .2rem rgba(199, 154, 59, .15);
}

.premium-card .form-label,
.availability-block-form .form-label {
  color: #344054;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.payment-provider-pill,
.payment-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .76rem;
  font-weight: 900;
}

.payment-provider-pill {
  color: #111820;
  background: #eef2f6;
}

.payment-status-paid {
  color: #0f5132;
  background: #d1e7dd;
}

.payment-status-pending {
  color: #664d03;
  background: #fff3cd;
}

.payment-status-failed,
.payment-status-cancelled {
  color: #842029;
  background: #f8d7da;
}

.payment-status-refunded {
  color: #084298;
  background: #cfe2ff;
}

.payment-provider-list {
  display: grid;
  gap: .85rem;
}

.payment-provider-list > div:not(.empty-state) {
  display: grid;
  gap: .2rem;
  padding: .9rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.payment-provider-list span,
.payment-provider-list small {
  color: #667085;
}

.payment-provider-list strong {
  color: #111820;
  font-size: 1.35rem;
}

.payment-row-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: .4rem;
  white-space: nowrap;
}

.payment-row-actions .btn {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  padding: 0;
}

.flatpickr-calendar {
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(17, 24, 32, .18);
  font-family: inherit;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  border-color: #d9a62e;
  background: #d9a62e;
  color: #111820;
}

.flatpickr-day.today {
  border-color: #111820;
}

.barber-hero {
  align-items: center;
}

.barber-hero-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.barber-hero-profile img {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(217, 166, 46, .75);
  background: #111820;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
}

.barber-booking-list,
.barber-service-list,
.barber-block-list,
.barber-checkin-list {
  display: grid;
  gap: .85rem;
}

.barber-booking-list article,
.barber-block-list article,
.barber-checkin-list button,
.barber-service-list > div:not(.empty-state) {
  display: grid;
  gap: .25rem;
  padding: .95rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.barber-booking-list article {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.booking-date-chip {
  width: 4.2rem;
  min-height: 4.2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #111820;
  background: #f7c948;
}

.booking-date-chip strong,
.booking-date-chip span {
  display: block;
  line-height: 1;
}

.booking-date-chip span,
.barber-booking-list small,
.barber-service-list small,
.barber-block-list small,
.barber-checkin-list small {
  color: #667085;
}

.barber-booking-list article > div:nth-child(2),
.barber-service-list div,
.barber-block-list article div {
  min-width: 0;
}

.barber-booking-list strong,
.barber-service-list strong,
.barber-block-list strong,
.barber-checkin-list strong {
  color: #111820;
}

.barber-booking-list span:not(.payment-status),
.barber-service-list span,
.barber-block-list span,
.barber-checkin-list span {
  color: #344054;
}

.availability-day-card {
  min-height: 7rem;
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: .9rem;
  border: 1px solid rgba(17, 24, 32, .12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: .18s ease;
}

.availability-day-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.availability-day-card span {
  width: fit-content;
  border-radius: 999px;
  padding: .22rem .55rem;
  color: #667085;
  background: #eef2f6;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.availability-day-card strong {
  color: #111820;
}

.availability-day-card.is-active,
.availability-day-card:has(input:checked) {
  border-color: rgba(217, 166, 46, .85);
  background: linear-gradient(135deg, #111820, #25211d);
  box-shadow: 0 18px 48px rgba(17, 24, 32, .16);
}

.availability-day-card.is-active span,
.availability-day-card:has(input:checked) span {
  color: #111820;
  background: #f7c948;
}

.availability-day-card.is-active strong,
.availability-day-card:has(input:checked) strong {
  color: #fff;
}

.barber-block-list article {
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: center;
}

.barber-block-list i {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #842029;
  background: #f8d7da;
}

.barber-qr-reader {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(17, 24, 32, .22);
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(217, 166, 46, .13), transparent 42%), #f8fafc;
}

.barber-qr-reader > div:first-child {
  display: grid;
  justify-items: center;
  gap: .35rem;
  color: #667085;
  text-align: center;
}

.barber-qr-reader i {
  color: #111820;
  font-size: 2.8rem;
}

.barber-checkin-list button {
  width: 100%;
  border: 1px solid rgba(17, 24, 32, .08);
  text-align: left;
}

.barber-checkin-list button:hover {
  border-color: rgba(217, 166, 46, .7);
  box-shadow: 0 18px 48px rgba(17, 24, 32, .08);
}

@media (max-width: 768px) {
  .barber-hero-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .barber-booking-list article {
    grid-template-columns: 1fr;
  }

  .booking-date-chip {
    width: 100%;
    min-height: 3.2rem;
    display: flex;
    justify-content: space-between;
    padding: .75rem;
  }

  .barber-qr-reader {
    min-height: 280px;
  }
}

.superadmin-tenants-panel {
  padding: 1.05rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 22px 64px rgba(17, 24, 32, .075);
}

.superadmin-tenants-head,
.tenant-branches-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.superadmin-tenants-head span,
.tenant-branches-title span {
  color: #c79a3b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.superadmin-tenants-head h2,
.tenant-branches-title h3 {
  margin: .1rem 0 0;
  color: #111820;
  font-weight: 950;
}

.superadmin-tenants-head h2 {
  font-size: 1.35rem;
}

.tenant-branches-title h3 {
  font-size: 1.05rem;
}

.superadmin-tenants-head p {
  max-width: 480px;
  margin: 0;
  color: #667085;
  font-weight: 650;
  text-align: right;
}

.superadmin-tenant-list {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.tenant-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(17, 24, 32, .055);
}

.tenant-card-main {
  display: grid;
  grid-template-columns: 40px 46px minmax(220px, 1fr) repeat(4, minmax(86px, .28fr)) minmax(320px, auto);
  gap: .85rem;
  align-items: center;
  padding: .95rem;
}

.tenant-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 24, 32, .12);
  border-radius: 8px;
  color: #111820;
  background: #fff;
  transition: transform .18s ease, background-color .18s ease;
}

.tenant-toggle[aria-expanded="true"] {
  color: #111820;
  background: #f7c948;
}

.tenant-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.tenant-toggle i {
  transition: transform .18s ease;
}

.tenant-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111820;
  background: linear-gradient(135deg, #f7c948, #c79a3b);
  font-weight: 950;
  text-transform: uppercase;
}

.tenant-info {
  min-width: 0;
}

.tenant-info strong,
.tenant-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-info strong {
  color: #111820;
  font-size: 1.02rem;
  font-weight: 950;
}

.tenant-info span,
.tenant-info a {
  color: #667085;
  font-size: .84rem;
  font-weight: 700;
}

.tenant-meta {
  display: grid;
  gap: .1rem;
}

.tenant-meta span {
  color: #98a2b3;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tenant-meta strong {
  color: #111820;
  font-weight: 900;
}

.tenant-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: .45rem;
  min-width: 0;
}

.tenant-actions .btn,
.tenant-branches-title .btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.tenant-status-form {
  margin: 0;
}

.tenant-status-switch {
  position: relative;
  width: 76px;
  height: 34px;
  display: inline-grid;
  align-items: center;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 24px rgba(17, 24, 32, .12);
  transition: background-color .18s ease, box-shadow .18s ease;
}

.tenant-actions .btn-sm {
  min-height: 34px;
  padding: .38rem .58rem;
}

.tenant-status-switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(17, 24, 32, .28);
  transition: transform .18s ease;
}

.tenant-status-switch b {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  font-size: .7rem;
  line-height: 1;
}

.tenant-status-switch.is-on {
  background: #198754;
}

.tenant-status-switch.is-on span {
  transform: translateX(42px);
}

.tenant-status-switch.is-on b {
  justify-content: start;
  padding-left: 12px;
}

.tenant-status-switch.is-off {
  background: #dc3545;
}

.tenant-status-switch.is-off b {
  justify-content: end;
  padding-right: 10px;
}

.tenant-status-switch:focus-visible {
  outline: 3px solid rgba(199, 154, 59, .35);
  outline-offset: 3px;
}

.tenant-branches-panel {
  padding: 1rem;
  border-top: 1px solid rgba(17, 24, 32, .08);
  background: #fbfcfd;
}

.tenant-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .9rem;
}

.tenant-users-panel {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: .9rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #fff;
}

.tenant-users-title,
.tenant-user-row,
.tenant-user-actions {
  display: flex;
  align-items: center;
}

.tenant-users-title {
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(17, 24, 32, .08);
}

.tenant-users-title span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #111820;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tenant-users-title small {
  color: #667085;
  font-weight: 800;
}

.tenant-user-list {
  display: grid;
  gap: .55rem;
}

.tenant-user-row {
  gap: .75rem;
  padding: .7rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.tenant-user-row.is-blocked {
  background: #fff8f8;
}

.tenant-user-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: #111820;
  font-weight: 950;
}

.tenant-user-info {
  min-width: 0;
  flex: 1 1 auto;
}

.tenant-user-info strong,
.tenant-user-info span,
.tenant-user-info small {
  display: block;
}

.tenant-user-info strong {
  color: #111820;
  font-weight: 950;
}

.tenant-user-info span {
  color: #344054;
  font-size: .84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.tenant-user-info small {
  color: #667085;
  font-size: .75rem;
}

.tenant-user-status {
  width: fit-content;
  padding: .28rem .6rem;
  border-radius: 999px;
  color: #0f5132;
  background: #d1e7dd;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tenant-user-row.is-blocked .tenant-user-status {
  color: #842029;
  background: #f8d7da;
}

.tenant-user-actions {
  gap: .35rem;
}

.superadmin-client-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: 1rem;
  align-items: end;
}

.superadmin-client-hero h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 950;
}

.superadmin-client-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .72);
}

.superadmin-client-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.superadmin-client-metrics div {
  padding: .85rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.superadmin-client-metrics span,
.superadmin-client-stats span,
.superadmin-client-group-head span {
  display: block;
  color: #98a2b3;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.superadmin-client-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
}

.superadmin-client-filters {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(260px, 1fr) auto;
  gap: .85rem;
  align-items: end;
}

.superadmin-client-group-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(17, 24, 32, .08);
}

.superadmin-client-group-head h2 {
  margin: .15rem 0 0;
  color: #111820;
  font-size: 1.25rem;
  font-weight: 950;
}

.superadmin-client-group-head strong {
  color: #7a5415;
  font-size: .82rem;
  font-weight: 950;
}

.superadmin-client-grid {
  display: grid;
  gap: .75rem;
  margin-top: .9rem;
}

.superadmin-client-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(360px, .9fr) auto;
  gap: .85rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-left: 4px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
}

.superadmin-client-card.tier-5,
.superadmin-client-card.tier-4 {
  border-left-color: #d6a83f;
  background: linear-gradient(90deg, rgba(214, 168, 63, .08), #fff 34%);
}

.superadmin-client-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111820;
  background: linear-gradient(135deg, #f7c948, #c79a3b);
  font-weight: 950;
}

.superadmin-client-main {
  min-width: 0;
}

.superadmin-client-title {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.superadmin-client-title strong {
  color: #111820;
  font-size: 1rem;
  font-weight: 950;
}

.client-stars {
  display: inline-flex;
  gap: .08rem;
  color: #d6a83f;
  font-size: .85rem;
}

.superadmin-client-main span,
.superadmin-client-main small {
  display: block;
  color: #667085;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.superadmin-client-main small {
  color: #344054;
  font-size: .78rem;
}

.superadmin-client-stats {
  display: grid;
  grid-template-columns: .5fr .8fr 1fr;
  gap: .65rem;
}

.superadmin-client-stats div {
  padding: .55rem .65rem;
  border-radius: 8px;
  background: #f8fafc;
}

.superadmin-client-stats strong {
  display: block;
  color: #111820;
  font-size: .92rem;
  font-weight: 950;
}

.superadmin-client-actions {
  display: flex;
  gap: .45rem;
  justify-content: flex-end;
}

.tenant-branch-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: .75rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #fff;
}

.tenant-branch-professionals {
  grid-column: 2 / -1;
  display: grid;
  gap: .5rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(17, 24, 32, .08);
}

.tenant-branch-professionals-title {
  display: block;
  color: #98a2b3;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tenant-professional-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.tenant-professional-pill {
  display: grid;
  gap: .05rem;
  min-width: 180px;
  padding: .55rem .65rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.tenant-professional-pill b {
  color: #111820;
  font-size: .84rem;
  font-weight: 950;
}

.tenant-professional-pill small {
  color: #667085;
  font-size: .76rem;
  font-weight: 700;
}

.tenant-professional-pill i {
  width: fit-content;
  margin-top: .15rem;
  padding: .15rem .4rem;
  border-radius: 999px;
  color: #7a5415;
  background: rgba(199, 154, 59, .14);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}

.tenant-professional-pill.is-inactive {
  opacity: .62;
  background: #fff5f5;
}

.tenant-branch-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111820;
  background: rgba(199, 154, 59, .16);
}

.tenant-branch-card strong,
.tenant-branch-card span,
.tenant-branch-card small {
  display: block;
}

.tenant-branch-card strong {
  color: #111820;
  font-weight: 950;
}

.tenant-branch-card span {
  color: #344054;
  font-weight: 700;
}

.tenant-branch-card small {
  color: #667085;
}

.tenant-branch-stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: .05rem .35rem;
  align-items: baseline;
  color: #667085;
  font-size: .75rem;
  font-weight: 800;
}

.tenant-branch-stats b {
  color: #111820;
  font-size: 1rem;
}

.tenant-branch-card em {
  width: fit-content;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-style: normal;
  font-size: .72rem;
  font-weight: 900;
}

.tenant-branch-card em.is-active {
  color: #0f5132;
  background: #d1e7dd;
}

.tenant-branch-card em.is-inactive {
  color: #842029;
  background: #f8d7da;
}

.public-unavailable-page {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 13, 18, .96), rgba(31, 42, 58, .94)),
    #111820;
}

.public-unavailable-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.public-unavailable-card {
  width: min(100%, 560px);
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  text-align: center;
}

.public-unavailable-brand {
  width: min(260px, 76vw);
  height: auto;
  object-fit: contain;
  margin-bottom: .4rem;
}

.public-unavailable-card img,
.public-unavailable-mark {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.public-unavailable-mark {
  display: grid;
  place-items: center;
  color: #111820;
  background: linear-gradient(135deg, #f7c948, #c79a3b);
  font-size: 2rem;
  font-weight: 950;
}

.public-unavailable-card img.public-unavailable-brand {
  width: min(260px, 76vw);
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.public-unavailable-card span {
  color: #f7c948;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-unavailable-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 950;
}

.public-unavailable-card p {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 850;
}

.public-unavailable-card small {
  color: rgba(255, 255, 255, .68);
  font-weight: 650;
}

@media (max-width: 1199.98px) {
  .superadmin-client-hero,
  .superadmin-client-filters,
  .superadmin-client-card {
    grid-template-columns: 1fr;
  }

  .superadmin-client-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .superadmin-client-actions {
    justify-content: flex-start;
  }

  .tenant-card-main {
    grid-template-columns: 40px 46px minmax(220px, 1fr) repeat(2, minmax(90px, .35fr));
  }

  .tenant-actions {
    grid-column: 3 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .tenant-branch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .superadmin-client-metrics,
  .superadmin-client-stats {
    grid-template-columns: 1fr;
  }

  .superadmin-client-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .superadmin-tenants-head,
  .tenant-branches-title {
    align-items: stretch;
    flex-direction: column;
  }

  .superadmin-tenants-head p {
    text-align: left;
  }

  .tenant-card-main,
  .tenant-branch-card {
    grid-template-columns: 1fr;
  }

  .tenant-card-main .tenant-meta {
    grid-column: auto;
  }

  .tenant-branch-professionals {
    grid-column: auto;
  }

  .tenant-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .tenant-actions .tenant-status-form,
  .tenant-actions .btn {
    width: 100%;
  }

  .tenant-actions .tenant-status-switch,
  .tenant-actions .btn {
    justify-content: center;
  }

  .tenant-user-row {
    align-items: stretch;
    flex-direction: column;
  }

  .tenant-user-actions {
    justify-content: flex-start;
  }
}

.landing-preview {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .8rem;
  padding: 1.5rem;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17,24,32,.12), rgba(17,24,32,.86)),
    linear-gradient(135deg, var(--preview-primary), #26364b);
  box-shadow: 0 24px 70px rgba(17,24,32,.12);
}

.landing-preview span {
  color: var(--preview-secondary);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.landing-preview h3 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
}

.landing-preview p {
  color: rgba(255,255,255,.82);
  max-width: 32rem;
}

.landing-preview button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: .75rem 1rem;
  background: var(--preview-secondary);
  color: var(--preview-text, #111820);
  font-weight: 800;
}

.team-preview {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(17, 24, 32, .08);
  border-radius: 8px;
  color: var(--preview-team-text);
  background: var(--preview-team-bg);
  box-shadow: 0 18px 55px rgba(17, 24, 32, .08);
}

.team-preview span {
  color: var(--preview-secondary, #c79a3b);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-preview h3 {
  margin: .25rem 0;
  color: var(--preview-team-text);
  font-size: 1.35rem;
  font-weight: 900;
}

.team-preview p,
.team-preview small {
  color: var(--preview-team-text);
  opacity: .72;
}

.team-preview article {
  padding: .8rem;
  border: 1px solid rgba(17, 24, 32, .1);
  border-radius: 8px;
  background: var(--preview-team-card);
}

.team-preview article > strong {
  display: block;
  margin-bottom: .7rem;
  color: var(--preview-team-text);
}

.team-preview article > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .75rem;
  align-items: center;
}

.team-preview img {
  width: 72px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.team-preview b,
.team-preview small {
  display: block;
}

.team-preview button {
  margin-top: .55rem;
  border: 0;
  border-radius: 8px;
  padding: .45rem .7rem;
  color: #fff;
  background: #111820;
  font-weight: 800;
}

.qr-display {
  width: min(100%, 220px);
  display: grid;
  gap: .75rem;
  justify-items: center;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(23, 32, 42, .08);
  box-shadow: 0 18px 55px rgba(17,24,32,.08);
}

.qr-display img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  image-rendering: pixelated;
}

.qr-display code {
  width: 100%;
  display: block;
  padding: .5rem;
  border-radius: 8px;
  color: #111820;
  background: #f6f7f9;
  text-align: center;
  white-space: normal;
}

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

.license-card {
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(23, 32, 42, .08);
  box-shadow: 0 16px 50px rgba(17,24,32,.045);
  color: #17202a;
}

.license-card h2,
.license-card strong {
  color: #111820;
}

.license-card .text-muted,
.license-card small {
  color: #4a5568 !important;
}

.license-usage {
  display: grid;
  gap: .85rem;
  margin-top: 1.1rem;
}

.license-usage span {
  color: #344054;
  font-size: .86rem;
  font-weight: 650;
}

.usage-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f6;
}

.usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c79a3b, #f7c948);
}

.compact-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.plan-admin-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 42, .1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 18px 44px rgba(23, 32, 42, .07);
}

.plan-admin-card h3 {
  margin: .75rem 0 .35rem;
  color: #111820;
  font-size: 1.05rem;
  font-weight: 900;
}

.plan-admin-card p {
  margin: 0;
  color: #536174;
  font-size: .88rem;
}

.plan-admin-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
}

.plan-admin-price strong {
  color: #111820;
  font-size: 1.55rem;
  font-weight: 950;
}

.plan-admin-price span,
.plan-admin-price small {
  color: #536174;
}

.plan-admin-price small {
  margin-left: auto;
}

.plan-admin-limits {
  display: grid;
  gap: .5rem;
  color: #263241;
  font-size: .88rem;
  font-weight: 800;
}

.plan-admin-limits span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.client-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 1rem;
}

.client-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.client-ranking {
  display: grid;
  gap: .65rem;
}

.client-ranking > div:not(.empty-state) {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .72rem;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.client-ranking b {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 8px;
  color: #111820;
  background: #f7c948;
  font-weight: 950;
}

.client-ranking span,
.client-ranking small,
.client-ranking strong {
  display: block;
}

.client-ranking span {
  color: #111820;
  font-weight: 900;
}

.client-ranking small {
  color: #667085;
  font-size: .78rem;
  font-weight: 700;
}

.client-ranking strong {
  color: #111820;
  font-size: .9rem;
  white-space: nowrap;
}

.swal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.swal-form-grid label {
  display: grid;
  gap: .35rem;
  color: #344054;
  font-size: .86rem;
  font-weight: 650;
}

.swal-form-grid .swal-full {
  grid-column: 1 / -1;
}

.swal-form-grid .swal-check {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(23, 32, 42, .12);
  border-radius: 8px;
  background: #f8fafc;
}

.swal-form-grid .swal-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #111820;
}

@media (max-width: 1200px) {
  .premium-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panel-fichas,
  .license-grid,
  .plan-admin-grid,
  .compact-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero-pro,
  .landing-workflow,
  .landing-final-cta,
  .checkout-payment-shell,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .landing-feature-grid,
  .landing-plan-grid,
  .public-barber-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-stage {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .landing-hero-pro {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .landing-hero-copy h1 {
    font-size: clamp(2.3rem, 14vw, 4rem);
  }

  .landing-dashboard-card {
    position: static;
    width: 100%;
    margin-top: .75rem;
  }

  .landing-stats,
  .landing-feature-grid,
  .landing-plan-grid,
  .operation-dashboard-grid,
  .operation-list-grid,
  .site-editor-grid,
  .brand-assets-preview {
    grid-template-columns: 1fr;
  }

  .landing-stats,
  .landing-section,
  .landing-workflow,
  .landing-testimonial,
  .landing-final-cta {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .landing-flow-list div {
    align-items: flex-start;
  }

  .checkout-shell {
    width: min(100% - 1.3rem, 720px);
    min-height: auto;
    padding: .85rem 0 1.5rem;
  }

  .checkout-logo {
    width: min(220px, 78vw);
    height: 66px;
    object-position: center;
    margin-right: auto;
    margin-left: auto;
  }

  .checkout-brand {
    text-align: center;
  }

  .checkout-brand h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .checkout-trust-list {
    justify-content: center;
  }

  .checkout-payment-brand {
    min-height: auto;
  }

  .checkout-progress,
  .checkout-payment-grid {
    grid-template-columns: 1fr;
  }

  .checkout-progress span {
    justify-content: flex-start;
    padding: 0 .9rem;
  }

  .login-shell {
    align-items: start;
    min-height: 100svh;
    padding: .85rem;
  }

  .login-stage {
    gap: .85rem;
  }

  .login-brand-panel {
    min-height: auto;
    gap: 1.25rem;
    padding: 1.15rem;
    text-align: center;
    background-position: center top;
  }

  .login-logo img {
    width: min(260px, 76vw);
    height: 76px;
  }

  .login-brand-copy h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
    line-height: 1;
  }

  .login-brand-copy p:not(.login-eyebrow) {
    font-size: .96rem;
  }

  .login-eyebrow {
    font-size: .68rem;
  }

  .login-proof-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: .55rem;
  }

  .login-proof-grid div {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    column-gap: .75rem;
    padding: .78rem .85rem;
    text-align: left;
  }

  .login-proof-grid i {
    grid-row: span 2;
    margin: 0;
    font-size: 1.15rem;
  }

  .login-proof-grid strong {
    margin: 0;
    font-size: .92rem;
  }

  .login-proof-grid span {
    font-size: .78rem;
  }

  .login-card {
    padding: 1rem;
  }

  .login-card-head {
    gap: .7rem;
    margin-bottom: .85rem;
  }

  .login-card-head > span {
    width: 2.6rem;
    height: 2.6rem;
  }

  .login-card-head h2 {
    font-size: 1.35rem;
  }

  .login-access-note {
    padding: .75rem;
    font-size: .84rem;
  }

  .login-input {
    min-height: 48px;
  }

  .login-demo-box {
    font-size: .84rem;
  }

  .public-floating-nav {
    position: absolute;
    top: .75rem;
  }

  .public-nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .public-nav-links a:not(.public-access-link) {
    display: none;
  }

  .public-access-link {
    display: inline-flex;
  }

  .barber-hero {
    min-height: auto;
    padding: 8.5rem 0 3rem;
  }

  .public-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .public-hero-copy h1 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .public-hero-card {
    display: none;
  }

  .topbar-identity small {
    display: none;
  }

  .topbar-profile {
    padding: .3rem;
  }

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

  .premium-hero {
    min-height: auto;
    padding: 1.25rem;
  }

  .agenda-premium-hero {
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    padding: 1.2rem;
  }

  .agenda-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .agenda-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .agenda-legend {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }

  .agenda-legend b {
    justify-content: flex-start;
    font-size: .78rem;
  }

  .agenda-calendar-shell {
    overflow-x: auto;
    padding: .55rem;
  }

  .agenda-calendar-shell .fc {
    min-width: 620px;
  }

  .agenda-calendar-shell .fc .fc-toolbar {
    gap: .5rem;
    align-items: stretch;
    flex-direction: column;
  }

  .agenda-calendar-shell .fc .fc-toolbar-chunk {
    display: flex;
    justify-content: center;
  }

  .agenda-calendar-shell .fc .fc-toolbar-title {
    font-size: 1rem;
    text-align: center;
  }

  .agenda-calendar-shell .fc .fc-button {
    padding: .38rem .55rem;
    font-size: .78rem;
  }

  .fc-premium-event strong {
    font-size: .76rem;
  }

  .fc-premium-event span {
    font-size: .7rem;
  }

  .fc-premium-event small {
    font-size: .64rem;
  }

  .branch-agenda-section header,
  .barber-agenda-head,
  .agenda-booking-row {
    align-items: flex-start;
  }

  .agenda-booking-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .agenda-booking-row em,
  .booking-payment-line {
    grid-column: 1 / -1;
  }

  .module-ready-grid {
    grid-template-columns: 1fr;
  }

  .panel-fichas,
  .dashboard-report-grid,
  .branch-agenda-grid,
  .license-grid,
  .plan-admin-grid,
  .compact-metrics,
  .client-analytics-grid,
  .client-top-grid,
  .booking-grid,
  .public-barber-grid {
    grid-template-columns: 1fr;
  }

  .public-section-head,
  .public-branch-head,
  .public-booking-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .public-section-head h2 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .public-barber-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 0;
  }

  .public-barber-card img {
    width: 112px;
    height: 164px;
    min-height: 164px;
  }

  .schedule-general-grid {
    grid-template-columns: 1fr;
  }

  .opening-days-grid,
  .barber-week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 420px) {
  .login-shell {
    padding: .65rem;
  }

  .login-brand-panel,
  .login-card {
    border-radius: 8px;
  }

  .login-brand-panel {
    padding: 1rem .85rem;
  }

  .login-logo img {
    width: min(220px, 82vw);
    height: 66px;
  }

  .login-brand-copy h1 {
    font-size: clamp(1.8rem, 12vw, 2.65rem);
  }

  .login-brand-copy p:not(.login-eyebrow),
  .login-access-note,
  .login-form label {
    font-size: .82rem;
  }

  .login-proof-grid div {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    padding: .68rem;
  }

  .login-card-head h2 {
    font-size: 1.22rem;
  }

  .login-input {
    gap: .55rem;
    padding: 0 .8rem;
  }

  .login-demo-box code {
    overflow-wrap: anywhere;
  }
}
