@charset "utf-8";

/* 상담신청 폼 */
.consult_wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 15px;
    box-sizing: border-box;
}

.consult_container {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

/* 왼쪽 패널 */
.consult_side {
    flex: 0 0 280px;
    background: #2bc9b4;
    padding: 35px 28px;
    color: #fff;
}

.consult_side h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.consult_side > p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.5;
}

.consult_contact {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
}

.consult_contact_item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.consult_contact_item:last-child {
    margin-bottom: 0;
}

.consult_contact_item i {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 15px;
}

.consult_contact_item .info strong {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
    margin-bottom: 2px;
}

.consult_contact_item .info span {
    font-size: 15px;
    font-weight: 600;
}

/* 오른쪽 폼 */
.consult_form {
    flex: 1;
    padding: 35px 30px;
}

.consult_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
}

.consult_field {
    position: relative;
}

.consult_field.full {
    grid-column: span 2;
}

.consult_field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 7px;
}

.consult_field label .required_mark {
    color: #e85099;
    margin-left: 2px;
}

.consult_field input[type="text"],
.consult_field input[type="tel"],
.consult_field input[type="email"],
.consult_field select,
.consult_field textarea {
    width: 100%;
    padding: 13px 15px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #f5f6f8;
    border: 1px solid #eee;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.consult_field input:focus,
.consult_field select:focus,
.consult_field textarea:focus {
    outline: none;
    background: #fff;
    border-color: #2bc9b4;
}

.consult_field input::placeholder,
.consult_field textarea::placeholder {
    color: #aaa;
}

.consult_field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f5f6f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 15px center;
    cursor: pointer;
}

.consult_field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

/* 파일 드래그앤드롭 */
.consult_file .file_drop {
    position: relative;
    padding: 25px 15px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.consult_file .file_drop:hover,
.consult_file .file_drop.dragover {
    border-color: #2bc9b4;
    background: #f0faf8;
}

.consult_file .file_drop i {
    display: block;
    font-size: 28px;
    color: #2bc9b4;
    margin-bottom: 10px;
}

.consult_file .file_drop span {
    display: block;
    font-size: 13px;
    color: #888;
}

.consult_file .file_drop span b {
    color: #2bc9b4;
    font-weight: 500;
}

.consult_file .file_drop input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.consult_file .file_name {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

/* 체크박스 */
.consult_check {
    padding-top: 3px;
}

.consult_checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}

.consult_checkbox input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #2bc9b4;
}

/* 버튼 */
.consult_btn_wrap {
    margin-top: 22px;
}

.consult_btn {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #2bc9b4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.consult_btn:hover {
    background: #26b9a5;
}

.consult_btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 캡챠 */
.consult_captcha {
    padding: 10px 0;
}

.consult_captcha legend,
.consult_captcha label[for="captcha_key"] {
    display: none;
}

.consult_captcha span,
.consult_captcha input {
    color: #333 !important;
}

.consult_captcha img {
    vertical-align: middle;
    margin: 5px 0;
}

.consult_captcha input[type="text"] {
    width: auto;
    max-width: 150px;
    display: inline-block;
    padding: 10px 12px;
    font-size: 14px;
    background: #f5f6f8;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 10px;
}

/* 반응형 */
@media (max-width: 768px) {
    .consult_wrap {
        padding: 20px 0;
    }

    .consult_container {
        flex-direction: column;
        border-radius: 12px;
    }

    .consult_side {
        flex: none;
        padding: 25px 20px;
    }

    .consult_side h3 {
        font-size: 18px;
    }

    .consult_side > p {
        margin-bottom: 20px;
    }

    .consult_form {
        padding: 25px 20px;
    }

    .consult_inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .consult_field.full {
        grid-column: span 1;
    }

    .consult_field input,
    .consult_field select,
    .consult_field textarea {
        font-size: 16px;
    }
}
