@charset "utf-8";

/* ========================== 상담 신청 페이지 ========================== */
.apply_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 페이지 헤더 */
.apply_header {
    text-align: center;
    padding: 60px 20px;
}

.header_badge {
    display: inline-block;
    padding: 10px 24px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.header_title {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.header_desc {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

/* 메인 컨텐츠 */
.apply_content {
    display: flex;
    gap: 50px;
    padding-bottom: 80px;
}

/* 신청 폼 섹션 */
.apply_form_section {
    flex: 1;
    min-width: 0;
}

.apply_form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* 폼 그룹 */
.form_group {
    margin-bottom: 28px;
}

.form_group:last-of-type {
    margin-bottom: 35px;
}

.form_group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.form_group label i,
.form_group label svg {
    width: 18px;
    height: 18px;
    color: #0f9b8e;
    stroke: #0f9b8e;
}

.form_group label em {
    color: #e74c3c;
    font-style: normal;
    font-size: 14px;
}

/* 입력 필드 */
.form_group input[type="text"],
.form_group input[type="tel"],
.form_group input[type="email"],
.form_group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    color: #333;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.form_group input::placeholder,
.form_group textarea::placeholder {
    color: #aaa;
}

.form_group input:focus,
.form_group textarea:focus {
    background: #fff;
    border-color: #0f9b8e;
    box-shadow: 0 0 0 4px rgba(15, 155, 142, 0.1);
}

.form_group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* 라디오 버튼 그룹 */
.form_radio_group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio_label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio_label:hover {
    background: #f0f2f5;
}

.radio_label input[type="radio"] {
    display: none;
}

.radio_custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio_custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: #0f9b8e;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.radio_label input:checked + .radio_custom {
    border-color: #0f9b8e;
}

.radio_label input:checked + .radio_custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio_label input:checked ~ .radio_text {
    color: #0f9b8e;
    font-weight: 600;
}

.radio_text {
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

/* 체크박스 */
.form_agree {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.checkbox_label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.checkbox_label input[type="checkbox"] {
    display: none;
}

.checkbox_custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox_custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 14px;
    color: #fff;
    transition: transform 0.2s ease;
}

.checkbox_label input:checked + .checkbox_custom {
    background: #0f9b8e;
    border-color: #0f9b8e;
}

.checkbox_label input:checked + .checkbox_custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox_text {
    font-size: 14px;
    color: #555;
}

.checkbox_text em {
    color: #e74c3c;
    font-style: normal;
}

.privacy_btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.privacy_btn:hover {
    color: #0f9b8e;
}

.privacy_btn i,
.privacy_btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.privacy_btn.active i,
.privacy_btn.active svg {
    transform: rotate(180deg);
}

.privacy_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.privacy_content.active {
    max-height: 200px;
    padding-top: 15px;
}

.privacy_content p {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    margin: 0;
}

/* 제출 버튼 */
.submit_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #0f9b8e 0%, #0d8377 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(15, 155, 142, 0.3);
}

.submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(15, 155, 142, 0.4);
}

.submit_btn i,
.submit_btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit_btn:hover i,
.submit_btn:hover svg {
    transform: translateX(4px);
}

/* 정보 섹션 */
.apply_info_section {
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 정보 카드 */
.info_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.info_card.main_card {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f9b8e 100%);
    border: none;
    color: #fff;
}

.info_card_header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info_card_icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info_card_icon i,
.info_card_icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke: #fff;
}

.info_card_header h3 {
    font-size: 20px;
    font-weight: 700;
}

.info_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info_list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info_list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info_list li i,
.info_list li svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.8);
    stroke: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    margin-top: 2px;
}

.info_list li span {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.info_list li strong {
    color: #fff;
    font-weight: 600;
}

/* 연락처 카드 */
.contact_card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.contact_item:last-child {
    padding-bottom: 0;
}

.contact_item i,
.contact_item svg {
    width: 20px;
    height: 20px;
    color: #0f9b8e;
    stroke: #0f9b8e;
}

.contact_label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 3px;
}

