/* =========================================================
   오토살롱테크코리아 2026 — 사전등록 페이지
   ========================================================= */
:root {
    --navy-900: #07123f;
    --navy-800: #0b1b54;
    --navy-700: #142a7a;
    --navy: #1e3a8a;
    --accent: #2f5bea;
    --bg: #eef1f8;
    --card: #ffffff;
    --line: #e3e8f2;
    --text: #20263a;
    --muted: #6b7280;
    --danger: #e23b3b;
    --radius: 16px;
}

#wrap {
    background:
        radial-gradient(1200px 500px at 50% -10%, #dfe7fb 0%, rgba(223,231,251,0) 60%),
        var(--bg);
    min-height: 100vh;
    padding: 1px 0;
}

/* ---------- 카드(섹션) ---------- */
#wrap > .free-wrap > section {
    background-color: var(--card);
    width: 820px;
    max-width: calc(100% - 24px);
    height: auto;
    margin: 40px auto;
    box-shadow: 0 18px 50px rgba(16, 27, 79, 0.14);
    border-radius: 22px;
    padding: 2.4rem;
    position: relative;
    z-index: 1;
}

/* ---------- 헤더 ---------- */
.header {
    position: relative;
}

.header > .header-wrap {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.header-wrap > div {
    margin-bottom: 1.5rem;
}

.header-wrap > div > img {
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(16, 27, 79, 0.12);
}

/* ---------- 안내 박스 ---------- */
.header-wrap .notice {
    padding: 20px 22px;
    text-align: left;
    font-size: 14px;
    color: var(--text);
    background: #f6f8fe;
    border: 1px solid var(--line);
    border-left: 5px solid var(--navy);
    border-radius: 12px;
    line-height: 1.8;
}

.header-wrap .notice .notice-title {
    display: block;
    font-weight: 800;
    font-size: 15px;
    color: var(--navy-800);
    margin-bottom: 10px;
}

.header-wrap .notice ul {
    list-style: none;
    margin: 6px 0 12px;
    padding: 0;
}

.header-wrap .notice ul li {
    position: relative;
    padding: 7px 12px 7px 14px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13.5px;
}

.header-wrap .notice ul li b {
    color: var(--navy-700);
}

.header-wrap .notice ul li .price {
    float: right;
    font-weight: 800;
    color: var(--navy);
}

.header-wrap .notice .notice-caution {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- 카드 묶음 ---------- */
.card-wrap {
    margin-bottom: 34px;
}

.card-wrap > .card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy);
}

.card-wrap > .card-header i {
    color: var(--navy);
}

/* 사전등록 확인 버튼 */
.btn-check {
    margin-left: auto;
    background-color: var(--navy-800);
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s, transform .1s;
}

.btn-check:hover { background-color: var(--navy-700); }
.btn-check:active { transform: translateY(1px); }

/* ---------- 입력 테이블 ---------- */
.info-wrap {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 18px;
    background: #fcfdff;
}

.info-wrap > table {
    width: 100%;
}

.info-wrap > table > tbody > tr {
    border-bottom: 1px solid var(--line);
}

.info-wrap > table > tbody > tr:last-child {
    border-bottom: none;
}

.info-wrap > table > tbody > tr > td {
    padding: 14px 6px;
    text-align: left;
    vertical-align: middle;
}

.info-wrap > table > tbody > tr > td:first-child {
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
}

/* ---------- 약관 박스 ---------- */
.textarea-box {
    border: 1px solid var(--line);
    background: #fafbfe;
    padding: 14px 16px;
    overflow-y: auto;
    height: 130px;
    border-radius: 10px;
}

.textarea-box > p { font-size: 13px; }
.textarea-box > pre { font-size: 12px; color: #4b5167; }

.agree-chk {
    margin: 14px 2px 0;
}

.agree-chk > div:first-child { margin-bottom: 12px; }

.agree-chk > div > .agree-chk-label {
    font-size: 14px;
    vertical-align: middle;
}

/* ---------- 제출 버튼 ---------- */
.btn-div > button {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--navy-700), var(--navy));
    padding: 1.05rem 2.5rem;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 0 10px 24px rgba(20, 42, 122, 0.28);
    transition: transform .12s, box-shadow .2s, filter .2s;
}

.btn-div > button:hover { filter: brightness(1.06); box-shadow: 0 12px 28px rgba(20, 42, 122, 0.36); }
.btn-div > button:active { transform: translateY(1px); }

/* ---------- 푸터 ---------- */
.site-footer {
    text-align: center;
    margin: 6px auto 36px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
}

.site-footer a { color: var(--navy-700); }

/* ---------- 설문(예비) ---------- */
.survey-wrap { display: flex; flex-wrap: wrap; }
.survey-wrap > div { padding: 10px; }
.survey-div { margin-bottom: 10px; }
.survey-div > .survey-title { margin-top: 15px; }

.survey-title > h4 {
    background-color: var(--navy);
    color: #fff;
    border-radius: 20px;
    width: 15%;
    padding: 5px 10px;
    text-align: center;
}

.adress-btn {
    background-color: #000;
    height: 40px;
    padding: 0 10px;
    color: #fff;
}

/* ---------- 반응형 ---------- */
@media (max-width: 759px) {
    #wrap > .free-wrap > section { padding: 1.5rem 1.1rem; border-radius: 18px; margin: 18px auto; }
    .card-wrap > .card-header { font-size: 16px; flex-wrap: wrap; }
    .btn-check { margin-left: 0; }
    .survey-title > h4 { width: 100%; }
    .info-wrap { padding: 4px 12px; }
    .info-wrap > table > tbody > tr > td { padding: 10px 2px; }
    .header-wrap .notice ul li .price { float: none; display: inline-block; margin-left: 4px; }
}
