:root {
    --primary-blue: #63b6f5;
    --primary-blue-dark: #4aa3e8;
    --primary-blue-soft: #e8f4ff;
    --primary-blue-border: #7dbff0;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #2f436f;
    color: #1f1f1f;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container.large {
    align-items: flex-start;
    padding: 40px 0;
}

.login-page {
    min-height: 100vh;
    background: #2f436f;
    position: relative;
}

.login-container {
    min-height: 100vh;
    padding-top: 210px;
    box-sizing: border-box;
}

.login-top-brand {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #ffffff;
    text-align: left;
    width: 100%;
}

.login-top-logo {
    font-size: 86px;
    line-height: 1;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.login-top-title {
    font-size: 58px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-top-subtitle {
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    color: #dbe7ff;
}

.card,
.dashboard-card {
    background: #f4f4f4;
    width: 520px;
    max-width: 90%;
    padding: 38px 42px;
    border-radius: 28px;
    box-sizing: border-box;
}

.dashboard-card {
    text-align: center;
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 18px;
}

.summary-stat-card {
    text-align: left;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #d4e4fb;
}

.summary-stat-label {
    margin: 0;
    font-size: 13px;
    color: #597094;
    font-weight: 700;
}

.summary-stat-value {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1;
    color: #1b2c4f;
}

.card h2,
.dashboard-card h2 {
    margin: 0 0 28px 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #1d1d1d;
}

label {
    display: block;
    margin: 14px 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1d;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 999px;
    border: 2px solid #2b2b2b;
    background: #eef3fb;
    font-size: 18px;
    box-sizing: border-box;
    outline: none;
}

textarea {
    border-radius: 22px;
    resize: vertical;
    min-height: 120px;
    background: #ffffff;
}

input[readonly] {
    background: #e9edf3;
}

select {
    background: #ffffff;
}

button,
.btn {
    display: inline-block;
    min-width: 170px;
    padding: 14px 26px;
    border: none;
    border-radius: 999px;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.2s ease;
}

button {
    display: block;
    margin: 26px auto 0 auto;
}

button:hover,
.btn:hover {
    background: var(--primary-blue-dark);
    opacity: 1;
}

.logout {
    background: #ef4b3a;
}

.menu-buttons {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.link-text {
    margin-top: 18px;
    text-align: center;
    font-size: 16px;
}

.link-text a {
    color: #2f436f;
    font-weight: 600;
    text-decoration: none;
}

.link-text a:hover {
    text-decoration: underline;
}

.error,
.success {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
    text-align: center;
}

.error {
    background: #ffdede;
    color: #b42318;
}

.success {
    background: #ddf7e5;
    color: #157347;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
    margin-top: 10px;
}

th {
    padding: 10px 8px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #111111;
}

td {
    padding: 10px 8px;
    text-align: center;
    font-size: 16px;
    color: #111111;
    vertical-align: middle;
}

td .btn {
    margin: 4px;
    min-width: 125px;
    padding: 12px 20px;
    font-size: 16px;
}

.compact-number-input {
    width: 120px;
    min-width: 120px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #cfd6e6;
    background: #ffffff;
    font-size: 14px;
    margin: 4px;
    vertical-align: middle;
}

.status-group + .status-group {
    margin-top: 16px;
}

.status-section-title {
    margin: 14px 0 4px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1d;
    text-align: left;
}

.card[style] {
    background: #f4f4f4;
}

.card table + .menu-buttons {
    justify-content: flex-start;
    margin-top: 22px;
}

.page-actions-left,
.appointment-page-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-start;
}

p {
    line-height: 1.5;
}

@media (max-width: 768px) {
    .card,
    .dashboard-card {
        width: 92%;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .card h2,
    .dashboard-card h2 {
        font-size: 26px;
    }

    .dashboard-summary-grid {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        padding: 14px 16px;
    }

    button,
    .btn {
        width: 100%;
        min-width: unset;
    }

    .menu-buttons {
        flex-direction: column;
    }

    .page-actions-left .btn,
    .appointment-page-actions .btn {
        width: auto;
        min-width: 220px;
    }

    td .btn {
        display: block;
        width: 100%;
        margin: 6px 0;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* LANDING PAGE */

.landing-page {
    min-height: 100vh;
    background: #2f436f;
    color: white;
}

.landing-header {
    width: 100%;
    padding: 24px 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2f436f;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tooth-logo {
    font-size: 48px;
    line-height: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #dbe7ff;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.landing-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.landing-nav a:hover {
    opacity: 0.85;
}

.book-btn {
    background: var(--primary-blue);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 999px;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 50px 20px;
}

.hero-card {
    width: 800px;
    max-width: 92%;
    background: #f4f4f4;
    color: #1d1d1d;
    text-align: center;
    padding: 60px 50px;
    border-radius: 30px;
    box-sizing: border-box;
}

.hero-logo {
    font-size: 70px;
    margin-bottom: 10px;
}

.hero-card h1 {
    margin: 0 0 20px 0;
    font-size: 46px;
    font-weight: 700;
}

.hero-card p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.secondary-btn {
    background: #b8bec8;
    color: #1d1d1d;
}

.info-section {
    display: flex;
    justify-content: center;
    padding: 10px 20px 40px 20px;
}

.info-card {
    width: 800px;
    max-width: 92%;
    background: #f4f4f4;
    color: #1d1d1d;
    text-align: center;
    padding: 40px 30px;
    border-radius: 30px;
    box-sizing: border-box;
}

.info-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 34px;
}

.info-card p {
    margin: 12px 0;
    font-size: 19px;
}

#patient-reviews .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
    align-items: stretch;
}

#patient-reviews .review-card {
    background: #ffffff;
    border: 1px solid #cad4e6;
    border-radius: 18px;
    padding: 24px 20px;
    box-sizing: border-box;
    box-shadow: none;
}

#patient-reviews .review-name {
    margin: 0 0 8px 0;
    color: #1b3765;
    font-size: 22px;
}

#patient-reviews .review-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #1f2d45;
}

#patient-reviews .review-actions-left,
#patient-reviews .review-actions-stack {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

#patient-reviews .review-actions-stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 768px) {
    .landing-header {
        padding: 20px;
        flex-direction: column;
        gap: 18px;
    }

    .brand-box {
        justify-content: center;
        text-align: center;
    }

    .tooth-logo {
        font-size: 42px;
    }

    .brand-title {
        font-size: 24px;
    }

    .brand-subtitle {
        font-size: 16px;
    }

    .landing-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero-logo {
        font-size: 56px;
    }

    .hero-card h1 {
        font-size: 34px;
    }

    .hero-card p {
        font-size: 18px;
    }

    #patient-reviews .reviews-grid {
        grid-template-columns: 1fr;
    }

    #patient-reviews .review-actions-left .btn,
    #patient-reviews .review-actions-stack .btn {
        width: auto;
        min-width: 180px;
    }
}

