* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f6f6f6;
    color: #333333;
}

.topbar {
    min-height: 76px;
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 32px;

    border-bottom: 1px solid #eeeeee;
}

.brand img {
    width: 180px;
    max-height: 60px;
    object-fit: contain;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logout-button {
    border: none;
    background: transparent;
    cursor: pointer;

    font-size: 14px;
    color: #666666;
}

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
    margin-bottom: 30px;
}

.welcome h1 {
    margin: 2px 0 8px;
    font-size: 36px;
}

.welcome p {
    margin: 0;
    color: #777777;
}

.eyebrow {
    color: #ef8400 !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 12px;

    background: #ef8400;
    color: #ffffff;

    min-height: 48px;

    padding: 0 22px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

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

    gap: 18px;

    margin-bottom: 28px;
}

.stat-card {
    background: #ffffff;

    border-radius: 18px;

    padding: 24px;

    box-shadow:
        0 6px 25px
        rgba(0, 0, 0, 0.04);
}

.stat-card span {
    display: block;

    color: #777777;
    font-size: 14px;

    margin-bottom: 10px;
}

.stat-card strong {
    font-size: 30px;
}

.panel {
    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 6px 25px
        rgba(0, 0, 0, 0.04);

    overflow: hidden;
}

.panel-header {
    padding: 24px;

    border-bottom:
        1px solid #eeeeee;
}

.panel-header h2 {
    margin: 0;
    font-size: 20px;
}

.appointment-card {
    display: grid;

    grid-template-columns:
        100px 1fr auto;

    align-items: center;

    gap: 22px;

    padding: 20px 24px;

    border-bottom:
        1px solid #f0f0f0;
}

.appointment-card:last-child {
    border-bottom: none;
}

.appointment-time strong {
    display: block;

    font-size: 22px;

    color: #ef8400;
}

.appointment-time span {
    display: block;

    margin-top: 4px;

    color: #999999;

    font-size: 12px;
}

.appointment-info h3 {
    margin: 0 0 5px;

    font-size: 16px;
}

.appointment-info p {
    margin: 0 0 4px;
}

.appointment-info small {
    color: #777777;
}

.appointment-status {
    background: #f2f2f2;

    padding: 8px 12px;

    border-radius: 20px;

    font-size: 13px;

    white-space: nowrap;
}

.empty-state {
    padding: 50px 24px;

    text-align: center;

    color: #888888;
}


/* LOGIN */

.login-body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            #fafafa,
            #eeeeee
        );
}

.login-container {
    width: 100%;

    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;

    background: #ffffff;

    padding: 42px;

    border-radius: 24px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.08);

    text-align: center;
}

.login-logo {
    width: 230px;

    margin-bottom: 24px;
}

.login-card h1 {
    margin-bottom: 5px;
}

.login-subtitle {
    margin-top: 0;

    margin-bottom: 30px;

    color: #777777;
}

.form-group {
    text-align: left;

    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 700;
}

.form-group input {
    width: 100%;
    height: 48px;

    border:
        1px solid #dddddd;

    border-radius: 10px;

    padding: 0 14px;

    font-size: 16px;
}

.form-group input:focus {
    outline: none;

    border-color: #ef8400;
}

.login-card .btn-primary {
    width: 100%;
}

.alert-error {
    background: #fff0f0;
    color: #a02929;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 20px;

    font-size: 14px;
}


@media (max-width: 700px) {

    .topbar {
        padding:
            12px 16px;
    }

    .brand img {
        width: 140px;
    }

    .user-area span {
        display: none;
    }

    .dashboard {
        padding:
            24px 16px;
    }

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

    .welcome h1 {
        font-size: 30px;
    }

    .welcome .btn-primary {
        width: 100%;
    }

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

    .appointment-card {
        grid-template-columns:
            75px 1fr;

        gap: 14px;
    }

    .appointment-status {
        grid-column:
            2;

        justify-self: start;
    }

    .login-card {
        padding:
            30px 22px;
    }

    .login-logo {
        width: 190px;
    }
}
.form-panel {
    padding: 28px;
}

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

    gap: 20px;
}

.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #dddddd;

    border-radius: 10px;

    padding: 12px 14px;

    font-size: 15px;

    background: #ffffff;
}

.form-group select {
    min-height: 48px;
}

.form-group textarea {
    resize: vertical;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ef8400;
}

.field-error {
    margin-top: 6px;

    color: #a02929;

    font-size: 13px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 28px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 12px;

    background: #eeeeee;

    color: #444444;

    text-decoration: none;

    font-weight: 700;
}

.btn-primary {
    text-decoration: none;
}

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

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
    }
}
.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    padding: 22px;

    border-bottom: 1px solid #eeeeee;
}

.calendar-nav {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f4f4f4;

    color: #333333;

    text-decoration: none;

    font-size: 22px;
}

.calendar-date {
    text-align: center;
}

.calendar-date span {
    display: block;

    font-size: 13px;

    color: #888888;

    margin-bottom: 4px;
}

.calendar-date strong {
    text-transform: capitalize;

    font-size: 18px;
}

.calendar-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 1px;

    background: #eeeeee;
}

.professional-column {
    background: #ffffff;
}

.professional-header {
    padding: 18px;

    text-align: center;

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}

.professional-header strong {
    color: #ef8400;
}

.professional-appointments {
    min-height: 300px;

    padding: 18px;
}

.calendar-appointment {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 16px;

    margin-bottom: 12px;

    border-radius: 14px;

    background: #f8f8f8;

    border-left: 4px solid #ef8400;
}

.calendar-time {
    color: #ef8400;

    font-weight: 700;

    font-size: 14px;
}

.calendar-appointment strong {
    font-size: 15px;
}

.calendar-appointment span {
    font-size: 14px;
}

.calendar-appointment small {
    color: #888888;
}

@media (max-width: 700px) {

    .calendar-grid {
        grid-template-columns: 1fr;
    }

}
.view-switcher {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 10px;

    background: #eeeeee;
    color: #444444;

    text-decoration: none;

    font-weight: 700;
}

.view-button.active {
    background: #ef8400;
    color: #ffffff;
}

.week-grid {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(160px, 1fr));

    overflow-x: auto;

    background: #eeeeee;

    gap: 1px;
}

.week-day {
    min-width: 160px;
    background: #ffffff;
}

.week-day-header {
    padding: 14px;

    text-align: center;

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}

.week-day-header strong {
    display: block;
    color: #ef8400;
}

.week-day-header span {
    display: block;

    margin-top: 4px;

    font-size: 12px;

    color: #888888;
}

.week-day-body {
    min-height: 360px;
    padding: 10px;
}
.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.appointment-actions form {
    margin: 0;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 9px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.action-button.edit {
    background: #eeeeee;
    color: #444444;
}

.action-button.attended {
    background: #e7f7ec;
    color: #28733e;
}

.action-button.no-show {
    background: #fff3db;
    color: #8a5a00;
}

.action-button.cancel {
    background: #fdeaea;
    color: #9d2929;
}
.payment-filter {
    display: flex;
    align-items: end;
    gap: 18px;
    flex-wrap: wrap;
}

.payment-filter .form-group {
    margin: 0;
}

.payment-filter input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    font-size: 15px;
}

.payment-cards {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.payment-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.04);
}

.payment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.payment-card-header span {
    color: #888888;
    font-size: 13px;
}

.payment-card-header h2 {
    margin: 4px 0 0;
}

.payment-total {
    color: #ef8400;
    font-size: 24px;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #eeeeee;
}

.payment-detail.highlight {
    color: #ef8400;
}

.grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 24px;
    border-radius: 20px;
    background: #333333;
    color: #ffffff;
}

