:root {
    --pink: #ec4899;
    --pink-soft: #fdf2f8;
    --purple: #7c3aed;
    --purple-dark: #32104f;
    --orange: #fb923c;
    --dark: #1f1235;
    --muted: #6b7280;
    --line: #f2d7e8;
    --card: #ffffff;
    --bg: #fff7fb;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(124,58,237,0.12), transparent 34%),
        linear-gradient(180deg, #fff7fb 0%, #ffffff 58%, #fff7fb 100%);
    color: var(--dark);
}

/* Top navigation */
.topbar {
    min-height: 72px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(236,72,153,0.13);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.brand {
    text-decoration: none;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--orange));
    -webkit-background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.navlinks a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 14px;
    padding: 10px 13px;
    border-radius: 999px;
    transition: 0.18s ease;
}

.navlinks a:hover {
    background: var(--pink-soft);
    color: var(--purple);
}

.logout-link {
    background: #fff1f2;
    color: #be123c !important;
}

/* Flash */
.flash-wrap {
    width: min(980px, calc(100% - 32px));
    margin: 20px auto 0;
}

.flash {
    padding: 14px 18px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 16px 40px rgba(31,18,53,0.08);
}

.flash-success { border-left: 5px solid #22c55e; }
.flash-danger { border-left: 5px solid #ef4444; }
.flash-warning { border-left: 5px solid #f59e0b; }
.flash-info { border-left: 5px solid #3b82f6; }

/* Public homepage */
.hero {
    padding: 80px 20px 40px;
    display: flex;
    justify-content: center;
}

.hero-card {
    width: min(1120px, 100%);
    min-height: 420px;
    padding: 60px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(236,72,153,0.96), rgba(124,58,237,0.93), rgba(251,146,60,0.75));
    color: white;
    box-shadow: 0 30px 80px rgba(124,58,237,0.25);
    position: relative;
    overflow: hidden;
}

.hero-card:after,
.auth-side:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.17);
}

.eyebrow,
.auth-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 900;
    opacity: 0.92;
}

.hero h1 {
    font-size: clamp(44px, 8vw, 88px);
    line-height: 0.95;
    margin: 18px 0;
    max-width: 760px;
}

.hero p {
    max-width: 660px;
    font-size: 19px;
    line-height: 1.65;
}

.feature-grid {
    width: min(1120px, calc(100% - 40px));
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card,
.form-card,
.table-card,
.stat-card {
    background: var(--card);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(31,18,53,0.08);
    border: 1px solid rgba(236,72,153,0.12);
    text-decoration: none;
    color: var(--dark);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--purple);
}

/* Professional registration */
.auth-hero-page {
    width: min(1180px, calc(100% - 32px));
    margin: 44px auto 70px;
}

.auth-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.18fr;
    gap: 28px;
    align-items: stretch;
}

.auth-side {
    min-height: 690px;
    border-radius: 34px;
    padding: 44px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(31,18,53,0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-side-student {
    background: linear-gradient(135deg, #ec4899 0%, #7c3aed 60%, #5b21b6 100%);
}

.auth-side-teacher {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 55%, #fb923c 100%);
}

.auth-side h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.98;
    margin: 18px 0;
    position: relative;
    z-index: 1;
    letter-spacing: -1.5px;
}

.auth-side p {
    position: relative;
    z-index: 1;
    font-size: 17px;
    line-height: 1.65;
    opacity: 0.94;
}

.auth-badge {
    position: relative;
    z-index: 1;
}

.auth-checklist {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.auth-checklist div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 850;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.18);
}

.auth-checklist span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--purple);
    border-radius: 999px;
    font-weight: 900;
}

.auth-card {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(236,72,153,0.14);
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 26px 80px rgba(31,18,53,0.10);
}

.auth-card-header {
    margin-bottom: 26px;
}

.auth-card-header h2 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -0.8px;
}

.auth-card-header p,
.hint {
    color: var(--muted);
    line-height: 1.45;
}

.modern-form {
    display: grid;
    gap: 18px;
}

.form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field label,
label {
    display: block;
    margin: 0 0 8px;
    font-weight: 900;
    color: var(--dark);
}

