/* ===== Question Page ===== */
.form-section {
    padding: 50px 0px 100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 타이틀 */
.section-dot-title h1 {
    font-size: 36px;
    font-weight: 600;
    color: #1e1e1e;
    letter-spacing: -0.72px;
}

.dot-accent {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #5ddfde;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: bottom;
    margin-bottom: 6px;
}

/* 폼 */
.form-wrap {
    border-top: 2px solid #111;
}

/* 폼 행 */
.form-row {
    display: flex;
    align-items: flex-start;
    padding: 24px 40px;
    border-bottom: 1px solid #f3f3f3;
}

.form-row-last {
    border-bottom: none;
}

.form-label {
    width: 240px;
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 600;
    color: #1e1e1e;
    letter-spacing: -0.44px;
}

.required {
    color: #ec1b23;
    font-weight: 600;
}

.form-field {
    width: 700px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field-full {
    flex: 1;
    width: auto;
}

/* 인풋 */
.form-input {
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 500;
    font-family: inherit;
    color: #333;
    letter-spacing: -0.36px;
    outline: none;
    transition: border-color 0.15s;
}

.form-input:focus {
    border-color: #00b2b0;
}

.form-input::placeholder {
    color: #9d9d9d;
}

.form-input:disabled {
    background: #F2F2F2;
    border-color: #CCCCCC;
}

/* 텍스트영역 */
.textarea-wrap {
    position: relative;
}

.form-textarea {
    width: 100%;
    height: 410px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    font-size: 18px;
    font-weight: 500;
    font-family: inherit;
    color: #333;
    letter-spacing: -0.36px;
    outline: none;
    resize: none;
    transition: border-color 0.15s;
}

.form-textarea:focus {
    border-color: #00b2b0;
}

.form-textarea::placeholder {
    color: #9d9d9d;
}

.char-count {
    position: absolute;
    right: 16px;
    bottom: 16px;
    font-size: 18px;
    font-weight: 500;
    color: #9d9d9d;
}

/* 파일 업로드 */
.file-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.file-input-wrap .form-input {
    flex: 1;
}

.file-hidden {
    display: none;
}

.btn-file {
    height: 60px;
    padding: 0 24px;
    background: #6e6e6e;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.4px;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.15s;
}

.btn-file:hover {
    background: #111;
}

.file-help {
    font-size: 14px;
    font-weight: 400;
    color: #c04040;
    line-height: 1.4;
}

/* 동의 영역 */
.form-agree {
    padding: 30px 40px 30px 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agree-row {
    display: flex;
    gap: 28px;
    align-items: center;
    min-height: 26px;
}

.agree-check {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.agree-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.agree-check input[type="checkbox"]:checked+.checkmark {
    background: #EC1B23;
    border-color: #EC1B23;
}

.agree-check input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -3px;
}

.agree-text {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    letter-spacing: -0.32px;
    white-space: nowrap;
}

.agree-text .mo_view {
    display: none;
}

.btn-term {
    height: 26px;
    padding: 0 24px;
    background: #6e6e6e;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.28px;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    transition: background 0.15s;
}

.btn-term:hover {
    background: #111;
}

/* 전송 버튼 */
.form-submit {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}


/* ===== 모바일 ===== */
@media (max-width: 768px) {
    .form-section {
        padding: 45px 0px 60px;
        gap: 30px;
    }

    .section-dot-title h1 {
        font-size: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
        padding: 20px 10px;
    }

    .form-label {
        width: 100%;
        padding-top: 0;
        font-size: 17px;
    }

    .form-field,
    .form-field-full {
        width: 100%;
    }

    .form-input {
        height: 50px;
        font-size: 15px;
    }

    .form-textarea {
        height: 250px;
        font-size: 15px;
    }

    .char-count {
        font-size: 14px;
    }

    .btn-file {
        height: 50px;
        font-size: 15px;
        padding: 0 16px;
    }

    .file-help {
        font-size: 12px;
    }

    .file-help .br_mo {
        display: block;
        padding-left: 9px;
    }

    .form-agree {
        padding: 20px 10px;
        gap: 25px;
    }

    .agree-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .agree-row .indent_mo {
        margin-left: 30px;
    }

    .agree-text .mo_view {
        display: inline;
    }

    .form-submit {
        padding-top: 20px;
    }

}