.grand-total strong {
    font-size: 28px;
    color: #ef8400;
}
.payment-top-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-summary {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 24px;
}

.payment-summary div {
    background: #333333;
    color: #ffffff;

    border-radius: 18px;

    padding: 22px;
}

.payment-summary span {
    display: block;

    color: #cccccc;

    font-size: 13px;

    margin-bottom: 8px;
}

.payment-summary strong {
    color: #ef8400;

    font-size: 24px;
}

@media (max-width: 700px) {

    .payment-top-actions {
        width: 100%;
        flex-direction: column;
    }

    .payment-top-actions a {
        width: 100%;
    }

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

}
.register-card {
    max-width: 520px;
}

.login-footer {
    margin-top: 24px;

    padding-top: 20px;

    border-top:
        1px solid #eeeeee;

    color: #777777;

    font-size: 14px;
}

.login-footer a {
    color: #ef8400;

    font-weight: 700;

    text-decoration: none;

    margin-left: 4px;
}

.form-help {
    display: block;

    margin-top: 6px;

    color: #888888;

    font-size: 12px;

    line-height: 1.4;
}
.treatment-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
}

.treatment-card {
    background: #ffffff;

    border-radius: 20px;

    padding: 24px;

    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.04);
}

.treatment-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
}

.treatment-label {
    color: #888888;

    font-size: 12px;
}

.treatment-card h2 {
    margin:
        4px 0 0;
}

.treatment-card h3 {
    margin:
        24px 0 16px;

    font-size: 17px;
}

.treatment-session-pill {
    background: #fff3e3;

    color: #ef8400;

    padding:
        8px 12px;

    border-radius: 20px;

    font-weight: 800;
}

.treatment-progress {
    width: 100%;

    height: 9px;

    background: #eeeeee;

    border-radius: 20px;

    overflow: hidden;
}

.treatment-progress-bar {
    height: 100%;

    background: #ef8400;
}

.treatment-stats {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin:
        20px 0;
}

.treatment-stats div {
    background: #fafafa;

    padding: 14px;

    border-radius: 12px;
}

.treatment-stats span {
    display: block;

    color: #888888;

    font-size: 12px;

    margin-bottom: 5px;
}

.treatment-stats strong {
    font-size: 20px;
}

.treatment-detail-button {
    width: 100%;
}

.treatment-big-counter {
    font-size: 36px;

    font-weight: 800;

    color: #ef8400;
}

.session-list {
    padding: 20px;
}

.session-row {
    display: grid;

    grid-template-columns:
        50px 1fr auto;

    gap: 16px;

    align-items: center;

    padding: 16px;

    border-bottom: 1px solid #eeeeee;
}

.session-number {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ef8400;

    color: #ffffff;

    font-weight: 800;
}

.session-information {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.session-completed {
    color: #28733e;

    font-size: 13px;

    font-weight: 700;
}

.session-pending {
    color: #888888;

    font-size: 13px;
}

.session-information small {
    color: #777777;

    margin-top: 3px;
}

@media (max-width: 700px) {

    .session-row {
        grid-template-columns:
            42px 1fr;
    }

    .session-row .action-button {
        grid-column: 2;

        justify-self: start;
    }

}
.session-scheduled {
    color: #ef8400;
    font-size: 13px;
    font-weight: 700;
}

.session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.client-booking {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.booking-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: flex-start;
}

.booking-step-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ef8400;
    color: #ffffff;

    font-weight: 800;
}

.booking-step-content {
    min-width: 0;
}

.booking-step-content label {
    display: block;

    margin-bottom: 9px;

    font-size: 14px;
    font-weight: 700;
}

.booking-step-content select,
.booking-step-content textarea,
.booking-date-input {
    width: 100%;

    min-height: 48px;

    padding: 10px 14px;

    border: 1px solid #dddddd;
    border-radius: 10px;

    background: #ffffff;

    font-size: 15px;
}

.booking-step-content select:focus,
.booking-step-content textarea:focus,
.booking-date-input:focus {
    outline: none;
    border-color: #ef8400;
}

.available-slots {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(110px, 1fr));

    gap: 10px;
}

.slot-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    min-height: 66px;

    padding: 10px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    background: #ffffff;

    cursor: pointer;

    transition: 0.15s ease;
}

.slot-button:hover {
    border-color: #ef8400;
}

.slot-button strong {
    color: #333333;
    font-size: 16px;
}

.slot-button span {
    color: #888888;
    font-size: 11px;
}

.slot-button.selected {
    border-color: #ef8400;
    background: #fff4e5;
}

.slot-button.selected strong,
.slot-button.selected span {
    color: #ef8400;
}

.slots-message {
    padding: 16px;

    border-radius: 12px;

    background: #f7f7f7;

    color: #777777;

    font-size: 14px;
}

.booking-summary {
    padding: 18px;

    border-radius: 14px;

    background: #fff4e5;

    border: 1px solid #f6d4a8;
}

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

.booking-summary span {
    margin-bottom: 6px;

    color: #777777;

    font-size: 12px;
}

.booking-summary strong {
    color: #ef8400;

    font-size: 18px;
}

.booking-summary small {
    margin-top: 4px;

    color: #666666;
}

@media (max-width: 700px) {

    .booking-step {
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .booking-step-number {
        width: 32px;
        height: 32px;
    }

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

}
.qr-download-area {
    margin-top: 16px;
    text-align: center;
}

.qr-download-area p {
    margin-bottom: 16px;
}

.qr-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 320px;

    min-height: 50px;

    text-decoration: none;
}
.appointment-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.payment-status {
    display: inline-flex;
    align-items: center;

    padding: 10px 15px;

    border-radius: 20px;

    font-size: 13px;
    font-weight: 800;
}

.payment-status.confirmed {
    background: #e7f7ec;
    color: #28733e;
}

.payment-status.pending {
    background: #fff3db;
    color: #8a5a00;
}

.receipt-area {
    margin-top: 20px;
}

.payment-receipt-image {
    display: block;

    width: 100%;
    max-width: 380px;

    max-height: 500px;

    margin: 12px auto;

    object-fit: contain;

    border-radius: 14px;

    border: 1px solid #eeeeee;
}

.receipt-open-button {
    width: 100%;
}

.empty-receipt {
    margin-top: 18px;

    padding: 18px;

    border-radius: 12px;

    background: #f7f7f7;

    color: #777777;
}

.confirm-payment-form {
    margin-top: 20px;
}

.confirm-payment-form .btn-primary {
    width: 100%;
}

.appointment-notes-panel {
    margin-top: 20px;
}

@media (max-width: 700px) {

    .appointment-detail-grid {
        grid-template-columns: 1fr;
    }

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

.payment-status {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
}

.payment-status.confirmed {
    background: #e7f7ec;
    color: #28733e;
}

.payment-status.pending {
    background: #fff3db;
    color: #8a5a00;
}

.receipt-area {
    margin-top: 20px;
}

.payment-receipt-image {
    display: block;
    width: 100%;
    max-width: 380px;
    max-height: 480px;
    margin: 14px auto;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid #eeeeee;
}

.receipt-open-button {
    width: 100%;
}

.empty-receipt {
    margin-top: 18px;
    padding: 18px;
    border-radius: 12px;
    background: #f7f7f7;
    color: #777777;
}

.confirm-payment-form {
    margin-top: 20px;
}

.confirm-payment-form .btn-primary {
    width: 100%;
}

.appointment-notes-panel {
    margin-top: 20px;
}

@media (max-width: 700px) {
    .appointment-detail-grid {
        grid-template-columns: 1fr;
    }
}
.payment-confirm-disabled {
    margin-top: 20px;
    padding: 16px;

    border-radius: 12px;

    background: #f7f7f7;

    color: #888888;

    text-align: center;

    font-size: 14px;
}
/* =========================================
   CALENDARIO DE RESERVAS DEL CLIENTE
   ========================================= */

.booking-calendar {
    width: 100%;
    max-width: 620px;

    border: 1px solid #eeeeee;
    border-radius: 18px;

    background: #ffffff;

    overflow: hidden;
}

.booking-calendar-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;

    align-items: center;

    gap: 10px;

    padding: 16px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}