input,
textarea,
.modern-form input,
.modern-form textarea {
    width: 100%;
    border: 1px solid #eadfea;
    border-radius: 18px;
    padding: 15px 16px;
    font-size: 16px;
    color: var(--dark);
    background: #fff;
    transition: 0.18s ease;
    font-family: Arial, Helvetica, sans-serif;
}

input:focus,
textarea:focus,
.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: rgba(124,58,237,0.75);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.11);
}

textarea,
.modern-form textarea {
    min-height: 128px;
    resize: vertical;
}

.primary-gradient-btn,
.btn.gradient {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 16px 22px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--orange));
    color: white;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(124,58,237,0.25);
    transition: 0.18s ease;
}

.primary-gradient-btn:hover,
.btn.gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(124,58,237,0.30);
}

.auth-footer-note,
.small-center {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.auth-footer-note a,
.small-center a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 900;
}

/* Login form */
.form-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.form-card {
    width: min(460px, 100%);
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 900;
}

.btn.primary {
    background: #fff;
    color: var(--purple);
}

.btn.secondary {
    background: rgba(255,255,255,0.18);
    color: white;
    border: 1px solid rgba(255,255,255,0.45);
    margin-left: 12px;
}

.btn.full {
    width: 100%;
    margin-top: 20px;
}

.captcha-box {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #fff1f8;
    border: 1px solid rgba(236,72,153,0.18);
}

.captcha-box span {
    font-weight: 900;
    color: var(--purple);
    text-align: center;
}

/* Dashboard/table */
.dashboard {
    width: min(1120px, calc(100% - 40px));
    margin: 50px auto;
}

.dashboard h1 {
    font-size: 34px;
    letter-spacing: -0.7px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.stat-card span {
    display: block;
    font-size: 34px;
    font-weight: 900;
    color: var(--pink);
}

.stat-card label {
    margin: 6px 0 0;
    color: var(--muted);
}

.table-card {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #f1e7f0;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--purple);
    font-weight: 900;
}

.inline-form {
    display: inline-block;
    margin: 2px;
}

.mini-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
}

.mini-btn.approve {
    background: #dcfce7;
    color: #166534;
}

.mini-btn.reject {
    background: #fee2e2;
    color: #991b1b;
}

/* Mobile */
@media (max-width: 980px) {
    .topbar {
        padding: 16px 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .navlinks {
        justify-content: flex-start;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-side {
        min-height: auto;
        padding: 32px;
    }

    .auth-card {
        padding: 30px;
    }

    .form-row.two,
    .feature-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}



/* Owner logo header */
.brand-logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    color: inherit;
}

.brand-logo img {
    display: block;
    height: 44px;
    max-width: 220px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .brand-logo img {
        height: 38px;
        max-width: 190px;
    }
}



select,
.setting-input {
    width: 100%;
    border: 1px solid #eadfea;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
    background: white;
}

.dashboard.narrow {
    width: min(760px, calc(100% - 40px));
}

.form-panel {
    padding: 30px;
}

.hint.small {
    font-size: 12px;
    margin: 6px 0 0;
}

.mini-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fdf2f8;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 900;
}

.settings-actions {
    margin-top: 22px;
    width: min(360px, 100%);
}

.primary-gradient-btn.compact {
    width: auto;
    min-width: 220px;
}



/* Final owner logo header sizing fix */
.topbar {
    min-height: 76px !important;
    height: auto !important;
    padding: 12px 38px !important;
}

.brand-logo,
.brand.brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 260px !important;
    height: 54px !important;
    padding: 0 !important;
    background: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.brand-logo img,
.brand.brand-logo img {
    display: block !important;
    height: 52px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.navlinks {
    margin-left: auto !important;
}

@media (max-width: 800px) {
    .topbar {
        padding: 12px 18px !important;
    }

    .brand-logo,
    .brand.brand-logo {
        height: 46px !important;
        max-width: 210px !important;
    }

    .brand-logo img,
    .brand.brand-logo img {
        height: 44px !important;
        max-width: 200px !important;
    }
}



/* Final medium logo size adjustment */
.topbar {
    min-height: 82px !important;
    padding: 12px 42px !important;
}

.brand-logo,
.brand.brand-logo {
    height: 64px !important;
    max-width: 360px !important;
    width: auto !important;
    overflow: visible !important;
}

.brand-logo img,
.brand.brand-logo img {
    height: 62px !important;
    max-width: 340px !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 800px) {
    .brand-logo,
    .brand.brand-logo {
        height: 52px !important;
        max-width: 250px !important;
    }

    .brand-logo img,
    .brand.brand-logo img {
        height: 50px !important;
        max-width: 240px !important;
    }
}



.page-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.mini-link.strong {
    background: linear-gradient(90deg, var(--pink), var(--purple));
    color: white;
}

.class-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.class-card {
    background: white;
    border: 1px solid rgba(236,72,153,0.14);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(31,18,53,0.08);
    text-decoration: none;
    color: var(--dark);
    transition: 0.18s ease;
}

.class-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(31,18,53,0.12);
}

