/* Consultation Modal */
.consult-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    font-family: 'Pretendard', 'Nanum Gothic', sans-serif;
}
.consult-modal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 40px 0;
}
.consult-modal-content {
    width: 896px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Header */
.consult-modal-header {
    height: 64px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}
.consult-modal-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
}
.consult-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    padding: 0;
    line-height: 1;
}

/* Body */
.consult-modal-body {
    padding: 32px 54px;
    display: flex;
    flex-direction: column;
    gap: 37px;
}

/* Process Banner */
.consult-process-banner {
    background-color: rgba(249, 250, 251, 0.5);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.process-text {
    font-size: 14px;
    color: #364153;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    word-break: keep-all;
}
.process-text::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #6531ff, #008bff);
    margin-right: 8px;
    flex-shrink: 0;
}
.process-text .highlight {
    color: #6531ff;
}
.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
}
.step.active .step-icon {
    background: linear-gradient(to bottom, #6531ff, #008bff);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1), 0px 1px 2px 0px rgba(0,0,0,0.1);
}
.step-icon img {
    width: 28px;
    height: 28px;
}
.step.active .step-icon img {
    filter: brightness(0) invert(1);
}
.step span {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
}
.step-line {
    height: 2px;
    background-color: #e5e7eb;
    flex: 1;
}

/* Program Info */
.consult-program-info {
    background-color: #f9fafb;
    border-radius: 10px;
    padding: 16px;
    font-size: 20px;
    font-weight: 700;
}

/* Form Section */
.consult-form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.consult-form-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
}
.form-group label .required {
    color: #6531ff;
    font-size: 12px;
    margin-left: 4px;
}
.form-input, .form-textarea {
    width: 100%;
    border: 1px solid #d1d5dc;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    color: #0a0a0a;
    box-sizing: border-box;
    font-family: inherit;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(10, 10, 10, 0.5);
}
.form-textarea {
    height: 217px;
    resize: none;
}

.btn-submit-consult {
    background-color: #6531ff;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.1), 0px 4px 6px 0px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}
.btn-submit-consult:hover {
    background-color: #5225d3;
}

/* Responsive */
@media (max-width: 768px) {
    .consult-modal-content {
        width: 95%;
        border-radius: 16px;
    }
    .consult-modal-header h2 {
        font-size: 22px;
    }
    .consult-modal-body {
        padding: 24px 20px;
        gap: 24px;
    }
    .consult-process-banner {
        padding: 20px;
        gap: 16px;
    }
    .process-text {
        font-size: 13px;
        line-height: 1.4;
    }
    .step-icon {
        width: 48px;
        height: 48px;
    }
    .step-icon img {
        width: 20px;
        height: 20px;
    }
    .step span {
        font-size: 11px;
    }
    .consult-program-info {
        font-size: 16px;
    }
    .form-textarea {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .process-text {
        display: block; /* 줄바꿈 허용 */
        text-align: center;
    }
    .process-text::before {
        display: none; /* 모바일에서는 점 제거 */
    }
    .process-text .highlight-wrap {
        display: block; /* "10분 내로 연락드려요"를 한 묶음으로 줄바꿈 */
    }
}