.booking-calendar-header strong {
    text-align: center;

    font-size: 18px;

    text-transform: capitalize;
}

.calendar-month-button {
    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: #eeeeee;

    cursor: pointer;

    font-size: 20px;
}

.calendar-month-button:disabled {
    opacity: 0.3;

    cursor: not-allowed;
}

.calendar-weekdays {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    padding: 12px 10px 6px;
}

.calendar-weekdays span {
    text-align: center;

    color: #888888;

    font-size: 12px;
    font-weight: 700;
}

.calendar-days {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 6px;

    padding: 10px 12px 16px;
}

.calendar-empty-day {
    min-height: 46px;
}

.calendar-day-button {
    aspect-ratio: 1;

    min-height: 44px;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: #333333;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;
}

.calendar-day-button:hover:not(:disabled) {
    background: #fff3e3;

    color: #ef8400;
}

.calendar-day-button.today {
    border: 1px solid #ef8400;

    color: #ef8400;
}

.calendar-day-button.selected {
    background: #ef8400;

    color: #ffffff;

    border-color: #ef8400;
}

.calendar-day-button.disabled {
    color: #cccccc;

    cursor: not-allowed;
}

.selected-date-text {
    margin-top: 12px;

    padding: 12px 15px;

    border-radius: 12px;

    background: #fff4e5;

    color: #ef8400;

    font-weight: 700;

    text-transform: capitalize;
}

.area-information {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 18px;

    margin-top: 10px;

    padding: 12px 14px;

    border-radius: 12px;

    background: #fafafa;

    font-size: 13px;
}

.area-information strong {
    width: 100%;

    color: #333333;
}

.area-information span {
    color: #777777;
}

@media (max-width: 600px) {

    .booking-calendar {
        border-radius: 14px;
    }

    .booking-calendar-header {
        padding: 12px;
    }

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

    .calendar-days {
        gap: 3px;

        padding-left: 8px;
        padding-right: 8px;
    }

    .calendar-day-button {
        min-height: 38px;

        font-size: 13px;
    }

    .calendar-weekdays span {
        font-size: 10px;
    }

}
/* ======================================================
   CALENDARIO PROFESIONAL - RESERVA CLIENTE
   ====================================================== */

.client-calendar {
    width: 100%;
    max-width: 720px;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}


/* CABECERA */

.client-calendar-toolbar {
    display: grid;

    grid-template-columns:
        52px 1fr 52px;

    align-items: center;

    gap: 14px;

    padding: 20px 22px;

    background: #fafafa;

    border-bottom:
        1px solid #eeeeee;
}


.client-calendar-title {
    text-align: center;
}


.client-calendar-title span {
    display: block;

    color: #999999;

    font-size: 12px;

    margin-bottom: 3px;
}


.client-calendar-title strong {
    display: block;

    color: #333333;

    font-size: 21px;

    text-transform: capitalize;
}


.client-calendar-nav {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.07);

    color: #333333;

    font-size: 21px;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}


.client-calendar-nav:hover:not(:disabled) {
    background: #ef8400;
    color: #ffffff;

    transform: translateY(-1px);
}


.client-calendar-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* DÍAS DE SEMANA */

.client-calendar-weekdays {
    display: grid !important;

    grid-template-columns:
        repeat(7, minmax(0, 1fr)) !important;

    width: 100%;

    padding: 15px 16px 6px;
}


.client-calendar-weekdays span {
    display: block;

    text-align: center;

    color: #999999;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
}


/* CUADRÍCULA */

.client-calendar-days {
    display: grid !important;

    grid-template-columns:
        repeat(7, minmax(0, 1fr)) !important;

    width: 100%;

    gap: 7px;

    padding: 8px 16px 22px;

    box-sizing: border-box;
}


.client-calendar-empty {
    width: 100%;
    aspect-ratio: 1;
}


/* DÍA */

.client-calendar-day {
    position: relative;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    aspect-ratio: 1;

    min-width: 0;

    border: none !important;
    border-radius: 14px !important;

    background: transparent;

    color: #333333;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}


.client-calendar-day:hover:not(:disabled) {
    background: #fff3e3;

    color: #ef8400;

    transform: translateY(-1px);
}


/* HOY */

.client-calendar-day.today:not(.selected) {
    border:
        2px solid #ef8400 !important;

    color: #ef8400;
}


/* SELECCIONADO */

.client-calendar-day.selected {
    background: #ef8400 !important;

    color: #ffffff !important;

    box-shadow:
        0 5px 15px rgba(239, 132, 0, 0.28);
}


/* PASADOS */

.client-calendar-day.disabled,
.client-calendar-day:disabled {
    background: #fafafa;

    color: #d0d0d0;

    cursor: not-allowed;

    opacity: 1;
}


/* FECHA SELECCIONADA */

.selected-date-text {
    max-width: 720px;

    margin-top: 14px;

    padding: 14px 18px;

    border-radius: 14px;

    background: #fff4e5;

    color: #ef8400;

    font-size: 14px;
    font-weight: 700;

    text-transform: capitalize;
}


/* MÓVIL */

@media (max-width: 600px) {

    .client-calendar {
        border-radius: 18px;
    }


    .client-calendar-toolbar {
        grid-template-columns:
            42px 1fr 42px;

        padding: 14px;
    }


    .client-calendar-nav {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }


    .client-calendar-title strong {
        font-size: 17px;
    }


    .client-calendar-weekdays {
        padding-left: 8px;
        padding-right: 8px;
    }


    .client-calendar-weekdays span {
        font-size: 9px;
    }


    .client-calendar-days {
        gap: 4px;

        padding-left: 8px;
        padding-right: 8px;
    }


    .client-calendar-day {
        border-radius: 10px !important;

        font-size: 13px;
    }

}
/* ======================================================
   MIS CITAS - CALENDARIO DEL CLIENTE
   ====================================================== */

.client-calendar-panel {
    background: #ffffff;

    border-radius: 22px;

    padding: 0;

    overflow: hidden;

    border: 1px solid #eeeeee;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.04);
}


.client-calendar-top {
    display: grid;

    grid-template-columns:
        56px 1fr 56px;

    align-items: center;

    gap: 14px;

    padding: 20px 24px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}


.client-calendar-heading {
    text-align: center;
}


.client-calendar-heading span {
    display: block;

    color: #999999;

    font-size: 12px;

    margin-bottom: 3px;
}


.client-calendar-heading strong {
    display: block;

    color: #333333;

    font-size: 22px;
}


.client-calendar-nav-link {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #333333;

    text-decoration: none;

    font-size: 22px;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.06);
}


.client-calendar-nav-link:hover {
    background: #ef8400;

    color: #ffffff;
}


/* DÍAS SEMANA */

.client-dashboard-weekdays {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    padding: 16px 16px 8px;
}


.client-dashboard-weekdays span {
    text-align: center;

    color: #999999;

    font-size: 12px;

    font-weight: 700;
}


/* CALENDARIO */

.client-dashboard-calendar {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    gap: 7px;

    padding: 8px 16px 22px;
}