.class-card h3 {
    margin: 12px 0;
    color: var(--purple);
    font-size: 24px;
}

.class-card span {
    color: var(--pink);
    font-weight: 900;
}

.class-pill {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fdf2f8;
    color: var(--purple);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-public-hero {
    background: white;
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 24px 70px rgba(31,18,53,0.10);
    border: 1px solid rgba(236,72,153,0.14);
}

.class-public-hero h1 {
    font-size: 42px;
    margin: 18px 0;
}

.class-meta {
    display: grid;
    gap: 8px;
    margin: 22px 0;
    color: var(--muted);
}

.success-box,
.warning-box,
.danger-box {
    padding: 15px 18px;
    border-radius: 18px;
    margin: 20px 0;
    font-weight: 800;
}

.success-box {
    background: #dcfce7;
    color: #166534;
}

.warning-box {
    background: #fef3c7;
    color: #92400e;
}

.danger-box {
    background: #fee2e2;
    color: #991b1b;
}

.link-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

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

    .page-head {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* Class/student status final fix */
.class-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
    margin-top: 24px !important;
}

.class-card {
    display: block !important;
    background: white !important;
    border: 1px solid rgba(236,72,153,0.14) !important;
    border-radius: 28px !important;
    padding: 28px !important;
    box-shadow: 0 18px 50px rgba(31,18,53,0.08) !important;
    text-decoration: none !important;
    color: var(--dark) !important;
    transition: 0.18s ease !important;
}

.class-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(31,18,53,0.12) !important;
}

.class-card h3 {
    margin: 12px 0 !important;
    color: var(--purple) !important;
    font-size: 24px !important;
}

.class-card p {
    color: var(--muted) !important;
    line-height: 1.5 !important;
}

.class-card span {
    color: var(--pink) !important;
    font-weight: 900 !important;
}

.class-teacher {
    font-weight: 800 !important;
    color: var(--purple) !important;
}

.class-pill {
    display: inline-flex !important;
    padding: 8px 13px !important;
    border-radius: 999px !important;
    background: #fdf2f8 !important;
    color: var(--purple) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.status-pill {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved,
.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.section-gap {
    margin-top: 36px;
}

@media (max-width: 900px) {
    .class-card-grid {
        grid-template-columns: 1fr !important;
    }
}



.status-payment_submitted,
.status-submitted {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-pending_payment,
.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}



.availability-filter {
    margin-bottom: 22px;
}

.availability-btn {
    border: 0;
    cursor: pointer;
}

.availability-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 24px;
    background: #fff7fb;
    border: 1px solid rgba(236,72,153,0.12);
}

.availability-box h3 {
    margin-top: 0;
}

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

.slot-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: white;
    border: 1px solid #f1d8e7;
}

.slot-item span {
    color: var(--muted);
    font-size: 13px;
}

.receipt-input {
    padding: 18px !important;
    background: #fff7fb !important;
}



/* Visual 24-hour booking calendar */
.booking-page {
    width: min(1280px, calc(100% - 40px));
}

.booking-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 24px;
    align-items: start;
}

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.booking-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.booking-legend i {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 5px;
}

.legend-available {
    background: #dcfce7;
    border: 1px solid #86efac;
}

.legend-blocked {
    background: #e5e7eb;
    border: 1px solid #cbd5e1;
}

.legend-selected {
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

.slot-grid-24 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.time-slot {
    border: 0;
    border-radius: 18px;
    min-height: 82px;
    padding: 12px;
    text-align: left;
    transition: 0.16s ease;
}

.time-slot strong {
    display: block;
    font-size: 17px;
}

.time-slot span,
.time-slot em {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    font-style: normal;
}

.time-slot.available {
    cursor: pointer;
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #86efac;
}

.time-slot.available:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22,101,52,0.12);
}

