/* 스테이럭스 특별 요청사항 폼 (예약 화면 stayluxe-booking-request.css 의 요청사항 영역 스타일과 동일) */
/* 호텔 상세 > 호텔 예약 문의 모달에서 사용 */
/* 특별 요청사항 */
.booking-special-requests {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.booking-special-requests-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.booking-special-requests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-special-request-item {
    display: flex;
    align-items: start;
    padding: 1rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.booking-special-request-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.booking-special-request-item.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.booking-special-request-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.booking-special-request-content {
    flex: 1;
}

.booking-special-request-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    display: block;
}

.booking-special-request-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
}

/* 레이트 체크인 시간 선택 */
.booking-late-checkin-time {
    display: none;
    margin-top: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.booking-late-checkin-time.show {
    display: block;
}

.booking-time-select-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-time-select-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.booking-time-select {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
}

.booking-time-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 침대 타입 선택 */
.booking-bed-preference-options {
    display: none;
    margin-top: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.booking-bed-preference-options.show {
    display: block;
}

.booking-radio-group {
    display: flex;
    gap: 1rem;
}

.booking-radio-option {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.booking-radio-option:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.booking-radio-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.booking-radio-option input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.booking-radio-option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}

/* 추가 요청사항 텍스트 영역 */
.booking-additional-requests {
    margin-top: 1.5rem;
}

.booking-additional-requests-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    display: block;
}

.booking-additional-requests-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
}

.booking-additional-requests-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.booking-additional-requests-textarea::placeholder {
    color: #9ca3af;
}

.booking-additional-requests-help {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* 객실별 요청사항 아코디언 */
.booking-room-requests-accordion {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.booking-room-requests-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.booking-room-requests-toggle:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.booking-room-requests-toggle.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.booking-room-requests-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.booking-room-requests-toggle-icon {
    font-size: 1.1rem;
    color: #6b7280;
}

.booking-room-requests-toggle.active .booking-room-requests-toggle-icon {
    color: #3b82f6;
}

.booking-room-requests-toggle-text {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.booking-room-requests-toggle.active .booking-room-requests-toggle-text {
    color: #1e40af;
}

.booking-room-requests-toggle-desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.booking-room-requests-toggle-arrow {
    font-size: 1.2rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.booking-room-requests-toggle.active .booking-room-requests-toggle-arrow {
    transform: rotate(180deg);
    color: #3b82f6;
}

.booking-room-requests-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.booking-room-requests-content.show {
    max-height: 2000px; /* 충분히 큰 값 */
    opacity: 1;
    margin-top: 1rem;
}

/* 특별 요청사항 - 아코디언 내부용 스타일 조정 */
.booking-room-requests-content .booking-special-requests {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.booking-room-requests-content .booking-special-requests-title {
    display: none; /* 토글에 이미 제목이 있으므로 숨김 */
}


@media ( max-width : 768px) {
    .booking-special-requests-grid {
        grid-template-columns: 1fr;
    }

    .booking-radio-group {
        flex-direction: column;
    }
}
