/* =========================
   INQUIRY FORM
========================= */

.inquiry-form {
    max-width: 100%;
    margin: 0 auto;
    background: #1f2024;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.article-content h2.inquiry-form__title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 28px;
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 10px;
}

/* =========================
   FORM GROUP
========================= */

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

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.form-label .num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ea541a;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.required {
    color: #ea541a;
    margin-left: 4px;
    background: none !important
}

/* =========================
   INPUT
========================= */

.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid #dbe0ea;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    background: #26272b;
    border-color: #26272b;
    color: #fff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ea541a;
}

.form-textarea {
    height: 120px;
    resize: none;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

/* =========================
   CHIP
========================= */

.chip-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.chip {
    border: 1px solid #dbe0ea;
    border-radius: 8px;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    color: #fff;
}

.chip input {
    display: none;
}

.chip:has(input:checked) {
    border-color: #ea541a;
    background: #eff6ff;
    color: #ea541a;
}

/* =========================
   INFO / CHECK
========================= */

.form-info {
    font-size: 16px;
    font-weight: bold;
    color: #ea541a;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-check label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #747474;
}

.form-check a {
    color: #ea541a;
    text-decoration: none;
}

/* =========================
   SUBMIT
========================= */

.form-submit {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #ea541a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================
   ETC INPUT
========================= */

.etc-input {
    display: none;
    margin-top: 12px;
}

.etc-input.is-open {
    display: block;
}

/* 2열 칩 */
.chip-group--2col {
    grid-template-columns: repeat(2, 1fr);
}

/* =========================
   EXTRA TOGGLE
========================= */

.extra-toggle {
    margin: 30px 0 10px;
}

.extra-toggle__btn {
    width: 100%;
    background: none;
    border: none;
    font-size: 15px;
    color: #fff;
    background: #585858;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 14px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.extra-toggle__btn:hover {
    background: #f06933;
    color: #fff;
}

.extra-toggle__arrow {
    margin-left: auto;
    transition: transform .25s ease;
}

.extra-content {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e3e3e3;
}

.extra-content.is-open {
    display: block;
}

.extra-content__title {
    font-size: 15px;
    font-weight: 600;
    color: #8d8d8d;
    margin-bottom: 25px;
}

/* =========================
   FILE UPLOAD
========================= */

.file-upload-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    background: #6b7280;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease;
}

.file-upload-btn:hover {
    background: #4b5563;
}

.file-upload-info {
    font-size: 13px;
    color: #747474;
}

/* =========================
   FILE LIST
========================= */

.file-list {
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.file-item__name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}

.file-item__remove {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
}

.file-item__remove:hover {
    color: #ea541a;
}

/* =========================
   Responsive
========================= */

@media(max-width: 500px) {
    .inquiry-form {
        padding: 24px 16px;
        border-radius: 10px;
    }

    .form-label {
        font-size: 15px;
    }

    .chip-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .chip-group--2col {
        grid-template-columns: repeat(2, 1fr);
    }

    .extra-toggle__btn {
        font-size: 13px;
        padding: 12px;
    }
}