.doctor-link {
    color: #2f436f;
    font-weight: 700;
    text-decoration: none;
    font-size: 20px;
}

.doctor-link:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.profile-card {
    width: 800px;
    max-width: 92%;
    background: #f4f4f4;
    color: #1d1d1d;
    padding: 40px 35px;
    border-radius: 30px;
    box-sizing: border-box;
}

.profile-card h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 38px;
}

.profile-item {
    margin: 14px 0;
    font-size: 20px;
    line-height: 1.7;
}

.profile-label {
    font-weight: 700;
    color: #2f436f;
}

/* Dashboard Button Layout */

.menu-buttons.vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
}

.row-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.full {
    width: 60%;
    text-align: center;
}

.row-buttons .btn {
    min-width: 220px;
}

.booking-bottom-links {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 62%;
    min-width: 250px;
}

.booking-primary-links {
    margin-top: 0;
    margin-bottom: 4px;
}

.booking-bottom-links .btn.full {
    width: 100%;
    min-width: 0;
}

.booking-submit-btn {
    width: 100% !important;
    min-width: 0 !important;
}
.booking-calendar {
    margin-top: 8px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #d9e1ef;
    border-radius: 20px;
    padding: 14px;
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.calendar-month-label {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1d;
    text-align: center;
}

.booking-calendar button.calendar-nav-btn {
    min-width: 88px;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--primary-blue-border);
    background: var(--primary-blue-soft);
    color: #275785;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #5b6b86;
    padding: 4px 0;
}

