.hotel-calendar-page {
    background: #f4f7fb;
    min-height: 100vh;
    padding: 30px 0 50px;
}

.calendar-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

.calendar-header-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.calendar-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.calendar-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.calendar-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #334155;
}

.legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.available { background: #16a34a; }
.legend-dot.full { background: #dc2626; }
.legend-dot.closed { background: #64748b; }
.legend-dot.selected { background: #2563eb; }

/*.calendar-layout {*/
/*    display: grid;*/
/*    grid-template-columns: minmax(0, 1fr) 320px;*/
/*    gap: 24px;*/
/*    align-items: start;*/
/*}*/

.calendar-main {
    min-width: 0;
    margin-bottom: 15px;
}

.months-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.month-card {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.month-title {
    text-align: center;
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.weekdays-row,
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.weekday-cell {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    padding-bottom: 6px;
}

.day-cell {
    min-height: 55px;
    border-radius: 14px;
    padding: 8px 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.day-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.day-cell.empty {
    background: transparent;
    border: none;
    cursor: default;
    box-shadow: none;
    min-height: 55px;
}

.day-cell.available {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.day-cell.full {
    background: #fff1f2;
    border-color: #fecdd3;
    cursor: not-allowed;
}

.day-cell.closed {
    background: #f1f5f9;
    border-color: #cbd5e1;
    cursor: not-allowed;
}

.day-cell.selected,
.day-cell.in-range {
    background: #b2d3ff;
    border-color: #93c5fd;
}

.day-cell.range-start,
.day-cell.range-end {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.day-number {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    color: inherit;
    margin-top: 2px;
}

.day-price {
    font-size: 10px;
    line-height: 1.4;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.day-cell.range-start .day-price,
.day-cell.range-end .day-price {
    color: #dbeafe;
}

.calendar-sidebar {
    position: sticky;
    top: 16px;
}

.booking-summary-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.booking-summary-card h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.summary-row span {
    color: #64748b;
}

.summary-row strong {
    color: #0f172a;
    text-align: left;
}

.reserve-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.reserve-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.clear-selection-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .calendar-layout {
        grid-template-columns: 1fr;
    }

    .calendar-sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .months-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .weekdays-row,
    .days-grid {
        gap: 6px;
    }

    .day-cell {
        min-height: 68px;
        padding: 6px 4px;
        border-radius: 12px;
    }

    .day-number {
        font-size: 14px;
    }

    .day-price {
        font-size: 10px;
    }

    .calendar-title {
        font-size: 20px;
    }
}