.client-dashboard-day {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    aspect-ratio: 1;

    min-width: 0;

    border-radius: 14px;

    background: #ffffff;

    color: #333333;

    text-decoration: none;

    border: 1px solid transparent;

    transition:
        background 0.15s ease,
        border 0.15s ease,
        transform 0.15s ease;
}


.client-dashboard-day:hover {
    background: #fff6ea;

    border-color: #ef8400;

    transform: translateY(-1px);
}


.client-dashboard-day.outside-month {
    opacity: 0.25;
}


.client-dashboard-day.today {
    border-color: #ef8400;
}


.client-dashboard-day.selected {
    background: #ef8400;

    color: #ffffff;

    border-color: #ef8400;
}


.client-dashboard-day.has-appointments:not(.selected) {
    background: #fff8ef;
}


.client-dashboard-day-number {
    font-size: 15px;

    font-weight: 700;
}


.client-dashboard-day-badge {
    position: absolute;

    top: 6px;
    right: 6px;

    min-width: 19px;
    height: 19px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 5px;

    border-radius: 20px;

    background: #ef8400;

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;
}


.client-dashboard-day.selected
.client-dashboard-day-badge {
    background: #ffffff;

    color: #ef8400;
}


.client-dashboard-day-dot {
    width: 5px;
    height: 5px;

    margin-top: 4px;

    border-radius: 50%;

    background: #ef8400;
}


.client-dashboard-day.selected
.client-dashboard-day-dot {
    background: #ffffff;
}


/* DÍA SELECCIONADO */

.client-selected-day {
    margin-top: 24px;
}


.client-selected-day-header {
    margin-bottom: 16px;
}


.client-selected-day-header span {
    color: #999999;

    font-size: 12px;
}


.client-selected-day-header h2 {
    margin:
        4px 0 0;

    text-transform: capitalize;
}


.client-appointment-list {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


.client-appointment-card {
    background: #ffffff;

    border-radius: 20px;

    border: 1px solid #eeeeee;

    padding: 22px;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, 0.035);
}


.client-appointment-main {
    display: grid;

    grid-template-columns:
        90px 1fr auto;

    gap: 20px;

    align-items: center;
}


.client-appointment-time {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.client-appointment-time strong {
    color: #ef8400;

    font-size: 24px;
}


.client-appointment-time span {
    color: #999999;

    font-size: 12px;
}


.client-appointment-service-label {
    color: #999999;

    font-size: 11px;
}


.client-appointment-info h3 {
    margin:
        3px 0 5px;

    font-size: 19px;
}


.client-appointment-area {
    color: #ef8400;

    font-weight: 700;

    margin-bottom: 5px;
}


.client-appointment-professional {
    color: #777777;

    font-size: 13px;
}


.client-package-badge {
    display: inline-flex;

    margin-top: 9px;

    padding: 7px 11px;

    border-radius: 20px;

    background: #eef6ff;

    color: #28649a;

    font-size: 11px;

    font-weight: 700;
}


.client-appointment-status {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 8px;
}


.appointment-status-pill {
    padding: 7px 11px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 800;
}


.appointment-status-pill.confirmed {
    background: #eef4ff;

    color: #355f9a;
}


.appointment-status-pill.attended {
    background: #e7f7ec;

    color: #28733e;
}


.appointment-status-pill.no-show {
    background: #f9eeee;

    color: #9b3c3c;
}


.payment-status.included {
    background: #eef6ff;

    color: #28649a;
}


/* ACCIONES */

.client-appointment-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;

    padding-top: 18px;

    border-top: 1px solid #eeeeee;
}


.client-action-button {
    min-width: 150px;

    text-align: center;
}


.calendar-placeholder-button:disabled {
    opacity: 0.55;

    cursor: not-allowed;
}


/* PRÓXIMA CITA */

.client-calendar-help {
    margin-top: 24px;
}


.next-appointment-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #eeeeee;
}


.next-appointment-card h2 {
    margin:
        4px 0;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .client-calendar-top {
        grid-template-columns:
            42px 1fr 42px;

        padding:
            14px 12px;
    }


    .client-calendar-heading strong {
        font-size: 17px;
    }


    .client-calendar-nav-link {
        width: 40px;
        height: 40px;
    }


    .client-dashboard-weekdays {
        padding-left: 7px;
        padding-right: 7px;
    }


    .client-dashboard-weekdays span {
        font-size: 9px;
    }


    .client-dashboard-calendar {
        gap: 4px;

        padding-left: 7px;
        padding-right: 7px;
    }


    .client-dashboard-day {
        border-radius: 10px;
    }


    .client-dashboard-day-number {
        font-size: 13px;
    }


    .client-dashboard-day-badge {
        top: 3px;
        right: 3px;

        min-width: 16px;
        height: 16px;

        font-size: 8px;
    }


    .client-appointment-main {
        grid-template-columns:
            70px 1fr;
    }


    .client-appointment-status {
        grid-column:
            1 / -1;

        flex-direction: row;

        align-items: center;
    }


    .client-appointment-actions {
        flex-direction: column;
    }


    .client-action-button {
        width: 100%;
    }


    .next-appointment-card {
        flex-direction: column;

        align-items: flex-start;
    }

}
.payment-booking-summary {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 22px;
}

.payment-booking-summary > div {
    padding: 18px;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid #eeeeee;
}

.payment-booking-summary span,
.payment-booking-summary small {
    display: block;
}

.payment-booking-summary span {
    color: #999999;

    font-size: 12px;

    margin-bottom: 5px;
}

.payment-booking-summary strong {
    display: block;

    color: #333333;

    font-size: 17px;
}

.payment-booking-summary small {
    margin-top: 4px;

    color: #777777;
}

.payment-booking-summary .payment-total {
    color: #ef8400;

    font-size: 22px;
}

.payment-receipt-field {
    margin-top: 20px;
}

@media (max-width: 700px) {

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

}
/* ======================================================
   PAQUETES / TRATAMIENTOS DEL CLIENTE
   ====================================================== */

.pending-sessions-alert {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 22px;

    padding: 18px 20px;

    border-radius: 18px;

    background: #fff4e5;

    border: 1px solid #f5d5ab;
}

.pending-sessions-alert-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ef8400;

    color: #ffffff;

    font-size: 20px;
    font-weight: 800;
}

.pending-sessions-alert strong {
    display: block;

    color: #333333;

    margin-bottom: 3px;
}

.pending-sessions-alert p {
    margin: 0;

    color: #777777;

    font-size: 13px;
}


/* SECCIÓN */

.client-treatment-section {
    margin-bottom: 28px;
}

.client-section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;
}

.client-section-heading span {
    color: #999999;

    font-size: 12px;
}

.client-section-heading h2 {
    margin: 3px 0 0;
}


/* GRID */

.client-treatment-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* TARJETA */

.client-treatment-card {
    padding: 20px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, 0.035);
}

.client-treatment-card-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;
}

.client-treatment-label {
    color: #999999;

    font-size: 11px;
}

.client-treatment-card h3 {
    margin:
        3px 0 5px;

    font-size: 19px;
}

.client-treatment-area {
    color: #ef8400;

    font-size: 13px;
    font-weight: 700;
}

.client-treatment-session-counter {
    min-width: 58px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border-radius: 22px;

    background: #fff4e5;

    color: #ef8400;

    font-weight: 800;
}


/* PROGRESO */

.client-treatment-progress {
    margin-top: 18px;
}

.client-treatment-progress-bar {
    width: 100%;
    height: 9px;

    overflow: hidden;

    border-radius: 10px;

    background: #eeeeee;
}

