/* ========== Booking Rules & Consent ========== */
.booking-rules {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
}

.booking-rules h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rules-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.rules-scroll p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rules-scroll::-webkit-scrollbar {
    width: 6px;
}

.rules-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.rules-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 3px;
}

.consent-block {
    margin: 30px 0 20px;
    padding: 15px 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
    background: rgba(245,245,245,0.3);
}

.consent-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
}

.consent-checkbox input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.consent-checkbox label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1.4;
}

/* ========== Full Booking Form ========== */
.booking-form-full {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.booking-form-full h3 {
    color: var(--accent-color);
    margin: 20px 0 10px;
    font-size: 1.3rem;
}

.services label {
    display: block;
    margin-bottom: 8px;
}

.services input {
    margin-right: 8px;
}

select, textarea, .personal-info input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.personal-info input {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ========== Price Estimate ========== */
.price-estimate {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.price-estimate h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

#priceDisplay .total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-align: right;
    padding: 10px;
    background: white;
    border-radius: 4px;
}

/* ========== Additional Services Day Selector ========== */
.service-days-selector {
    margin: 10px 0;
}

.days-count-select {
    width: 100%;
    max-width: 200px;
    padding: 8px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    margin-left: 10px;
}

.day-selector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.day-selector-item {
    flex: 1 1 calc(14.28% - 10px);
    min-width: 80px;
    padding: 10px;
    background: white;
    border: 2px solid var(--gray);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    user-select: none;
}

.day-selector-item.selected {
    background: var(--booked-bg) !important;
    color: white !important;
    border-color: #2E7D32 !important;
}

.day-selector-item.saturday-mandatory,
.day-selector-item.holiday-mandatory,
.day-selector-item.couple-mandatory {
    background: var(--mandatory-bg) !important;
    color: white !important;
    opacity: 0.9;
    cursor: not-allowed;
    border: 2px solid #1B5E20 !important;
}

.day-selector-item.saturday-mandatory:hover,
.day-selector-item.holiday-mandatory:hover,
.day-selector-item.couple-mandatory:hover {
    background: var(--mandatory-bg) !important;
    transform: none;
}

.day-selector-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.day-selector-item:not(.selected):not(.disabled):hover {
    background: #e0e0e0;
    border-color: var(--accent-light);
}

/* ========== Room Description (опционально) ========== */
.room-description {
    margin: 40px 0;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.room-description h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* ========== Responsive (booking) ========== */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    .day-selector-item {
        flex: 1 1 calc(33.33% - 10px);
    }
}

@media (max-width: 480px) {
    .consent-checkbox {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .day-selector-item {
        flex: 1 1 calc(50% - 10px);
    }
}