.resa-day {
    border: 0;
    font: inherit;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}

.resa-day-available {
    cursor: pointer;
}

.resa-day-available:hover,
.resa-day-available:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.11);
}

.resa-day:disabled {
    cursor: not-allowed;
}

.resa-day-selected {
    position: relative;
    z-index: 2;
    background: #333333 !important;
    color: #ffffff !important;
}

.resa-day-selection-start,
.resa-day-selection-end {
    outline: 3px solid rgba(51, 51, 51, 0.22);
    outline-offset: 2px;
}

.resa-day-preview {
    background: #dfe8df !important;
    color: #1e4d28 !important;
}

.resa-day-preview-invalid {
    background: #f9d9d9 !important;
    color: #9f2525 !important;
}

.resa-legend-selected {
    background: #333333;
}

.resa-selection-panel {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid #dedcd5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.resa-selection-panel::before {
    display: block;
    margin-bottom: 14px;
    color: #262626;
    content: "Votre séjour";
    font-size: 1.15rem;
    font-weight: 800;
}

.resa-selection-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 17px;
}

.resa-selection-summary > div {
    padding: 14px;
    border: 1px solid #eceae4;
    border-radius: 10px;
    background: #f6f5f1;
}

.resa-selection-label {
    display: block;
    margin-bottom: 5px;
    color: #73716b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

.resa-selection-reset,
.resa-selection-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.resa-selection-reset {
    border: 1px solid #dedcd5;
    background: #ffffff;
    color: #333333;
}

.resa-selection-reset:hover {
    background: #f6f5f1;
}

.resa-selection-book {
    border: 0;
    background: #333333;
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.13);
}

.resa-selection-book:hover {
    transform: translateY(-1px);
    background: #1f1f1f;
}

.resa-selection-message {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 9px;
    line-height: 1.5;
}

.resa-selection-message-info {
    background: #f2f3f5;
    color: #5f6268;
}

.resa-selection-message-success {
    background: #edf8ef;
    color: #236c36;
    font-weight: 700;
}

.resa-selection-message-error {
    background: #fff0f0;
    color: #a52b2b;
    font-weight: 700;
}

@media (max-width: 680px) {
    .resa-selection-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .resa-selection-actions,
    .resa-selection-reset,
    .resa-selection-book {
        width: 100%;
    }
}