.client-treatment-progress-value {
    height: 100%;

    border-radius: 10px;

    background: #ef8400;
}

.client-treatment-progress-text {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-top: 7px;

    color: #888888;

    font-size: 11px;
}


/* ESTADÍSTICAS */

.client-treatment-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin-top: 17px;
}

.client-treatment-stats div {
    padding: 12px;

    border-radius: 12px;

    background: #fafafa;
}

.client-treatment-stats span {
    display: block;

    margin-bottom: 4px;

    color: #999999;

    font-size: 10px;
}

.client-treatment-stats strong {
    color: #333333;

    font-size: 18px;
}


/* ACCIONES */

.client-treatment-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 18px;

    padding-top: 17px;

    border-top: 1px solid #eeeeee;
}

.client-treatment-button {
    flex: 1;

    min-width: 150px;

    text-align: center;
}

.client-treatment-complete,
.client-treatment-scheduled {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 8px 12px;

    border-radius: 10px;

    text-align: center;

    font-size: 12px;
    font-weight: 700;
}

.client-treatment-complete {
    background: #e7f7ec;

    color: #28733e;
}

.client-treatment-scheduled {
    background: #eef6ff;

    color: #28649a;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .client-treatment-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .client-section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .client-treatment-stats {
        gap: 5px;
    }

    .client-treatment-stats div {
        padding: 9px;
    }

    .client-treatment-actions {
        flex-direction: column;
    }

    .client-treatment-button {
        width: 100%;
    }

    .pending-sessions-alert {
        align-items: flex-start;
    }

}
/* ======================================================
   DISPONIBILIDAD PROFESIONAL
   ====================================================== */

.availability-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 20px;
}


.availability-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.availability-card {
    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 20px;

    overflow: hidden;
}


.availability-card-header {
    padding: 18px 20px;

    border-bottom: 1px solid #eeeeee;

    background: #fafafa;
}


.availability-card-header span {
    color: #999999;

    font-size: 11px;
}


.availability-card-header h2 {
    margin: 3px 0 0;
}


.availability-list {
    padding: 8px 18px;
}


.availability-row {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #eeeeee;
}


.availability-row:last-child {
    border-bottom: 0;
}


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


.availability-row span {
    margin-top: 3px;

    color: #777777;

    font-size: 13px;
}


.availability-row small {
    margin-top: 5px;

    color: #999999;
}


.availability-row-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 6px;
}


.availability-active {
    padding: 5px 9px;

    border-radius: 20px;

    background: #e7f7ec;

    color: #28733e !important;

    font-size: 10px !important;

    font-weight: 700;
}


.availability-inactive {
    padding: 5px 9px;

    border-radius: 20px;

    background: #eeeeee;

    color: #777777 !important;

    font-size: 10px !important;

    font-weight: 700;
}


@media (max-width: 800px) {

    .availability-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .availability-row {
        align-items: flex-start;

        flex-direction: column;
    }

}
/* ======================================================
   PANEL DE PROFESIONAL
   ====================================================== */

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

.staff-date-navigation {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.staff-date-nav-button,
.staff-date-today-button {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.staff-date-nav-button {
    background: #ffffff;

    border: 1px solid #eeeeee;

    color: #555555;
}

.staff-date-nav-button:first-child {
    justify-self: start;
}

.staff-date-nav-button:last-child {
    justify-self: end;
}

.staff-date-today-button {
    background: #fff4e5;

    color: #ef8400;
}

.staff-appointment-area {
    display: inline-block;

    margin-top: 3px;

    color: #ef8400;

    font-size: 12px;

    font-weight: 700;
}

@media (max-width: 650px) {

    .staff-date-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .staff-date-today-button {
        grid-column: 1 / -1;
        grid-row: 1;

        width: 100%;
    }

    .staff-date-nav-button:first-child {
        grid-column: 1;
        grid-row: 2;

        width: 100%;
    }

    .staff-date-nav-button:last-child {
        grid-column: 2;
        grid-row: 2;

        width: 100%;
    }

}
/* ======================================================
   PAGOS AL PERSONAL - ADELANTOS
   ====================================================== */

.staff-payment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 11px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 800;
}

.staff-payment-status.pending {
    background: #fff3db;
    color: #8a5a00;
}

.staff-payment-status.advance {
    background: #eef6ff;
    color: #28649a;
}

.staff-payment-status.paid {
    background: #e7f7ec;
    color: #28733e;
}

.staff-payment-status.empty {
    background: #eeeeee;
    color: #777777;
}


.payment-advance-highlight {
    background: #eef6ff !important;

    border-color: #cfe3f7 !important;
}

.payment-advance-highlight span {
    color: #28649a !important;
}

.payment-advance-highlight strong {
    color: #28649a !important;
}


/* HISTORIAL */

.staff-payment-history {
    margin-top: 18px;

    padding-top: 16px;

    border-top: 1px solid #eeeeee;
}

.staff-payment-history-title {
    display: block;

    margin-bottom: 10px;

    color: #999999;

    font-size: 11px;
    font-weight: 700;
}

.staff-payment-history-row {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #f1f1f1;
}

.staff-payment-history-row:last-child {
    border-bottom: 0;
}

.staff-payment-history-row strong,
.staff-payment-history-row span,
.staff-payment-history-row small {
    display: block;
}

.staff-payment-history-row span,
.staff-payment-history-row small {
    margin-top: 3px;

    color: #888888;

    font-size: 11px;
}


/* RESUMEN */

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

.payment-summary-advance {
    background: #eef6ff !important;
}

.payment-summary-advance span,
.payment-summary-advance strong {
    color: #28649a !important;
}


@media (max-width: 800px) {

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

}


@media (max-width: 520px) {

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

    .staff-payment-history-row {
        flex-direction: column;
    }

}
/* ======================================================
   REPORTE OPERATIVO
   ====================================================== */

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

.operational-summary {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin: 20px 0;
}

.operational-summary > div {
    padding: 18px;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid #eeeeee;
}

.operational-summary span {
    display: block;

    color: #999999;

    font-size: 11px;
}

.operational-summary strong {
    display: block;

    margin-top: 5px;

    color: #333333;

    font-size: 24px;
}


.operational-professional-card {
    margin-bottom: 22px;

    padding: 22px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #eeeeee;
}

.operational-professional-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 20px;
}

.operational-professional-header > div:first-child span {
    color: #999999;

    font-size: 11px;
}

.operational-professional-header h2 {
    margin: 3px 0 0;
}

.operational-professional-numbers {
    display: flex;
    gap: 8px;
}

.operational-professional-numbers span {
    padding: 7px 11px;

    border-radius: 20px;

    background: #fff4e5;

    color: #ef8400;

    font-size: 11px;

    font-weight: 700;
}


.operational-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.operational-table {
    width: 100%;

    border-collapse: collapse;

    margin-top: 10px;
}

.operational-table th,
.operational-table td {
    padding: 11px 10px;

    border-bottom: 1px solid #eeeeee;

    text-align: left;

    font-size: 12px;
}

.operational-table th {
    color: #777777;

    background: #fafafa;

    font-weight: 700;
}

.operational-subtitle {
    margin-top: 25px;
}

.operational-empty {
    color: #999999;

    font-size: 13px;
}


@media (max-width: 700px) {

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

    .operational-professional-header {
        flex-direction: column;
    }

}


/* IMPRESIÓN / PDF */

@media print {

    .no-print {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .dashboard {
        max-width: none;

        padding: 0;
    }

    .operational-professional-card {
        break-inside: avoid;

        box-shadow: none;
    }

    .operational-table {
        font-size: 10px;
    }

}
/* ======================================================
   LIQUIDACIÓN MENSUAL
   ====================================================== */

.monthly-settlement-filter {
    display: flex;
    align-items: end;
    flex-wrap: wrap;

    gap: 14px;
}

.monthly-settlement-filter .form-group {
    min-width: 220px;
}


.monthly-settlement-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 24px 0 16px;
}