.time-slot.available.selected {
    background: linear-gradient(90deg, var(--pink), var(--purple));
    color: white;
    border-color: transparent;
    box-shadow: 0 18px 35px rgba(124,58,237,0.25);
}

.time-slot.blocked {
    background: #e5e7eb;
    color: #64748b;
    border: 1px solid #cbd5e1;
    cursor: not-allowed;
}

.selected-slot-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 800;
}

.selected-slot-box.selected {
    background: #fdf2f8;
    border-color: rgba(236,72,153,0.25);
    color: var(--purple);
}

.selected-slot-box.error {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.class-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

@media (max-width: 1000px) {
    .booking-layout,
    .class-detail-grid {
        grid-template-columns: 1fr;
    }

    .slot-grid-24 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .slot-grid-24 {
        grid-template-columns: repeat(2, 1fr);
    }

    .time-slot {
        min-height: 76px;
    }
}



.auto-refresh-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    border: 1px solid #e2e8f0;
}

.receipt-upload-panel {
    display: grid;
    gap: 14px;
}

.receipt-button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.receipt-choice-btn {
    border: 1px solid rgba(236,72,153,0.18);
    border-radius: 20px;
    padding: 18px 14px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    background: white;
    color: var(--dark);
    box-shadow: 0 12px 28px rgba(31,18,53,0.06);
    transition: 0.18s ease;
}

.receipt-choice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(31,18,53,0.10);
}

.receipt-choice-btn.camera {
    background: #fdf2f8;
    color: #be185d;
}

.receipt-choice-btn.gallery {
    background: #f5f3ff;
    color: #6d28d9;
}

.receipt-choice-btn.file {
    background: #fff7ed;
    color: #c2410c;
}

.hidden-receipt-input {
    display: none;
}

.selected-receipt-box {
    padding: 15px 17px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--muted);
    font-weight: 800;
}

