/* ============================================================
   SELECCION DE DIA
============================================================ */

.appointment-context-heading {
    margin-bottom: 24px;
    text-align: center;
}

.appointment-context-heading h3 {
    margin-bottom: 6px;
}

.appointment-list-title {
    color: #24313a;
    font-weight: 400;
    margin: 0 0 18px;
    text-align: center;
}

.appointment-service-alert {
    background: #eaf6fb;
    border: 1px solid #c9e5f3;
    border-radius: 8px;
    color: #136f93;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 auto;
    max-width: 560px;
    padding: 14px 18px;
}

.appointment-service-alert strong {
    color: #24313a;
    font-size: 1.15rem;
    line-height: 1.2;
}

.appointment-service-alert span:last-child {
    color: #5f6872;
    line-height: 1.4;
}

.appointment-service-label {
    color: #136f93;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.appointment-context-media {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 50%;
    display: flex;
    height: 96px;
    justify-content: center;
    margin: 0 auto 12px;
    opacity: 0.82;
    overflow: hidden;
    width: 96px;
}

.appointment-context-media-img {
    display: block;
    height: 78px;
    max-height: 78px;
    max-width: 78px;
    object-fit: contain;
    width: 78px;
}

.appointment-top-nav {
    display: flex;
    justify-content: center;
    margin: -4px 0 18px;
}

.appointment-back-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #c9e5f3;
    border-radius: 8px;
    color: #136f93;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    line-height: 1;
    padding: 8px 14px;
}

.appointment-back-button:hover {
    background: #eaf6fb;
}

.appointment-day-form {
    height: 100%;
}

.appointment-day-card {
    align-items: flex-start;
    background: #ffffff;
    border: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    min-height: 172px;
    padding: 20px;
    text-align: left;
    transition: box-shadow .15s ease, transform .15s ease;
    width: 100%;
}

.appointment-day-card:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.appointment-day-card.is-disabled {
    background: #f3f5f6;
    box-shadow: none;
    color: #7b858d;
    cursor: not-allowed;
    opacity: 1;
}

.appointment-day-card.is-disabled:hover {
    box-shadow: none;
    transform: none;
}

.appointment-day-badge {
    background: #eaf6fb;
    border-radius: 8px;
    color: #136f93;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.appointment-day-card.is-disabled .appointment-day-badge {
    background: #e1e5e8;
    color: #5f6872;
}

.appointment-day-card.is-disabled .appointment-day-badge.is-feriado {
    background: #fff3cd;
    color: #7a5a00;
}

.appointment-day-card.is-disabled .appointment-day-badge.is-no-disponible {
    background: #e1e5e8;
    color: #5f6872;
}

.appointment-day-number {
    color: #24313a;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.appointment-day-card.is-disabled .appointment-day-number {
    color: #7b858d;
}

.appointment-day-text {
    color: #5f6872;
    line-height: 1.35;
}

.appointment-day-reason {
    color: #6f7780;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-top: auto;
}

.appointment-day-own-reservation {
    background: #fff3cd;
    border-radius: 8px;
    color: #7a5a00;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: auto;
    padding: 8px 10px;
}

.appointment-day-reason + .appointment-day-own-reservation {
    margin-top: 6px;
}

@media (max-width: 480px) {
    .appointment-context-heading {
        margin-bottom: 18px;
    }

    .appointment-list-title {
        font-size: 1.65rem;
        margin-bottom: 14px;
    }

    .appointment-context-media {
        height: 78px;
        margin-bottom: 10px;
        width: 78px;
    }

    .appointment-context-media-img {
        height: 62px;
        max-height: 62px;
        max-width: 62px;
        width: 62px;
    }

    .appointment-service-alert {
        padding: 12px 14px;
    }

    .appointment-back-button {
        justify-content: center;
        font-size: 0.94rem;
    }
}
