* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 헤더 */
.header {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #333;
}

.header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 네비게이션 탭 */
.nav-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.nav-tab {
    flex: 1;
    padding: 16px 20px;
    background: #f8f9fa;
    border: none;
    border-right: 1px solid #e0e0e0;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.nav-tab:last-child {
    border-right: none;
}

.nav-tab.active {
    background: white;
    color: #333;
    font-weight: bold;
    border-bottom: 3px solid #007bff;
}

.nav-tab:hover:not(.active) {
    background: #e9ecef;
}

/* 메인 컨텐츠 */
.main-content {
    padding: 40px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 서비스 정보 */
.service-info {
    margin-bottom: 40px;
}

.service-description {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.features-left,
.features-right {
    flex: 1;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.service-features li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.operation-hours {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

/* 동의 섹션 */
.agreement-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    background-color: #fafafa;
}

.agreement-notice {
    margin-bottom: 20px;
}

.agreement-notice p {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.agreement-checkbox {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.agreement-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.agreement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

/* 상담/신고 폼 */
.consultation-form {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    background-color: white;
}

.consultation-form h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-group label.required:after {
    content: ' *';
    color: #dc3545;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* 비활성화된 필드 스타일 */
.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #e9ecef;
}

.form-group input:disabled::placeholder {
    color: #adb5bd;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 익명 체크박스 스타일 */
.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-weight: normal;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.form-group label:has(input[type="checkbox"]) input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

/* 이메일 필드 특별 스타일 */
.form-group:has(input[type="email"]) {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.form-group:has(input[type="email"]) input[type="email"] {
    flex: 2;
}

.form-group:has(input[type="email"]) select {
    flex: 1;
}

/* 파일 업로드 */
.form-group:has(input[type="file"]) {
    position: relative;
}

.file-select-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.file-select-btn:hover {
    background: #5a6268;
}

.file-info {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.input-info {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* 개인정보 섹션 */
.privacy-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.privacy-section h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.privacy-content {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
}

.privacy-content p {
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.privacy-items p {
    margin-bottom: 8px;
}

.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
    color: #856404;
}

.privacy-checkbox {
    padding: 15px 0;
}

.privacy-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.privacy-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

/* 제출 섹션 */
.submit-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.submit-btn {
    background: #0095ff;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #218838;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .service-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .agreement-section,
    .consultation-form {
        padding: 20px;
    }
    
    .nav-tab {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .form-group:has(input[type="email"]) {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group:has(input[type="email"]) input[type="email"],
    .form-group:has(input[type="email"]) select {
        flex: none;
        margin-bottom: 10px;
    }
}

/* 추가 유틸리티 클래스 */
.text-center {
    text-align: center;
}

.text-danger {
    color: #dc3545;
}

.text-success {
    color: #28a745;
}

.text-muted {
    color: #6c757d;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.p-3 {
    padding: 1rem;
}

/* 상담자보호 프로그램 스타일 */
.protection-info {
    margin-bottom: 40px;
}

.protection-description {
    text-align: center;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    padding: 20px 0;
}

.protection-sections {
    max-width: 800px;
    margin: 0 auto;
}

.protection-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.protection-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Bootstrap Icons 스타일 */
.protection-icon-blue {
    font-size: 2.5rem;
    color: white;
    background: none;
}

.protection-content {
    flex: 1;
}

.protection-content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.protection-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-content li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.protection-content li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* 반응형 디자인 - 상담자보호 */
@media (max-width: 768px) {
    .protection-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .protection-icon {
        margin: 0 auto 20px auto;
    }
    
    .protection-content {
        text-align: left;
    }
    
    .protection-description {
        font-size: 14px;
        padding: 15px 0;
    }
}

/* 처리결과 확인 탭 스타일 */
.result-info {
    text-align: center;
    margin-bottom: 40px;
}

.result-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.result-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.result-form {
    max-width: 500px;
    margin: 0 auto 40px auto;
    padding: 30px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.result-form h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.form-actions {
    text-align: center;
    margin-top: 25px;
}

.check-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.check-btn:hover {
    background: #0056b3;
}

.result-notice {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.result-notice h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.result-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-notice li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.result-notice li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
} 