.selected-receipt-box.selected {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.selected-receipt-box.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

@media (max-width: 700px) {
    .receipt-button-grid {
        grid-template-columns: 1fr;
    }

    .receipt-choice-btn {
        text-align: left;
        padding: 18px;
    }
}



/* Selected booking and cleaning buffer preview */
.legend-cleaning-preview {
    background: #fed7aa;
    border: 1px solid #fb923c;
}

.time-slot.selected-booking-preview {
    background: linear-gradient(90deg, var(--pink), var(--purple)) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 18px 35px rgba(124,58,237,0.25);
}

.time-slot.selected-cleaning-preview {
    background: #fed7aa !important;
    color: #9a3412 !important;
    border: 1px solid #fb923c !important;
    cursor: not-allowed !important;
}

.time-slot.selected-cleaning-preview strong::after {
    content: " buffer";
    font-size: 10px;
    font-weight: 800;
}



.dashboard.wide {
    width: min(1500px, calc(100% - 32px));
}

.admin-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.summary-chip {
    padding: 12px 16px;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(236,72,153,0.16);
    box-shadow: 0 12px 28px rgba(31,18,53,0.06);
    font-weight: 900;
    color: var(--purple);
}

.combined-admin-table table {
    min-width: 1180px;
}

.status-stack {
    margin-top: 8px;
}

.status-pill.soft {
    background: #f5f3ff;
    color: #6d28d9;
}

.mini-input {
    width: 170px;
    border: 1px solid #eadfea;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    margin-right: 5px;
}

.reject-inline {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .admin-summary-row {
        flex-direction: column;
    }

    .summary-chip {
        border-radius: 18px;
    }
}



/* Cleaner admin booking/payment actions */
.admin-action-stack {
    display: grid;
    gap: 8px;
    min-width: 150px;
}

.action-edit {
    text-align: center;
    background: #eef2ff !important;
    color: #4338ca !important;
}

.action-details {
    display: block;
}

.action-details summary {
    list-style: none;
}

.action-details summary::-webkit-details-marker {
    display: none;
}

.summary-btn {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.action-detail-form {
    margin-top: 8px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: #fff7fb;
    border: 1px solid rgba(236,72,153,0.15);
}

.mini-input.full {
    width: 100%;
    margin: 0;
    border-radius: 12px;
}

.edit-booking-header {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}



.settings-readonly-list {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.settings-readonly-list div {
    word-break: break-word;
}



.waha-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: start;
}

.waha-status-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.waha-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.waha-status-WORKING {
    color: #15803d;
}

.waha-status-SCAN_QR_CODE,
.waha-status-STARTING {
    color: #c2410c;
}

.waha-status-STOPPED,
.waha-status-FAILED {
    color: #b91c1c;
}

.waha-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.waha-action-grid form {
    margin: 0;
}

.waha-action-grid button {
    width: 100%;
}

.mini-btn.neutral {
    background: #eef2ff;
    color: #4338ca;
}

.section-gap-inline {
    display: inline-block;
    margin-top: 18px;
}

.waha-qr-box {
    display: grid;
    place-items: center;
    padding: 20px;
    border-radius: 24px;
    background: #fff7fb;
    border: 1px solid rgba(236,72,153,0.18);
}

.waha-qr-box img {
    max-width: 100%;
    width: 320px;
    min-height: 220px;
    object-fit: contain;
    background: white;
    border-radius: 18px;
    padding: 12px;
}

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

    .waha-action-grid {
        grid-template-columns: 1fr;
    }
}



/* WAHA admin polished dashboard */
.waha-page {
    width: min(1500px, calc(100% - 36px));
}

.page-title-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fdf2f8;
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

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

.waha-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.waha-metric-card {
    background: white;
    border: 1px solid rgba(236,72,153,0.14);
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(31,18,53,0.07);
    overflow: hidden;
}

.waha-metric-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.waha-metric-card strong {
    display: block;
    font-size: 18px;
    color: var(--dark);
    word-break: break-word;
}

.waha-metric-card small {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 700;
    word-break: break-word;
}

.waha-metric-card.ok {
    border-color: rgba(34,197,94,0.28);
    background: linear-gradient(180deg, #ffffff, #f0fdf4);
}

.waha-metric-card.warn {
    border-color: rgba(251,146,60,0.35);
    background: linear-gradient(180deg, #ffffff, #fff7ed);
}

.waha-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
    align-items: stretch;
}

.waha-secondary-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

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

.live-pill,
.issue-pill {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.live-pill {
    background: #dcfce7;
    color: #15803d;
}

.issue-pill {
    background: #ffedd5;
    color: #c2410c;
}

.waha-action-grid.pretty {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.waha-action-grid.pretty form {
    margin: 0;
}

.waha-action-btn {
    width: 100%;
    min-height: 118px;
    border: 1px solid #eadfea;
    border-radius: 24px;
    padding: 16px;
    background: white;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(31,18,53,0.055);
    transition: 0.18s ease;
}

.waha-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(31,18,53,0.09);
}

.waha-action-btn span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 16px;
    margin-bottom: 12px;
    font-weight: 900;
}

.waha-action-btn strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.waha-action-btn small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
    font-weight: 700;
}

.waha-action-btn.neutral span {
    background: #eef2ff;
    color: #4338ca;
}

.waha-action-btn.approve span {
    background: #dcfce7;
    color: #15803d;
}

.waha-action-btn.reject span {
    background: #fee2e2;
    color: #b91c1c;
}

.waha-action-btn.danger {
    background: #fff1f2;
    border-color: #fecdd3;
}

.waha-action-btn.danger span {
    background: #ffe4e6;
    color: #be123c;
}

.waha-qr-card {
    display: flex;
    flex-direction: column;
}

.waha-qr-frame {
    display: grid;
    place-items: center;
    flex: 1;
    min-height: 330px;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.10), transparent 35%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.10), transparent 35%),
        #fff7fb;
    border: 1px solid rgba(236,72,153,0.16);
}

.waha-qr-frame img {
    width: min(330px, 100%);
    max-height: 330px;
    object-fit: contain;
    background: white;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(31,18,53,0.10);
}

.qr-help-box {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.qr-help-box strong {
    color: var(--dark);
}

.settings-readonly-list.modern {
    display: grid;
    gap: 10px;
}

.settings-readonly-list.modern div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: white;
    border: 1px solid #edf2f7;
}

.settings-readonly-list.modern span {
    color: var(--muted);
    font-weight: 900;
}