.contact_item strong {
    font-size: 15px;
    color: #333;
}

/* 커리큘럼 링크 카드 */
.curriculum_link_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.curriculum_link_card:hover {
    background: #fff;
    border-color: #0f9b8e;
    transform: translateX(5px);
}

.link_card_content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link_card_content i,
.link_card_content svg {
    width: 22px;
    height: 22px;
    color: #0f9b8e;
    stroke: #0f9b8e;
}

.link_card_content span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.link_arrow {
    width: 20px;
    height: 20px;
    color: #0f9b8e;
    stroke: #0f9b8e;
    transition: transform 0.3s ease;
}

.curriculum_link_card:hover .link_arrow {
    transform: translateX(5px);
}

/* ========================== 반응형 ========================== */
@media (max-width: 1024px) {
    .apply_content {
        flex-direction: column;
        gap: 40px;
    }

    .apply_info_section {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info_card {
        flex: 1;
        min-width: 280px;
    }

    .curriculum_link_card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .apply_header {
        padding: 40px 15px;
    }

    .header_title {
        font-size: 32px;
    }

    .header_desc {
        font-size: 15px;
    }

    .header_desc br {
        display: none;
    }

    .apply_form {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .form_group {
        margin-bottom: 22px;
    }

    .form_group label {
        font-size: 14px;
    }

    .form_group input[type="text"],
    .form_group input[type="tel"],
    .form_group input[type="email"],
    .form_group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .form_radio_group {
        gap: 10px;
    }

    .radio_label {
        padding: 10px 14px;
    }

    .radio_text {
        font-size: 13px;
    }

    .submit_btn {
        padding: 16px 25px;
        font-size: 16px;
    }

    .apply_info_section {
        flex-direction: column;
    }

    .info_card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .apply_wrap {
        padding: 0 15px;
    }

    .apply_header {
        padding: 30px 10px;
    }

    .header_badge {
        font-size: 11px;
        padding: 8px 18px;
    }

    .header_title {
        font-size: 26px;
    }

    .header_desc {
        font-size: 14px;
    }

    .apply_form {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .form_group {
        margin-bottom: 20px;
    }

    .form_group label {
        font-size: 13px;
        gap: 6px;
    }

    .form_group label i,
    .form_group label svg {
        width: 16px;
        height: 16px;
    }

    .form_group input[type="text"],
    .form_group input[type="tel"],
    .form_group input[type="email"],
    .form_group textarea {
        padding: 13px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .form_radio_group {
        gap: 8px;
    }

    .radio_label {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .radio_custom {
        width: 18px;
        height: 18px;
    }

    .radio_custom::after {
        width: 8px;
        height: 8px;
    }

    .radio_text {
        font-size: 12px;
    }

    .form_agree {
        padding: 15px;
    }

    .checkbox_custom {
        width: 20px;
        height: 20px;
    }

    .checkbox_text {
        font-size: 13px;
    }

    .submit_btn {
        padding: 15px 20px;
        font-size: 15px;
        border-radius: 12px;
    }

    .info_card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .info_card_header {
        gap: 12px;
        margin-bottom: 20px;
    }

    .info_card_icon {
        width: 44px;
        height: 44px;
    }

    .info_card_header h3 {
        font-size: 18px;
    }

    .info_list li {
        padding: 10px 0;
    }

    .info_list li span {
        font-size: 13px;
    }

    .contact_card h4 {
        font-size: 15px;
    }

    .contact_item strong {
        font-size: 14px;
    }

    .curriculum_link_card {
        padding: 16px 20px;
    }

    .link_card_content span {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .header_title {
        font-size: 24px;
    }

    .apply_form {
        padding: 20px 15px;
    }

    .radio_label {
        width: 100%;
    }
}