.calendar-empty {
    min-height: 38px;
}

.booking-calendar button.calendar-day {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    border-radius: 12px;
    border: 1px solid #d4dcea;
    background: #f6f8fc;
    color: #25324a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.booking-calendar button.calendar-day.available {
    background: #e6f2ff;
    border-color: #7ab0e6;
}

.booking-calendar button.calendar-day.full-booked {
    background: #ffd6d6;
    border-color: #e97272;
    color: #981b1b;
    cursor: not-allowed;
}

.booking-calendar button.calendar-day.unavailable,
.booking-calendar button.calendar-day.past {
    background: #eef1f6;
    border-color: #d9dee8;
    color: #9aa4b8;
    cursor: not-allowed;
}

.booking-calendar button.calendar-day.selected {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
}

.booking-calendar button.calendar-day:disabled {
    opacity: 1;
}

.calendar-legend {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #42526d;
}

.legend-box {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin: 0 6px 0 12px;
    vertical-align: -2px;
}

.legend-box:first-child {
    margin-left: 0;
}

.legend-available {
    background: #e6f2ff;
    border: 1px solid #7ab0e6;
}

.legend-full {
    background: #ffd6d6;
    border: 1px solid #e97272;
}

.booking-page-wrap {
    background: #eef0f6;
}

.booking-mobile-card {
    width: 620px;
    max-width: 95%;
    background: #f4f5fa;
}

.booking-label {
    margin-top: 4px;
}


.slots-section-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.slots-section-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #1d2438;
}

.full-day-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #a50f0f;
    background: #ffd9d9;
    border: 1px solid #f0b0b0;
    margin-bottom: 10px;
}

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

.time-slot-btn {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 10px 8px;
    border-radius: 8px;
    border: 1px solid #0ea33a;
    background: #12b141;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.time-slot-btn.selected {
    background: #0b76eb;
    border-color: #0b76eb;
}

.no-slots-box {
    margin: 0;
    border: 2px dashed #d8dce7;
    border-radius: 10px;
    padding: 14px;
    background: #fafbfe;
    color: #6f7689;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.divider-line {
    height: 1px;
    background: #d5d9e6;
    margin: 18px 0 14px 0;
}

.next-slots-heading {
    margin: 0 0 12px 0;
    font-size: 26px;
    color: #1f2a44;
}

.next-slots-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.next-date-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
}

.next-date-card h4 {
    margin: 0 0 10px 0;
    font-size: 21px;
    color: #212b44;
}

.see-more-btn {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 10px;
    background: #ecf2fd;
    color: #2c73cc;
    border: 1px solid #d4e3fb;
    font-weight: 700;
}

.small-muted-text {
    margin: 0;
    color: #6f7689;
    font-size: 14px;
}

.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 26, 54, 0.62);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.payment-modal-overlay[hidden] {
    display: none !important;
}

.payment-modal-overlay.is-open {
    display: flex;
}

.payment-modal-card {
    width: 500px;
    max-width: 100%;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fd 100%);
    border-radius: 24px;
    padding: 26px;
    box-sizing: border-box;
    border: 1px solid #dbe7fa;
    box-shadow: 0 20px 42px rgba(20, 40, 75, 0.3);
    animation: fadeInUp 0.24s ease-out;
}

.payment-modal-card h3 {
    margin: 0 0 8px 0;
    font-size: 30px;
    color: #1d1d1d;
}

.payment-modal-note {
    margin: 0 0 16px 0;
    color: #5f6c86;
    font-size: 15px;
    line-height: 1.5;
}

.payment-modal-card label {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 10px;
}

.payment-modal-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    min-height: 56px;
    border: 2px solid #2f2f2f;
    border-radius: 16px;
    background: #f2f6ff;
}