.settings-readonly-list.modern strong {
    color: var(--dark);
    text-align: right;
    word-break: break-word;
}

.chat-id-cell {
    max-width: 280px;
    word-break: break-all;
    font-size: 13px;
}

.waha-user-table table {
    min-width: 980px;
}

@media (max-width: 1200px) {
    .waha-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .waha-main-grid,
    .waha-secondary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-title-row {
        flex-direction: column;
    }

    .waha-metric-grid,
    .waha-action-grid.pretty {
        grid-template-columns: 1fr;
    }
}



/* User edit WhatsApp ID helper */
.waha-user-detect-box {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.08), transparent 32%),
        #f8fafc;
    border: 1px solid #e2e8f0;
}

.waha-user-detect-box h3 {
    margin-bottom: 6px;
}

.waha-user-detect-box p {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.6;
}

.detect-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.detect-result-grid div {
    background: white;
    border: 1px solid rgba(236,72,153,0.14);
    border-radius: 18px;
    padding: 14px;
}

.detect-result-grid span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.detect-result-grid strong {
    display: block;
    word-break: break-all;
    color: var(--dark);
}

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

.mini-btn.neutral {
    background: #eef2ff;
    color: #4338ca;
}

@media (max-width: 700px) {
    .detect-result-grid {
        grid-template-columns: 1fr;
    }
}
\n

/* WhatsApp activation page */
.whatsapp-activation-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.activation-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.02;
    margin-bottom: 14px;
}

.activation-hero p {
    color: var(--muted);
    line-height: 1.7;
    font-weight: 750;
}

.activation-pin-box {
    margin: 28px auto;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.10), transparent 34%),
        #f8fafc;
    border: 1px solid #e2e8f0;
}

.activation-pin-box span {
    display: block;
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    margin-bottom: 10px;
}

.activation-pin-box strong {
    display: block;
    font-size: clamp(34px, 6vw, 58px);
    letter-spacing: 0.08em;
    color: var(--purple);
}

.activation-steps {
    display: grid;
    gap: 12px;
    margin: 26px 0;
    text-align: left;
}

.activation-steps div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(236,72,153,0.13);
}

.activation-steps strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #fdf2f8;
    color: var(--pink);
}

.activation-steps span {
    color: var(--dark);
    font-weight: 850;
}

.activation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    margin: 8px auto 20px;
}

.activation-note {
    padding: 16px;
    border-radius: 20px;
    background: #fff7ed;
    color: #9a3412;
    line-height: 1.6;
    font-weight: 750;
}



/* Embedded WAHA Chat UI */
.waha-chat-page {
    width: min(1500px, calc(100% - 36px));
}

.waha-chat-shell {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 18px;
    min-height: 720px;
}

.waha-chat-list,
.waha-chat-panel {
    background: white;
    border: 1px solid rgba(236,72,153,0.13);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(31,18,53,0.07);
    overflow: hidden;
}

.chat-list-header,
.chat-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0e4ef;
}

.chat-list-header strong,
.chat-panel-header strong {
    color: var(--dark);
    font-size: 18px;
}

.chat-list-header span {
    background: #fdf2f8;
    color: var(--pink);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
}

.chat-panel-header span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    margin-top: 4px;
}

.chat-search-box {
    padding: 14px 16px;
    border-bottom: 1px solid #f0e4ef;
}

.chat-search-box input {
    width: 100%;
    border: 1px solid #eadfea;
    border-radius: 18px;
    padding: 13px 14px;
}

.chat-list-scroll {
    height: 620px;
    overflow-y: auto;
}

.chat-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f5eaf3;
    text-decoration: none;
    color: var(--dark);
    transition: 0.16s ease;
}

.chat-row:hover,
.chat-row.active {
    background: #fff7fb;
}

.chat-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    display: grid;
    place-items: center;
    font-weight: 950;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-row-body {
    min-width: 0;
}

.chat-row-top {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.chat-row-top strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-row-top em {
    background: #eef2ff;
    color: #4338ca;
    border-radius: 999px;
    padding: 4px 8px;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
}

.chat-row small {
    display: block;
    color: var(--muted);
    font-weight: 800;
    margin: 3px 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-row p {
    color: var(--muted);
    margin: 0;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.waha-chat-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.message-scroll {
    height: 560px;
    overflow-y: auto;
    padding: 22px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.06), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.07), transparent 32%),
        #fffafd;
}