.monthly-settlement-heading span {
    display: block;

    color: #999999;

    font-size: 11px;
}

.monthly-settlement-heading h2 {
    margin: 3px 0;
}

.monthly-settlement-heading p {
    margin: 0;

    color: #777777;

    font-size: 13px;
}


/* RESUMEN */

.monthly-settlement-summary {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 20px;
}

.monthly-settlement-summary > div {
    padding: 17px;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid #eeeeee;
}

.monthly-settlement-summary span {
    display: block;

    color: #999999;

    font-size: 11px;
}

.monthly-settlement-summary strong {
    display: block;

    margin-top: 5px;

    font-size: 21px;
}

.monthly-summary-advance {
    background: #eef6ff !important;
}

.monthly-summary-advance strong {
    color: #28649a;
}


/* GRID */

.monthly-settlement-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* TARJETA */

.monthly-settlement-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 20px;
}

.monthly-card-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;
}

.monthly-card-header span {
    color: #999999;

    font-size: 11px;
}

.monthly-card-header h2 {
    margin: 3px 0 0;
}


/* TIPO PAGO */

.monthly-payment-type {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 11px 12px;

    margin-bottom: 8px;

    border-radius: 12px;

    background: #fafafa;
}

.monthly-payment-type span {
    color: #777777;

    font-size: 11px;
}

.monthly-payment-type strong {
    color: #ef8400;
}


/* DETALLES */

.monthly-detail {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #f1f1f1;
}

.monthly-detail span {
    color: #777777;

    font-size: 12px;
}

.monthly-detail strong {
    font-size: 13px;
}


/* SECCIONES */

.monthly-balance-section {
    margin-top: 16px;
}

.monthly-section-label {
    display: block;

    margin-bottom: 4px;

    color: #999999;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;
}

.monthly-opening-pending strong {
    color: #9a6500;
}

.monthly-opening-advance strong {
    color: #28649a;
}


/* SALDO FINAL */

.monthly-final-balance {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 17px;

    padding: 15px;

    border-radius: 14px;

    background: #fff4e5;
}

.monthly-final-balance span {
    color: #777777;

    font-size: 12px;
}

.monthly-final-balance strong {
    color: #ef8400;

    font-size: 20px;
}

.monthly-final-balance
.monthly-final-advance {
    color: #28649a;
}

.monthly-final-balance
.monthly-final-settled {
    color: #28733e;
}


/* HISTORIAL */

.monthly-payment-history {
    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid #eeeeee;
}

.monthly-payment-history-row {
    display: flex;

    justify-content: space-between;

    gap: 12px;

    padding: 9px 0;

    border-bottom: 1px solid #f2f2f2;
}

.monthly-payment-history-row:last-child {
    border-bottom: 0;
}

.monthly-payment-history-row strong,
.monthly-payment-history-row span,
.monthly-payment-history-row small {
    display: block;
}

.monthly-payment-history-row span,
.monthly-payment-history-row small {
    margin-top: 2px;

    color: #888888;

    font-size: 10px;
}


/* ACCIONES */

.monthly-card-actions {
    margin-top: 18px;
}

.monthly-card-actions form {
    width: 100%;
}

.monthly-liquidate-button {
    width: 100%;
}

.monthly-info-message {
    padding: 12px;

    border-radius: 12px;

    background: #f5f5f5;

    color: #777777;

    text-align: center;

    font-size: 12px;
}

.monthly-info-message.advance {
    background: #eef6ff;

    color: #28649a;
}

.monthly-info-message.settled {
    background: #e7f7ec;

    color: #28733e;

    font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 900px) {

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

    .monthly-settlement-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .monthly-settlement-heading {
        align-items: flex-start;

        flex-direction: column;
    }

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

}
/* ======================================================
   TRATAMIENTOS - CLIENTE VISIBLE
   ====================================================== */

.treatment-client-block {
    margin-bottom: 16px;

    padding: 14px 16px;

    border-radius: 14px;

    background: #fafafa;

    border: 1px solid #eeeeee;
}

.treatment-client-label {
    display: block;

    color: #999999;

    font-size: 10px;

    text-transform: uppercase;

    font-weight: 700;
}

.treatment-client-name {
    display: block;

    margin-top: 4px;

    color: #333333;

    font-size: 18px;
}

.treatment-client-block small {
    display: block;

    margin-top: 3px;

    color: #999999;
}

.treatment-area-badge {
    display: inline-flex;

    margin-top: 5px;

    padding: 6px 10px;

    border-radius: 20px;

    background: #fff4e5;

    color: #ef8400;

    font-size: 11px;

    font-weight: 700;
}

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

.treatment-pending-alert {
    margin-top: 14px;

    padding: 11px 13px;

    border-radius: 12px;

    background: #fff4e5;

    color: #8a5a00;

    font-size: 12px;
}

@media (max-width: 600px) {

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

}
/* ======================================================
   CALENDARIO MENSUAL - PROFESIONALES
   ====================================================== */

.staff-calendar-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.staff-calendar-summary > div {
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.staff-calendar-summary span {
    display: block;
    color: #888888;
    font-size: 11px;
}

.staff-calendar-summary strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
}


.staff-month-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 22px 0 10px;
}

.staff-month-navigation > div {
    min-width: 220px;
    text-align: center;
}

.staff-month-navigation span {
    color: #999999;
    font-size: 11px;
}

.staff-month-navigation h2 {
    margin: 3px 0 0;
}

.staff-month-nav-button {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #ffffff;
    color: #333333;
    font-size: 28px;
    text-decoration: none;
}

.staff-calendar-today {
    text-align: center;
    margin-bottom: 15px;
}


.staff-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 12px 0 18px;
    color: #777777;
    font-size: 12px;
}

.staff-calendar-legend > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.staff-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.staff-legend-dot.own {
    background: #ef8400;
}

.staff-legend-dot.other {
    background: #dddddd;
}


.staff-month-calendar {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
}

.staff-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
}

