/* 고객지원 페이지 전용 스타일 - 유틸리티 클래스 기반 */

/* 고객지원 히어로 섹션 */
.support-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.support-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
}

@media (min-width: 1024px) {
    .support-hero-content {
        flex-direction: row;
        gap: 120px;
        padding: 0 40px;
    }
}

.support-hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .support-hero-text {
        text-align: left;
    }
}

.support-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.support-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.support-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.support-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #05b981;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* 연락처 정보 섹션 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: #e2e8f0;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.contact-card p {
    font-size: 16px;
    font-weight: 600;
    color: #05b981;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.contact-time {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* FAQ 섹션 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid #000;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #e2e8f0;
}

.faq-item.active {
    border-color: #05b981;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
    flex: 1;
    text-align: left;
}

.faq-icon {
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #05b981;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8fafc;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-size: 15px;
}

/* 문의하기 섹션 */
.inquiry-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .inquiry-container {
        flex-direction: row;
        gap: 80px;
    }
}

.inquiry-form {
    flex: 2;
}

.inquiry-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #05b981;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #05b981;
    font-weight: bold;
}

.info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 8px 0;
    color: #374151;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.info-card li::before {
    content: '•';
    color: #05b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-card p {
    color: #374151;
    font-size: 14px;
    margin-bottom: 16px;
}

.emergency-contact {
    text-align: center;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.emergency-phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0d9700;
    margin-bottom: 4px;
}

.emergency-time {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* 고객지원 전용 반응형 조정 */
@media (max-width: 767px) {
    .support-hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .support-hero-content {
        min-height: calc(100vh - 160px);
    }

    .support-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .contact-grid {
        gap: 20px;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .inquiry-container {
        gap: 40px;
    }

    .form-group {
        margin-bottom: 20px;
    }
}

/* 폼 에러 메시지 스타일 */
.form-error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

/* 필수 선택 영역 */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {}

/* 선택 영역 */
.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {}

/* 알림 메시지 스타일 */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.alert-warning {
    background-color: #fffbeb;
    border: 1px solid #f59e0b;
    color: #92400e;
}

.alert-info {
    background-color: #eff6ff;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

/* 제출 버튼 로딩 상태 */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}