/* ===================================
   웨딩센스 - 빠른 예약 사이드바 스타일
   sidebar-quick-reservation.css
   =================================== */

/* 빠른 예약 섹션 */
.quick-reservation {
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
}

.quick-reservation .sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--rose-gold);
    text-align: center;
}

/* 폼 스타일 */
.quick-reservation .reservation-form {
    margin-top: 1rem;
}

.quick-reservation .form-floating {
    margin-bottom: 1rem;
}

.quick-reservation .form-control,
.quick-reservation .form-select {
    font-size: 0.95rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.quick-reservation .form-control:focus,
.quick-reservation .form-select:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 0.2rem rgba(232, 180, 184, 0.25);
}

/* ===================================
   동의 섹션 스타일
   =================================== */

/* 동의 섹션 컨테이너 */
.quick-reservation .agreement-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

/* 동의 항목 래퍼 */
.quick-reservation .agreement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.quick-reservation .agreement-item:last-child {
    margin-bottom: 0;
}

/* 체크박스 스타일 */
.quick-reservation .agreement-checkbox {
    width: 14px !important;
    height: 14px !important;
    margin: 3px 8px 0 0 !important;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--rose-gold);
}

/* 모달이 필요한 체크박스 특별 스타일 */
.quick-reservation .agreement-checkbox.modal-required {
    position: relative;
    cursor: pointer !important;
    /* 클릭 가능함을 시각적으로 표시 */
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: all 0.2s ease;
}

/* 모달 필요 체크박스 호버 시 */
.quick-reservation .agreement-checkbox.modal-required:hover {
    outline-color: var(--rose-gold);
    transform: scale(1.15);
}

/* 모달 필요 체크박스 포커스 시 */
.quick-reservation .agreement-checkbox.modal-required:focus {
    outline-color: var(--rose-gold);
    outline-offset: 3px;
}

/* 체크박스 호버 효과 */
.quick-reservation .agreement-checkbox:hover {
    transform: scale(1.1);
}

/* 체크박스 체크 시 스타일 */
.quick-reservation .agreement-checkbox:checked {
    accent-color: var(--rose-gold);
    background-color: var(--rose-gold);
}

/* 모달 필요 체크박스가 체크된 상태 */
.quick-reservation .agreement-checkbox.modal-required:checked {
    outline-color: #28a745;
}

/* 라벨 스타일 */
.quick-reservation .agreement-label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    cursor: pointer;
    user-select: none;
    word-break: keep-all;
}

.quick-reservation .agreement-label:hover {
    color: var(--text-dark);
}

/* 개인정보처리방침 링크 */
.quick-reservation .privacy-link {
    color: #6c757d;
    text-decoration: underline;
    font-weight: 500;
}

.quick-reservation .privacy-link:hover {
    color: var(--rose-gold);
}

/* 필수/선택 표시 */
.quick-reservation .required-mark {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
}

.quick-reservation .optional-mark {
    color: #6c757d;
    font-size: 0.8rem;
}


/* 제출 버튼 */
.quick-reservation .btn-primary {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.quick-reservation .btn-primary:hover {
    background: linear-gradient(135deg, var(--rose-gold-dark) 0%, #c08084 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 180, 184, 0.4);
}

.quick-reservation .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 보안 안내 텍스트 */
.quick-reservation .text-center small {
    color: #6c757d;
    font-size: 0.8rem;
}

.quick-reservation .text-center small i {
    color: var(--rose-gold);
}

/* 반응형 - 태블릿 */
@media (max-width: 992px) {
    .sidebar-right {
        width: 340px !important;
    }
    
    .quick-reservation {
        padding: 1.25rem;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 576px) {
    .sidebar-right {
        width: 100% !important;
        max-width: 400px;
    }
    
    .quick-reservation {
        padding: 1rem;
    }
    
    .quick-reservation .agreement-section {
        padding: 0.75rem !important;
    }
    
    .quick-reservation .form-check-label {
        font-size: 0.85rem !important;
    }
    
    /* 모바일에서 줄바꿈 */
    .quick-reservation .form-check-label br.d-sm-none {
        display: inline !important;
    }
}

/* 다크모드 지원 (선택사항) */
@media (prefers-color-scheme: dark) {
    .quick-reservation {
        background: #2d2d2d;
    }
    
    .quick-reservation .sidebar-title {
        color: white;
    }
    
    .quick-reservation .agreement-section {
        background: #3d3d3d !important;
        border-color: #4d4d4d !important;
    }
    
    .quick-reservation .form-check-label {
        color: #e0e0e0;
    }
}