.staff-calendar-weekdays div {
    padding: 12px 5px;
    color: #888888;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}


.staff-calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.staff-calendar-day {
    position: relative;
    min-height: 115px;
    padding: 8px;
    overflow: hidden;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
}

.staff-calendar-day:hover {
    background: #fafafa;
}

.staff-calendar-day.outside {
    background: #fafafa;
    opacity: 0.45;
}

.staff-calendar-day.today
.staff-calendar-day-number {
    display: flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #333333;
    color: #ffffff;
}

.staff-calendar-day.selected {
    box-shadow: inset 0 0 0 2px #ef8400;
}

.staff-calendar-day-number {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
}


.staff-calendar-mini-event {
    margin-bottom: 4px;
    padding: 5px 6px;
    overflow: hidden;
    border-radius: 6px;
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.staff-calendar-mini-event strong {
    margin-right: 3px;
}

.staff-calendar-mini-event.own {
    background: #fff1df;
    color: #a75a00;
}

.staff-calendar-mini-event.other {
    background: #f1f1f1;
    color: #777777;
}


.staff-calendar-mobile-count {
    display: none;
}


.staff-selected-day {
    margin-top: 24px;
}

.staff-selected-day-header {
    margin-bottom: 12px;
}

.staff-selected-day-header span {
    color: #999999;
    font-size: 11px;
}

.staff-selected-day-header h2 {
    margin: 3px 0 0;
}


.staff-selected-appointments {
    display: grid;
    gap: 10px;
}

.staff-selected-appointment {
    display: grid;
    grid-template-columns: 85px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.staff-selected-appointment.own {
    border-left: 5px solid #ef8400;
}

.staff-selected-appointment.other {
    border-left: 5px solid #dddddd;
}


.staff-selected-time {
    font-size: 18px;
    font-weight: 700;
}

.staff-selected-time small {
    display: block;
    margin-top: 2px;
    color: #999999;
    font-size: 11px;
    font-weight: 400;
}


.staff-appointment-owner {
    color: #ef8400;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.staff-selected-appointment.other
.staff-appointment-owner {
    color: #888888;
}

.staff-selected-info h3 {
    margin: 3px 0 4px;
}

.staff-selected-info p {
    margin: 6px 0;
    color: #666666;
    font-size: 12px;
}

.staff-selected-info > small {
    color: #999999;
}

.staff-selected-area {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 12px;
    background: #fff4e5;
    color: #ef8400;
    font-size: 10px;
}


.staff-selected-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.staff-selected-actions form {
    margin: 0;
}

.staff-readonly-message {
    padding: 7px 10px;
    border-radius: 10px;
    background: #f3f3f3;
    color: #888888;
    font-size: 10px;
}

.staff-calendar-help {
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    background: #fafafa;
    color: #888888;
    text-align: center;
}


@media (max-width: 700px) {

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

    .staff-calendar-day {
        min-height: 65px;
        padding: 5px;
    }

    .staff-calendar-mini-event {
        display: none;
    }

    .staff-calendar-mobile-count {
        display: flex;
        justify-content: center;
        gap: 3px;
        margin-top: 5px;
    }

    .staff-calendar-mobile-count span {
        display: flex;
        min-width: 18px;
        height: 18px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 9px;
        font-weight: 700;
    }

    .staff-calendar-mobile-count .own {
        background: #fff1df;
        color: #a75a00;
    }

    .staff-calendar-mobile-count .other {
        background: #eeeeee;
        color: #777777;
    }

    .staff-selected-appointment {
        grid-template-columns: 65px 1fr;
    }

    .staff-selected-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

}
/* ======================================================
   CALENDARIO MENSUAL - PROFESIONALES
   ====================================================== */

.staff-calendar-summary {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 20px;
}


.staff-calendar-summary > div {
    padding: 16px 18px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 16px;
}


.staff-calendar-summary span {
    display: block;

    color: #888888;

    font-size: 11px;
}


.staff-calendar-summary strong {
    display: block;

    margin-top: 4px;

    font-size: 24px;
}



/* NAVEGACIÓN */

.staff-month-navigation {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    margin: 22px 0 10px;
}


.staff-month-navigation > div {
    min-width: 220px;

    text-align: center;
}


.staff-month-navigation span {
    color: #999999;

    font-size: 11px;
}


.staff-month-navigation h2 {
    margin: 3px 0 0;
}


.staff-month-nav-button {
    display: flex;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border: 1px solid #e5e5e5;

    border-radius: 50%;

    background: #ffffff;

    color: #333333;

    font-size: 28px;

    text-decoration: none;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}


.staff-month-nav-button:hover {
    background: #ef8400;

    color: #ffffff;
}


.staff-calendar-today {
    margin-bottom: 15px;

    text-align: center;
}



/* LEYENDA */

.staff-calendar-legend {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;

    margin: 12px 0 18px;

    color: #777777;

    font-size: 12px;
}


.staff-calendar-legend > div {
    display: flex;

    align-items: center;

    gap: 7px;
}


.staff-legend-dot {
    display: inline-block;

    width: 10px;
    height: 10px;

    border-radius: 50%;
}


.staff-legend-dot.own {
    background: #ef8400;
}


.staff-legend-dot.other {
    background: #b9bec6;
}



/* CALENDARIO */

.staff-month-calendar {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eaeaea;

    border-radius: 20px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.035);
}


.staff-calendar-weekdays {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}


.staff-calendar-weekdays div {
    padding: 12px 5px;

    color: #888888;

    text-align: center;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}


.staff-calendar-body {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));
}


.staff-calendar-day {
    position: relative;

    min-width: 0;

    min-height: 120px;

    padding: 8px;

    overflow: hidden;

    border-right: 1px solid #eeeeee;

    border-bottom: 1px solid #eeeeee;

    color: inherit;

    text-decoration: none;

    background: #ffffff;

    transition:
        background 0.15s ease,
        box-shadow 0.15s ease;
}


.staff-calendar-day:hover {
    background: #fafafa;
}


.staff-calendar-day.outside {
    background: #fafafa;

    opacity: 0.42;
}


.staff-calendar-day.selected {
    z-index: 1;

    box-shadow:
        inset 0 0 0 2px #ef8400;
}


.staff-calendar-day-number {
    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 700;
}


.staff-calendar-day.today
.staff-calendar-day-number {
    display: flex;

    width: 28px;
    height: 28px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #333333;

    color: #ffffff;
}



/* CITAS MINI */

.staff-calendar-mini-event {
    margin-bottom: 4px;

    padding: 5px 6px;

    overflow: hidden;

    border-radius: 6px;

    font-size: 9px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.staff-calendar-mini-event strong {
    margin-right: 3px;
}


.staff-calendar-mini-event.own {
    background: #fff1df;

    color: #a75a00;

    border-left: 3px solid #ef8400;
}


.staff-calendar-mini-event.other {
    background: #f0f1f2;

    color: #6f7379;

    border-left: 3px solid #aeb4bc;
}


.staff-calendar-mobile-count {
    display: none;
}



/* DÍA SELECCIONADO */

.staff-selected-day {
    margin-top: 24px;
}


.staff-selected-day-header {
    margin-bottom: 12px;
}


.staff-selected-day-header span {
    color: #999999;

    font-size: 11px;
}


.staff-selected-day-header h2 {
    margin: 3px 0 0;

    text-transform: capitalize;
}


.staff-selected-appointments {
    display: grid;

    gap: 10px;
}


.staff-selected-appointment {
    display: grid;

    grid-template-columns:
        85px minmax(0, 1fr) auto;

    align-items: center;

    gap: 16px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 16px;
}


.staff-selected-appointment.own {
    border-left:
        5px solid #ef8400;
}


.staff-selected-appointment.other {
    border-left:
        5px solid #b9bec6;
}



/* HORA */

.staff-selected-time {
    color: #333333;

    font-size: 18px;

    font-weight: 700;
}


.staff-selected-time small {
    display: block;

    margin-top: 2px;

    color: #999999;

    font-size: 11px;

    font-weight: 400;
}



/* INFORMACIÓN */

.staff-appointment-owner {
    color: #ef8400;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;
}


.staff-selected-appointment.other
.staff-appointment-owner {
    color: #777777;
}


.staff-selected-info h3 {
    margin: 3px 0 4px;
}


.staff-selected-info p {
    margin: 6px 0;

    color: #666666;

    font-size: 12px;
}


.staff-selected-info > small {
    color: #999999;
}


.staff-selected-area {
    display: inline-flex;

    padding: 4px 8px;

    border-radius: 12px;

    background: #fff4e5;

    color: #ef8400;

    font-size: 10px;

    font-weight: 700;
}



/* ACCIONES */

.staff-selected-actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 6px;
}


.staff-selected-actions form {
    margin: 0;
}


.staff-readonly-message {
    padding: 7px 10px;

    border-radius: 10px;

    background: #f3f3f3;

    color: #888888;

    font-size: 10px;

    font-weight: 700;
}


.staff-calendar-help {
    margin-top: 20px;

    padding: 20px;

    border-radius: 16px;

    background: #fafafa;

    color: #888888;

    text-align: center;
}



/* MÓVIL */

@media (max-width: 700px) {

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


    .staff-month-navigation {
        gap: 12px;
    }


    .staff-month-navigation > div {
        min-width: 150px;
    }


    .staff-month-navigation h2 {
        font-size: 18px;
    }


    .staff-calendar-weekdays div {
        font-size: 9px;

        padding-left: 2px;
        padding-right: 2px;
    }


    .staff-calendar-day {
        min-height: 68px;

        padding: 5px;
    }


    .staff-calendar-mini-event {
        display: none;
    }


    .staff-calendar-mobile-count {
        display: flex;

        justify-content: center;

        gap: 3px;

        margin-top: 5px;
    }


    .staff-calendar-mobile-count span {
        display: flex;

        min-width: 18px;
        height: 18px;

        align-items: center;
        justify-content: center;

        padding: 0 4px;

        border-radius: 20px;

        font-size: 9px;

        font-weight: 700;
    }


    .staff-calendar-mobile-count .own {
        background: #fff1df;

        color: #a75a00;
    }


    .staff-calendar-mobile-count .other {
        background: #eeeeee;

        color: #777777;
    }


    .staff-selected-appointment {
        grid-template-columns:
            65px minmax(0, 1fr);
    }


    .staff-selected-actions {
        grid-column:
            1 / -1;

        justify-content: flex-start;
    }

}


@media (max-width: 480px) {

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


    .staff-calendar-legend {
        justify-content: flex-start;
    }


    .staff-calendar-day-number {
        font-size: 11px;
    }

}
/* ======================================================
   CALENDARIO MENSUAL - MANAGER
   ====================================================== */

.manager-calendar-summary {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 14px;

    margin-bottom: 20px;
}


.manager-calendar-summary > div {
    padding: 16px 18px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 16px;
}


.manager-calendar-summary span {
    display: block;

    color: #888888;

    font-size: 11px;
}


.manager-calendar-summary strong {
    display: block;

    margin-top: 5px;

    font-size: 24px;
}


/* NAVEGACIÓN */

.manager-month-navigation {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 25px;

    margin: 24px 0 10px;
}


.manager-month-navigation > div {
    min-width: 220px;

    text-align: center;
}


.manager-month-navigation span {
    color: #999999;

    font-size: 11px;
}


.manager-month-navigation h2 {
    margin: 3px 0 0;
}


.manager-month-nav-button {
    display: flex;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border: 1px solid #e5e5e5;

    border-radius: 50%;

    background: #ffffff;

    color: #333333;

    font-size: 28px;

    text-decoration: none;
}


.manager-month-nav-button:hover {
    background: #ef8400;

    color: #ffffff;
}


.manager-calendar-today {
    margin-bottom: 14px;

    text-align: center;
}


/* LEYENDA */

.manager-calendar-legend {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 20px;

    margin: 12px 0 18px;

    color: #777777;

    font-size: 12px;
}


.manager-calendar-legend > div {
    display: flex;

    align-items: center;

    gap: 7px;
}


.manager-legend-dot {
    display: inline-block;

    width: 10px;
    height: 10px;

    border-radius: 50%;
}


/* Dos profesionales actuales */

.manager-legend-dot.professional-1 {
    background: #ef8400;
}

.manager-legend-dot.professional-2 {
    background: #777777;
}


/* CALENDARIO */

.manager-month-calendar {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eaeaea;

    border-radius: 20px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.035);
}