.payment-modal-currency {
    font-weight: 700;
    color: #274978;
    font-size: 22px;
    line-height: 1;
}

.payment-modal-card input {
    border: none;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    padding: 6px 0;
    font-size: 18px;
    font-weight: 600;
    color: #10213f;
}

.payment-modal-card input:focus {
    outline: none;
    box-shadow: none;
}

.payment-modal-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.payment-modal-actions .btn {
    min-width: 150px;
}

/* Manage schedule table polish */
.schedule-table {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.schedule-table th {
    padding: 12px 14px;
    font-size: 18px;
}

.schedule-table td {
    padding: 14px 14px;
    background: #f8fbff;
    border-top: 1px solid #e0e8f6;
    border-bottom: 1px solid #e0e8f6;
}

.schedule-table tr td:first-child {
    border-left: 1px solid #e0e8f6;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    font-weight: 600;
}

.schedule-table tr td:last-child {
    border-right: 1px solid #e0e8f6;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.schedule-status-badge {
    display: inline-block;
    min-width: 86px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.schedule-status-badge.yes {
    color: #0b6b3a;
    background: #def7e8;
    border: 1px solid #9ed9b8;
}

.schedule-status-badge.no {
    color: #8d1e1e;
    background: #ffe3e3;
    border: 1px solid #f1b0b0;
}

.schedule-actions {
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.schedule-actions .btn,
.schedule-actions form {
    margin: 0 !important;
}

.schedule-table td .btn {
    min-width: 118px;
    padding: 11px 16px;
}

/* Doctor appointments visual polish */
.doctor-appointments-table {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.doctor-appointments-table th {
    padding: 12px 10px;
}

.doctor-appointments-table td {
    padding: 14px 10px;
    background: #f8fbff;
    border-top: 1px solid #e0e8f6;
    border-bottom: 1px solid #e0e8f6;
}

.doctor-appointments-table tr td:first-child {
    border-left: 1px solid #e0e8f6;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.doctor-appointments-table tr td:last-child {
    border-right: 1px solid #e0e8f6;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.doctor-appointments-table td .btn {
    min-width: 132px;
}

.appointment-status-badge {
    display: inline-block;
    min-width: 100px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.appointment-status-badge.booked {
    color: #8d1e1e;
    background: #ffe3e3;
    border: 1px solid #f1b0b0;
}

.appointment-status-badge.confirmed {
    color: #0b5ea8;
    background: #e3f0ff;
    border: 1px solid #a5cbf5;
}

.appointment-status-badge.completed {
    color: #0b6b3a;
    background: #def7e8;
    border: 1px solid #9ed9b8;
}

.appointment-status-badge.other {
    color: #5c5f6b;
    background: #edf0f6;
    border: 1px solid #d3dae8;
}

@media (max-width: 768px) {
    .schedule-table td {
        background: transparent;
        border: none;
        padding: 10px 8px;
    }

    .schedule-table tr td:first-child,
    .schedule-table tr td:last-child {
        border: none;
        border-radius: 0;
    }

    .schedule-actions {
        justify-content: flex-start;
    }

    .doctor-appointments-table td {
        background: transparent;
        border: none;
        padding: 10px 8px;
    }

    .doctor-appointments-table tr td:first-child,
    .doctor-appointments-table tr td:last-child {
        border: none;
        border-radius: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .booking-mobile-card {
        width: 100%;
        padding: 20px 14px;
        border-radius: 0;
    }

    .booking-mobile-card h2 {
        font-size: 30px;
    }

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

    .time-slot-btn {
        font-size: 14px;
        padding: 10px 4px;
    }

    .slots-section-card h3 {
        font-size: 22px;
    }

    .next-slots-heading {
        font-size: 24px;
    }

    .next-date-card h4 {
        font-size: 19px;
    }

    .booking-bottom-links .btn.full {
        width: 100%;
        min-width: unset;
    }

    .booking-submit-btn {
        width: 100% !important;
        min-width: unset !important;
    }

    .booking-bottom-links {
        width: 100%;
        min-width: unset;
    }

    .edit-slot-grid {
        grid-template-columns: 1fr;
    }
}

.date-display-btn.full-booked-day {
    background: #ffd7d7;
    border-color: #eb7f7f;
    color: #991616;
}

.simple-date-row {
    margin-bottom: 12px;
}

.simple-date-input {
    width: 100%;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d2d6e4;
    color: #1f2a44;
    font-weight: 700;
}
.time-slot-btn.unavailable {
    background: #d8dde8;
    border-color: #c6ccd8;
    color: #79839a;
    cursor: not-allowed;
}

.time-slot-btn:disabled {
    opacity: 1;
}
.slot-radio {
    display: none;
}

.slot-radio:checked + .time-slot-btn {
    background: #0b76eb;
    border-color: #0b76eb;
    color: #ffffff;
}

.edit-slot-grid .time-slot-btn {
    background: #1bb13f;
    border-color: #159936;
    color: #ffffff;
}

.edit-slot-grid .slot-radio:checked + .time-slot-btn {
    background: #108f32;
    border-color: #0d7d2b;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(20, 168, 72, 0.2), 0 7px 12px rgba(12, 89, 33, 0.3);
    transform: translateY(-1px);
}

.custom-dd {
    position: relative;
}

.custom-dd-toggle {
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border-radius: 999px;
    border: 2px solid #2b2b2b;
    background: #ffffff;
    color: #111111;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-dd-caret {
    font-size: 18px;
    margin-left: 12px;
}

.custom-dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    background: #ffffff;
    border: 1px solid #d0d8ea;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(20, 38, 70, 0.14);
    overflow: hidden;
}

.custom-dd-menu.open {
    display: block;
}

.custom-dd-item {
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #ffffff;
    color: #1f2d45;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    cursor: pointer;
}

.custom-dd-item + .custom-dd-item {
    border-top: 1px solid #eef2fb;
}

.custom-dd-item:hover,
.custom-dd-item.selected {
    background: #edf5ff;
    color: #11386d;
}

.edit-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.edit-slot-grid label {
    margin: 0;
}

.edit-slot-grid .time-slot-btn {
    width: 100%;
    border-radius: 11px;
    padding: 8px 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 0 rgba(10, 80, 28, 0.2);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.edit-slot-grid label:hover .time-slot-btn {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(18, 110, 42, 0.24);
}

.time-slot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* CHATBOT */
.chatbot-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    min-width: 110px;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    background: #63b6f5;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 44, 89, 0.35);
}

.chatbot-panel {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 340px;
    max-width: calc(100vw - 28px);
    background: #f7f9fd;
    border: 1px solid #c7d8f6;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(9, 29, 62, 0.35);
    z-index: 1201;
    display: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-panel.open {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: #2f436f;
    color: #ffffff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

.chatbot-messages {
    height: 250px;
    overflow-y: auto;
    padding: 12px;
    background: #eef4ff;
}

.chatbot-msg {
    max-width: 85%;
    margin-bottom: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    line-height: 1.4;
    font-size: 14px;
    white-space: pre-wrap;
}

.chatbot-msg.bot {
    background: #ffffff;
    border: 1px solid #d3e1fa;
    color: #1f2d46;
}

.chatbot-msg.user {
    margin-left: auto;
    background: #63b6f5;
    color: #ffffff;
}

.chatbot-map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #63b6f5;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.chatbot-map-link:hover {
    background: #4aa3e8;
}

.chatbot-quick-actions {
    padding: 10px 10px 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.chatbot-quick {
    min-width: auto;
    margin: 0;
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid #bfd4f5;
    background: #ffffff;
    color: #2a4d84;
    cursor: pointer;
    font-weight: 700;
}

.chatbot-form {
    display: flex;
    gap: 8px;
    padding: 10px;
}

.chatbot-form input {
    flex: 1;
    width: auto !important;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #bfd4f5;
    background: #ffffff;
}

.chatbot-form button {
    min-width: 78px !important;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .chatbot-toggle {
        right: 12px;
        bottom: 12px;
        min-width: 96px;
        padding: 10px 14px;
    }

    .chatbot-panel {
        right: 12px;
        bottom: 64px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }
}
