/* 소개팅 일정 페이지 스타일 */

.schedule-section {
    padding: 100px 0 80px;
    background-color: var(--gray-50);
    min-height: calc(100vh - 70px);
}

/* 사용자 성향 정보 */
.user-type-info {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.user-type-info h1 {
    font-size: 24px;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 500;
}

.type-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

#user-type-icon {
    font-size: 60px;
}

#user-type-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
}

.orientation-info {
    font-size: 20px;
    color: var(--gray-600);
    padding: 15px 30px;
    background-color: var(--gray-100);
    border-radius: 30px;
    display: inline-block;
}

.orientation-info.progressive {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

.orientation-info.conservative {
    background-color: rgba(255, 111, 97, 0.1);
    color: var(--coral);
}

.gender-info {
    font-weight: 600;
    color: var(--gray-800);
}

/* 일정 콘텐츠 */
.schedule-content {
    margin-bottom: 40px;
}

.schedule-content > h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gray-900);
}

/* 소개팅 섹션 */
.meetings-section {
    margin-bottom: 60px;
}

.meetings-section.hidden {
    display: none;
}

.orientation-label {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    padding: 15px 30px;
    border-radius: 12px;
    display: inline-block;
}

.orientation-label.progressive {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.orientation-label.conservative {
    background-color: rgba(255, 111, 97, 0.1);
    color: var(--coral);
}

/* 소개팅 그리드 */
.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* 소개팅 카드 */
.meeting-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.meeting-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.meeting-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.meeting-date {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.conservative .meeting-date {
    background-color: var(--coral);
}

.meeting-date .day {
    font-size: 36px;
    font-weight: 800;
    display: block;
}

.meeting-date .month {
    font-size: 18px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.meeting-date .weekday {
    font-size: 16px;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

.meeting-info {
    padding: 25px;
    flex: 1;
}

.meeting-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.meeting-info p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.participants {
    color: var(--gray-600);
    font-weight: 500;
    display: flex;
    gap: 15px;
}

.male-count, .female-count {
    font-size: 15px;
}

.male-count {
    color: var(--primary-blue);
}

.female-count {
    color: var(--coral);
}

.my-gender {
    font-weight: 700;
    background-color: rgba(255, 199, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.my-gender.full {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* 성향 태그 */
.type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.type-tag {
    padding: 5px 12px;
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.type-tag.matched {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 600;
}

/* 신청 버튼 */
.meeting-actions {
    padding: 0 25px 25px;
}

.apply-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--coral);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: var(--orange);
    transform: translateY(-2px);
}

.apply-btn.applied {
    background-color: var(--gray-400);
    cursor: not-allowed;
}

.apply-btn.applied::after {
    content: " ";
}

.apply-btn.waiting {
    background-color: #F59E0B;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.apply-btn.waiting:hover {
    background-color: #D97706;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.apply-btn.notify-btn {
    background-color: var(--gray-600);
}

.apply-btn.notify-btn:hover {
    background-color: var(--gray-700);
}

.apply-btn.confirmed {
    background-color: var(--primary-blue);
    cursor: default;
}

.apply-btn.confirmed:hover {
    background-color: var(--primary-blue);
    transform: none;
}

.apply-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.apply-btn.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.apply-btn.disabled:hover {
    background-color: #cccccc;
    transform: none;
}

/* 안내사항 박스 */
.notice-box {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.notice-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.notice-box ul {
    list-style: none;
}

.notice-box li {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.notice-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-size: 20px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .schedule-section {
        padding: 80px 0 60px;
    }

    .user-type-info {
        padding: 30px 20px;
    }

    #user-type-icon {
        font-size: 48px;
    }

    #user-type-title {
        font-size: 28px;
    }

    .type-display {
        flex-direction: column;
        gap: 10px;
    }

    .meetings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .meeting-card {
        max-width: 100%;
    }

    .notice-box {
        padding: 30px 20px;
    }

    .orientation-label {
        font-size: 20px;
        padding: 12px 24px;
    }
}


/* 알림 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.modal-content > p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--gray-700);
}

#alarmForm .form-group {
    margin-bottom: 20px;
}

#alarmForm label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

#alarmForm input,
#alarmForm select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#alarmForm input:focus,
#alarmForm select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

#alarmForm .submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--coral);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#alarmForm .submit-btn:hover {
    background-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 결제 정보 모달 스타일 */
.payment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.payment-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    font-size: 18px;
    color: #4F46E5;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E5E7EB;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-weight: 600;
}

.info-value.highlight {
    color: #4F46E5;
    font-size: 16px;
}

.payment-info-box {
    background: #F3F4F6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.payment-notice {
    color: #EF4444;
    font-size: 14px;
    margin: 10px 0;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-secondary, .btn-primary {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary {
    background: #E5E7EB;
    color: #333;
}

.btn-secondary:hover {
    background: #D1D5DB;
}

.btn-primary {
    background: #4F46E5;
    color: white;
}

.btn-primary:hover {
    background: #4338CA;
}