.message-bubble {
    max-width: 72%;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(31,18,53,0.06);
}

.message-bubble.mine {
    margin-left: auto;
    background: linear-gradient(135deg, #ec4899, #7c3aed);
    color: white;
    border-bottom-right-radius: 6px;
}

.message-bubble.theirs {
    margin-right: auto;
    background: white;
    color: var(--dark);
    border: 1px solid #f0e4ef;
    border-bottom-left-radius: 6px;
}

.message-meta {
    font-size: 11px;
    font-weight: 900;
    opacity: 0.72;
    margin-bottom: 6px;
}

.message-text {
    white-space: pre-wrap;
    line-height: 1.55;
    font-weight: 760;
}

.chat-compose {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #f0e4ef;
    background: white;
}

.chat-compose textarea {
    min-height: 54px;
    max-height: 140px;
    resize: vertical;
    border: 1px solid #eadfea;
    border-radius: 18px;
    padding: 14px;
}

.chat-compose button {
    border-radius: 18px;
}

.empty-chat-state {
    color: var(--muted);
    font-weight: 850;
    padding: 24px;
    text-align: center;
}

.empty-chat-state.large {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 360px;
}

.empty-chat-state.large h2 {
    margin-bottom: 8px;
}

.muted {
    opacity: 0.65;
}

@media (max-width: 980px) {
    .waha-chat-shell {
        grid-template-columns: 1fr;
    }

    .chat-list-scroll,
    .message-scroll {
        height: 430px;
    }

    .chat-compose {
        grid-template-columns: 1fr;
    }
}



/* Barrebelles Home + Login Professional UI */
.bb-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fdf2f8;
    color: var(--pink);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bb-eyebrow.light {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
}

.bb-home-hero {
    width: min(1380px, calc(100% - 36px));
    margin: 42px auto 26px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
    align-items: center;
}

.bb-home-copy {
    padding: 28px 0;
}

.bb-home-copy h1 {
    font-size: clamp(44px, 7vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.055em;
    margin: 0 0 22px;
    color: var(--dark);
}

.bb-home-copy p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
    max-width: 720px;
    font-weight: 720;
}

.bb-home-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.bb-home-actions.compact {
    margin-top: 0;
    justify-content: flex-end;
}

.bb-primary-btn,
.bb-secondary-btn,
.bb-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-weight: 950;
    cursor: pointer;
    transition: 0.18s ease;
}

.bb-primary-btn {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    box-shadow: 0 16px 38px rgba(236,72,153,0.25);
}

.bb-primary-btn:hover,
.bb-secondary-btn:hover,
.bb-link-btn:hover {
    transform: translateY(-2px);
}

.bb-primary-btn.full {
    width: 100%;
}

.bb-secondary-btn {
    background: white;
    color: var(--purple);
    border: 1px solid rgba(124,58,237,0.22);
    box-shadow: 0 14px 30px rgba(31,18,53,0.07);
}

.bb-link-btn {
    color: var(--pink);
    background: transparent;
}

.bb-home-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
    max-width: 720px;
}

.bb-home-highlights div {
    background: white;
    border: 1px solid rgba(236,72,153,0.13);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 16px 38px rgba(31,18,53,0.06);
}

.bb-home-highlights strong {
    display: block;
    color: var(--purple);
    font-size: 28px;
    margin-bottom: 4px;
}

.bb-home-highlights span {
    color: var(--muted);
    font-weight: 850;
    line-height: 1.35;
}

.bb-home-visual {
    position: relative;
    min-height: 560px;
    border-radius: 42px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.18), transparent 38%),
        linear-gradient(180deg, #ffffff, #fff7fb);
    border: 1px solid rgba(236,72,153,0.16);
    box-shadow: 0 32px 90px rgba(31,18,53,0.12);
    overflow: hidden;
    padding: 38px;
}

.bb-logo-card {
    display: grid;
    place-items: center;
    width: min(380px, 78%);
    aspect-ratio: 1.25 / 1;
    margin: 32px auto 0;
    border-radius: 34px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 24px 70px rgba(31,18,53,0.12);
    backdrop-filter: blur(8px);
}

.bb-logo-card img {
    width: 82%;
    max-height: 180px;
    object-fit: contain;
}

