/* ===================================
   웨딩 테마 컴포넌트 CSS
   wedding-components.css
   
   모달, 버튼, 카드 등 재사용 컴포넌트
   =================================== */

/* ===================================
   1. 모달 컴포넌트
   =================================== */

/* 사전예약 모달 */
.pre-registration-modal .modal-dialog {
    max-width: 500px;
}

.pre-registration-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.pre-registration-modal .modal-header {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.pre-registration-modal .modal-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
}

.pre-registration-modal .btn-close {
    color: white;
    opacity: 0.8;
}

.pre-registration-modal .btn-close:hover {
    opacity: 1;
}

.pre-registration-modal .modal-body {
    padding: 2rem;
}

.pre-registration-modal .form-floating {
    margin-bottom: 1rem;
}

.pre-registration-modal .form-control,
.pre-registration-modal .form-select {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pre-registration-modal .form-control:focus,
.pre-registration-modal .form-select:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 0.2rem rgba(232, 180, 184, 0.25);
}

/* 상담 모달 */
.consult-modal .modal-dialog {
    max-width: 600px;
}

.consult-modal .modal-content {
    border-radius: 12px;
}

.consult-modal .modal-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--rose-gold);
}

/* ===================================
   2. 빠른 예약 사이드바
   =================================== */

.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-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 .privacy-link,
.quick-reservation .third-party-link {
    color: #6c757d;
    text-decoration: underline;
    font-weight: 500;
}

.quick-reservation .privacy-link:hover,
.quick-reservation .third-party-link:hover {
    color: var(--rose-gold);
}

/* 제출 버튼 */
.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);
}

/* ===================================
   3. 오늘의 박람회
   =================================== */

.today-events {
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.today-events .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);
}

.no-event-message {
    text-align: center;
    padding: 2rem 1rem;
}

.no-event-message i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-event-message p {
    color: var(--text-light);
    margin: 0.5rem 0;
}

/* ===================================
   4. 인기 신혼여행지
   =================================== */

.popular-destinations {
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.popular-destinations .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);
}

.destination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.destination-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.destination-tag:hover {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   5. 빠른 링크
   =================================== */

.quick-links {
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.quick-links .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);
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background: linear-gradient(90deg, rgba(232, 180, 184, 0.1) 0%, rgba(232, 180, 184, 0.05) 100%);
    transform: translateX(5px);
}

.quick-link-item i {
    font-size: 1.125rem;
    color: var(--rose-gold);
    margin-right: 0.75rem;
}

/* ===================================
   6. 버튼 스타일
   =================================== */

.btn-wedding {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-wedding:hover {
    background: linear-gradient(135deg, var(--rose-gold-dark) 0%, #c08084 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 180, 184, 0.4);
}

.btn-wedding-outline {
    background: transparent;
    color: var(--rose-gold);
    border: 2px solid var(--rose-gold);
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-wedding-outline:hover {
    background: var(--rose-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 180, 184, 0.4);
}

/* ===================================
   7. 카드 컴포넌트
   =================================== */

.wedding-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.wedding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.wedding-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wedding-card-body {
    padding: 1.5rem;
}

.wedding-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.wedding-card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.wedding-card-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

/* ===================================
   8. 뱃지 & 라벨
   =================================== */

.badge-wedding {
    background: var(--rose-gold);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-new {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.label-hot {
    background: linear-gradient(135deg, #ff4757 0%, #c44569 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===================================
   9. 툴팁
   =================================== */

.tooltip-wedding {
    position: relative;
    cursor: help;
}

.tooltip-wedding::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-wedding::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-wedding:hover::after,
.tooltip-wedding:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   10. 알림 & 토스트
   =================================== */

.alert-wedding {
    background: linear-gradient(90deg, rgba(232, 180, 184, 0.1) 0%, rgba(232, 180, 184, 0.05) 100%);
    border: 1px solid var(--rose-gold);
    border-left: 4px solid var(--rose-gold);
    color: var(--text-dark);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-wedding .alert-icon {
    color: var(--rose-gold);
    margin-right: 0.75rem;
}

.toast-wedding {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-wedding-icon {
    width: 40px;
    height: 40px;
    background: var(--rose-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}