/* Education Page Specific Styles */

/* 교육개요 섹션 스타일 */
.education-overview {
    padding: 40px 0 0 0;
    background-color: #fff;
}

.education-overview .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.education-overview h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #4a90a4;
}

.education-label {
    display: inline-block;
    background-color: #4a90a4;
    color: white;
    padding: 8px 20px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 0;
}

.education-content {
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    margin-left: 0;
}

.education-content .highlight {
    color: #4a90a4;
    font-weight: 600;
}

.education-content .note {
    font-size: 18px;
    color: #0033CC;
    font-weight: 600;
    margin-top: 5px;
    margin-left: 14px;
}

/* 신청안내, 지원사항 섹션 스타일 */
.education-section {
    padding: 40px 0 0 0;
}

.education-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.education-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #4a90a4;
}

/* 프로그램 섹션 특별 스타일 */
.education-program {
    padding: 40px 0 0 0;
    background-color: #fff;
}

.education-program .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.education-program h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #4a90a4;
}

.program-header {
    margin: 10px 0 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
}

.program-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.program-type {
    background-color: #e2e8f0;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    min-width: 80px;
    text-align: center;
}

.program-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.program-table {
    margin-top: 20px;
    overflow-x: auto;
}

.program-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.program-table th {
    background-color: #7caab7;
    color: white;
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

.program-table td {
    padding: 15px 12px;
    border: 1px solid #ddd;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.6;
    background-color: white;
}

.program-table .day-column {
    background-color: #f8f9fa;
    text-align: center;
    font-weight: 600;
    width: 220px;
    min-width: 200px;
    font-size: 18px;
    vertical-align: middle;
}
.program-table .txt-center {
    text-align: center;
    vertical-align: middle;
}
.program-table td:nth-child(3) {
    padding-left: 18px;
    background-color: #fff;
}

.program-table td strong {
    color: #1f2937;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

/* 교육신청 섹션 */
.education-apply {
    padding: 40px 0 0 0;

}

.education-apply .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.education-apply h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #4a90a4;
}

.apply-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    position: relative;
}

.apply-info h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #4a90a4;
    border-radius: 50%;
}

.apply-info p {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    margin-left: 20px;
}

.apply-info a {
    color: #4a90a4;
    text-decoration: none;
}

.apply-info a:hover {
    text-decoration: underline;
}

/* 교육신청 폼 스타일 */
.registration-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

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

.form-group label.required::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #4a90a4;
    box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.1);
}

.form-control.error {
    border-color: #e74c3c;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-container {
    margin: 30px 0;
    text-align: center;
}

.btn-primary {
    background-color: #4a90a4;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 200px;
}

.btn-primary:hover {
    background-color: #3a7a8a;
}

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

/* 로딩 스피너 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 성공/에러 메시지 */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 16px;
    display: none;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .education-content .note {font-size: 14px;}
    .education-overview h2,
    .education-section h2,
    .education-program h2,
    .education-apply h2 {
        font-size: 24px;
        padding-left: 12px;
    }
    
    .education-label {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    .education-content {
        font-size: 16px;
    }
    
    .program-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .program-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .program-type {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .program-title {
        font-size: 16px;
    }
    
    .program-table {
        font-size: 12px;
    }
    
    .program-table th,
    .program-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .program-table .day-column {
        width: 150px;
        min-width: 130px;
        font-size: 11px;
    }
    
    .program-table td:nth-child(2) {
        width: 100px;
        min-width: 90px;
        font-size: 11px;
    }
    
    .program-table td strong {
        font-size: 13px;
    }
    
    .apply-info h3 {
        font-size: 20px;
    }
    
    .apply-info p {
        font-size: 16px;
    }
    
    /* 모바일 폼 스타일 */
    .registration-form {
        padding: 20px;
        margin-top: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-control {
        font-size: 16px; /* iOS 줌 방지 */
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 15px 20px;
    }
} 