.bb-floating-card {
    position: absolute;
    max-width: 260px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(236,72,153,0.12);
    box-shadow: 0 18px 45px rgba(31,18,53,0.11);
}

.bb-floating-card span {
    display: block;
    color: var(--pink);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.bb-floating-card strong {
    display: block;
    color: var(--dark);
    line-height: 1.35;
}

.card-one {
    left: 26px;
    bottom: 120px;
}

.card-two {
    right: 28px;
    bottom: 58px;
}

.card-three {
    right: 46px;
    top: 72px;
}

.bb-section {
    width: min(1380px, calc(100% - 36px));
    margin: 48px auto;
}

.bb-section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

.bb-section-title h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.bb-section-title p {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.65;
}

.bb-role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.bb-role-card {
    padding: 28px;
    border-radius: 30px;
    background: white;
    border: 1px solid rgba(236,72,153,0.13);
    box-shadow: 0 18px 45px rgba(31,18,53,0.07);
}

.bb-role-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fdf2f8;
    color: var(--pink);
    font-weight: 950;
    margin-bottom: 18px;
}

.bb-role-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.bb-role-card p {
    color: var(--muted);
    line-height: 1.7;
    font-weight: 750;
}

.bb-cta-band {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,0.12), transparent 34%),
        white;
    border: 1px solid rgba(236,72,153,0.14);
    box-shadow: 0 22px 60px rgba(31,18,53,0.08);
}

.bb-cta-band h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.bb-cta-band p {
    color: var(--muted);
    font-weight: 760;
}

/* Login page */
.bb-login-page {
    width: min(1180px, calc(100% - 34px));
    margin: 54px auto 70px;
}

.bb-login-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: white;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(236,72,153,0.15);
    box-shadow: 0 30px 90px rgba(31,18,53,0.13);
}

.bb-login-brand {
    padding: 48px;
    color: white;
    background:
        radial-gradient(circle at bottom right, rgba(255,255,255,0.25), transparent 32%),
        linear-gradient(135deg, var(--purple), var(--pink), #fb923c);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.bb-login-logo-wrap {
    width: 200px;
    background: rgba(255,255,255,0.94);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 14px 34px rgba(31,18,53,0.14);
}

.bb-login-logo-wrap img {
    width: 100%;
    display: block;
}

.bb-login-brand h1 {
    color: white;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin: 0 0 18px;
}

.bb-login-brand p {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 720;
}

.bb-login-feature-list {
    display: grid;
    gap: 12px;
}

.bb-login-feature-list span {
    padding: 13px 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    font-weight: 900;
}

.bb-login-form-panel {
    padding: 52px;
}

.bb-login-form-panel h2 {
    font-size: 34px;
    margin-bottom: 8px;
    color: var(--dark);
}

.bb-login-form {
    margin-top: 24px;
}

.bb-captcha-box {
    display: grid;
    gap: 10px;
}

.bb-captcha-box label {
    font-weight: 900;
}

.bb-captcha-question {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 900;
    color: var(--purple);
}

.bb-captcha-box input {
    width: 100%;
    border: 1px solid #eadfea;
    border-radius: 18px;
    padding: 14px 16px;
}

.bb-login-links {
    display: flex;
    gap: 11px;
    justify-content: center;
    margin-top: 20px;
    font-weight: 900;
    flex-wrap: wrap;
}

.bb-login-links a {
    color: var(--pink);
    text-decoration: none;
}

.bb-login-note {
    margin-top: 22px;
    padding: 15px;
    border-radius: 18px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 760;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .bb-home-hero,
    .bb-login-card,
    .bb-role-grid {
        grid-template-columns: 1fr;
    }

    .bb-home-visual {
        min-height: 500px;
    }

    .bb-cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .bb-home-actions.compact {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .bb-home-highlights {
        grid-template-columns: 1fr;
    }

    .bb-home-visual {
        min-height: auto;
        padding-bottom: 280px;
    }

    .bb-floating-card {
        left: 22px !important;
        right: 22px !important;
        max-width: none;
    }

    .card-three {
        top: auto;
        bottom: 190px;
    }

    .card-one {
        bottom: 108px;
    }

    .card-two {
        bottom: 26px;
    }

    .bb-login-brand,
    .bb-login-form-panel {
        padding: 34px;
    }
}