.manager-calendar-weekdays {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}


.manager-calendar-weekdays div {
    padding: 12px 5px;

    color: #888888;

    text-align: center;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}


.manager-calendar-body {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));
}


.manager-calendar-day {
    position: relative;

    min-width: 0;

    min-height: 135px;

    padding: 8px;

    overflow: hidden;

    border-right: 1px solid #eeeeee;

    border-bottom: 1px solid #eeeeee;

    background: #ffffff;

    color: inherit;

    text-decoration: none;
}


.manager-calendar-day:hover {
    background: #fafafa;
}


.manager-calendar-day.outside {
    background: #fafafa;

    opacity: 0.4;
}


.manager-calendar-day.selected {
    z-index: 1;

    box-shadow:
        inset 0 0 0 2px #ef8400;
}


.manager-calendar-day-number {
    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 700;
}


.manager-calendar-day.today
.manager-calendar-day-number {
    display: flex;

    width: 28px;
    height: 28px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #333333;

    color: #ffffff;
}


/* MINI CITAS */

.manager-calendar-event {
    display: grid;

    margin-bottom: 4px;

    padding: 5px 6px;

    border-radius: 7px;

    background: #f4f4f4;

    border-left: 3px solid #999999;

    overflow: hidden;
}


.manager-calendar-event strong {
    font-size: 9px;
}


.manager-event-professional {
    overflow: hidden;

    color: #777777;

    font-size: 9px;

    font-weight: 700;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.manager-event-service {
    overflow: hidden;

    color: #555555;

    font-size: 9px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/*
Actualmente Ceci y Carlita tienen IDs propios
que pueden variar entre instalaciones.

El estilo base funciona para todas.
Después podemos asignar colores dinámicos
si agregamos más profesionales.
*/


.manager-mobile-count {
    display: none;
}


/* DÍA SELECCIONADO */

.manager-selected-day {
    margin-top: 25px;
}


.manager-selected-day-header {
    margin-bottom: 12px;
}


.manager-selected-day-header span {
    color: #999999;

    font-size: 11px;
}


.manager-selected-day-header h2 {
    margin: 3px 0 0;

    text-transform: capitalize;
}


.manager-selected-appointments {
    display: grid;

    gap: 10px;
}


.manager-selected-appointment {
    display: grid;

    grid-template-columns:
        90px minmax(0, 1fr) auto;

    align-items: center;

    gap: 17px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-left: 5px solid #ef8400;

    border-radius: 16px;
}


.manager-selected-time {
    font-size: 18px;

    font-weight: 700;
}


.manager-selected-time small {
    display: block;

    margin-top: 2px;

    color: #999999;

    font-size: 11px;

    font-weight: 400;
}


.manager-professional-name {
    color: #ef8400;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;
}


.manager-selected-info h3 {
    margin: 3px 0 4px;
}


.manager-selected-info p {
    margin: 6px 0;

    color: #666666;

    font-size: 12px;
}


.manager-selected-info > small {
    color: #999999;
}


.manager-selected-area {
    display: inline-flex;

    padding: 4px 8px;

    border-radius: 12px;

    background: #fff4e5;

    color: #ef8400;

    font-size: 10px;

    font-weight: 700;
}


/* ACCIONES */

.manager-selected-actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 6px;
}


.manager-selected-actions form {
    margin: 0;
}


.manager-calendar-help {
    margin-top: 20px;

    padding: 20px;

    border-radius: 16px;

    background: #fafafa;

    color: #888888;

    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 760px) {

    .manager-calendar-day {
        min-height: 70px;

        padding: 5px;
    }


    .manager-calendar-event {
        display: none;
    }


    .manager-mobile-count {
        display: flex;

        width: 21px;
        height: 21px;

        align-items: center;
        justify-content: center;

        margin: 5px auto 0;

        border-radius: 50%;

        background: #fff1df;

        color: #a75a00;

        font-size: 9px;

        font-weight: 700;
    }


    .manager-selected-appointment {
        grid-template-columns:
            70px minmax(0, 1fr);
    }


    .manager-selected-actions {
        grid-column:
            1 / -1;

        justify-content: flex-start;
    }


    .manager-month-navigation > div {
        min-width: 150px;
    }

}