/* 首页样式（深色金融风，移动端优先） */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; padding: 0; }

body {
    background: #04120f;
    color: #eafff7;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, form { margin: 0; }
a { color: #2fe0a0; text-decoration: none; }

/* ---------- 容器 ---------- */

.page {
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 22px 14px 34px;
    background:
        radial-gradient(120% 55% at 50% 0%, rgba(47, 224, 160, .18), rgba(4, 18, 15, 0) 70%),
        linear-gradient(180deg, #062019, #04120f 62%, #03100d);
}

.panel {
    border: 1px solid rgba(64, 214, 176, .18);
    border-radius: 22px;
    padding: 26px 18px 24px;
    background: linear-gradient(180deg, rgba(20, 68, 56, .34), rgba(8, 32, 27, .5));
    box-shadow: 0 22px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* ---------- 品牌区 ---------- */

.logo {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 34px rgba(47, 224, 160, .45);
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #2fe0a0;
    text-shadow: 0 0 22px rgba(47, 224, 160, .35);
}

.slogan {
    text-align: center;
    font-size: 13px;
    color: #ffce6a;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 6px;
    text-shadow: 0 0 16px rgba(255, 206, 106, .3);
}

.headline { text-align: center; margin: 24px 0 20px; }

.headline h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(92deg, #eafff7 8%, #59f0bf 55%, #35d6e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #eafff7;
}

.headline .subline {
    font-size: 12px;
    color: #57d2ff;
    letter-spacing: 1px;
    margin-top: 8px;
    text-shadow: 0 0 14px rgba(87, 210, 255, .28);
}

.alert {
    background: rgba(255, 107, 107, .12);
    border: 1px solid rgba(255, 107, 107, .3);
    color: #ffb4b4;
    font-size: 12px;
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 14px;
}

/* ---------- 表单 ---------- */

.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-size: 13px;
    color: #bfe9dd;
    margin-bottom: 8px;
    letter-spacing: .5px;
}

.wrap { position: relative; display: flex; align-items: center; }

.ico {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    /* 图标是装饰层：不能吃掉点击，否则压在输入框/下拉框上会变成点不动的死区 */
    pointer-events: none;
}

.ico-name {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234aa3ff'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.4 0-8 2.4-8 5.4V21h16v-1.6c0-3-3.6-5.4-8-5.4Z'/%3E%3C/svg%3E");
}

.ico-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.6' fill='%230b2a24' stroke='%235ec8ac' stroke-width='1.2'/%3E%3Cg fill='%23ff9f43'%3E%3Ccircle cx='9.4' cy='6.4' r='1.1'/%3E%3Ccircle cx='12' cy='6.4' r='1.1'/%3E%3Ccircle cx='14.6' cy='6.4' r='1.1'/%3E%3Ccircle cx='9.4' cy='9.6' r='1.1'/%3E%3Ccircle cx='12' cy='9.6' r='1.1'/%3E%3Ccircle cx='14.6' cy='9.6' r='1.1'/%3E%3C/g%3E%3Cg fill='%234ad295'%3E%3Ccircle cx='9.4' cy='12.8' r='1.1'/%3E%3Ccircle cx='12' cy='12.8' r='1.1'/%3E%3Ccircle cx='14.6' cy='12.8' r='1.1'/%3E%3C/g%3E%3Ccircle cx='12' cy='18.4' r='1.6' fill='%23cfe9e0'/%3E%3C/svg%3E");
}

.ico-money {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='6' width='20' height='12' rx='2' fill='%232fae74' stroke='%230d3b28'/%3E%3Ccircle cx='12' cy='12' r='3.4' fill='%23e8fff3'/%3E%3Ctext x='12' y='13.8' font-size='5.4' text-anchor='middle' fill='%232fae74' font-family='Arial'%3E$%3C/text%3E%3C/svg%3E");
}

.ico-doc {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='18' rx='2' fill='%23f3e6c8' stroke='%23b79a5e'/%3E%3Crect x='8' y='1.6' width='8' height='3' rx='1.2' fill='%23a8863f'/%3E%3Cg stroke='%23a98f5c' stroke-width='1.3'%3E%3Cpath d='M7.4 9h9'/%3E%3Cpath d='M7.4 12.4h9'/%3E%3Cpath d='M7.4 15.8h6'/%3E%3C/g%3E%3C/svg%3E");
}

.wrap input,
.wrap select {
    width: 100%;
    height: 52px;
    padding: 0 40px 0 44px;
    border: 1px solid rgba(64, 214, 176, .18);
    border-radius: 14px;
    background: rgba(9, 40, 34, .62);
    color: #eafff7;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd8bf' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

.wrap select option { background: #0b2a24; color: #eafff7; }
.wrap input::placeholder { color: #5f9387; }

.wrap input:focus,
.wrap select:focus {
    border-color: rgba(47, 224, 160, .55);
    box-shadow: 0 0 0 3px rgba(47, 224, 160, .1);
}

.wrap input::-webkit-outer-spin-button,
.wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wrap input[type="number"] { -moz-appearance: textfield; }

.field.has-error .wrap input,
.field.has-error .wrap select {
    border-color: rgba(255, 107, 107, .6);
    background: rgba(60, 20, 22, .5);
}

/* 点「城市」但还没选省份时，闪一下省份框把人引过去 */
@keyframes fieldFlash {
    0%, 100% { border-color: rgba(64, 214, 176, .18); box-shadow: none; }
    50% { border-color: rgba(255, 206, 106, .8); box-shadow: 0 0 0 3px rgba(255, 206, 106, .18); }
}

.field.flash .wrap select { animation: fieldFlash .6s ease 2; }

.tip { display: none; font-size: 12px; color: #ff6b6b; margin-top: 6px; }
.field.has-error .tip { display: block; }

/* ---------- 工作城市：省份 + 城市 两列 ---------- */

.field-city .wrap { gap: 8px; }
.field-city .ico { left: 10px; }
.field-city .wrap select { padding: 0 24px 0 10px; background-position: right 8px center; }
/* 两列都很窄，给省份框留出图标位，城市框允许收缩，避免小屏上提示字被裁掉 */
.field-city .wrap select#province { flex: 0 0 44%; padding-left: 32px; }
.field-city .wrap select#city { flex: 1 1 0; min-width: 0; }
.field-city .wrap select option { background: #0b2a24; color: #eafff7; }

.ico-city {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7Zm0 9.4A2.4 2.4 0 1 1 14.4 9 2.4 2.4 0 0 1 12 11.4Z' fill='%235ad0b0'/%3E%3C/svg%3E");
}

/* ---------- 协议勾选 ---------- */

.agree {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: #9fd4c4;
    line-height: 1.7;
    margin: 20px 0 0;
    cursor: pointer;
}

.agree input {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 3px 0 0;
    accent-color: #2fe0a0;
}

.agree a { color: #2fe0a0; }
.agree.has-error { color: #ff6b6b; }

.agree-tip { display: none; font-size: 12px; color: #ff6b6b; margin: -4px 0 0; }
.agree-tip.is-show { display: block; }

.submit {
    display: block;
    width: 100%;
    height: 52px;
    line-height: 52px;
    margin-top: 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(100deg, #1fc79a, #22d3a6 45%, #16c9d2);
    color: #04231b;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(31, 199, 154, .28);
    transition: transform .12s ease, opacity .12s ease;
}

.submit:active { transform: scale(.99); }
.submit[disabled] { opacity: .7; }

.safe {
    text-align: center;
    font-size: 11px;
    color: #5c8d81;
    margin-top: 16px;
    line-height: 1.7;
}

/* ---------- 提交成功 ---------- */

.done-icon {
    width: 62px;
    height: 62px;
    margin: 6px auto 16px;
    border-radius: 50%;
    background: rgba(47, 224, 160, .14);
    border: 1px solid rgba(47, 224, 160, .45);
    color: #2fe0a0;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 0 26px rgba(47, 224, 160, .25);
}

.panel { text-align: center; }
.form, .field { text-align: left; }

.done-title { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.done-sub { font-size: 13px; color: #7fb3a6; margin-top: 10px; }
.done-sub b { color: #2fe0a0; font-size: 15px; letter-spacing: .5px; }

.done-tip {
    font-size: 12px;
    color: #86bcae;
    line-height: 1.8;
    text-align: left;
    background: rgba(9, 36, 30, .5);
    border-radius: 12px;
    padding: 11px 13px;
    margin-top: 18px;
}

.done-meta {
    text-align: left;
    background: rgba(9, 36, 30, .55);
    border: 1px solid rgba(64, 214, 176, .18);
    border-radius: 12px;
    padding: 4px 14px;
    margin-top: 18px;
}

.done-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(64, 214, 176, .1);
}

.done-meta > div:last-child { border-bottom: none; }
.done-meta dt { font-size: 12px; color: #7fb3a6; }
.done-meta dd { font-size: 13px; word-break: break-all; }
.done-meta dd.ok { color: #2fe0a0; }

/* ---------- 通道拥堵提示 ---------- */

.wait-icon {
    width: 62px;
    height: 62px;
    margin: 6px auto 16px;
    border-radius: 50%;
    background: rgba(255, 176, 60, .12);
    border: 1px solid rgba(255, 176, 60, .45);
    color: #ffb03c;
    font-size: 28px;
    line-height: 60px;
    text-align: center;
}

.wait-title { font-size: 19px; font-weight: 700; letter-spacing: .5px; color: #ffd79a; }
.wait-text { font-size: 13px; color: #9fd4c4; line-height: 1.9; margin-top: 10px; }

.wait-box {
    margin-top: 20px;
    padding: 16px 14px 18px;
    border: 1px dashed rgba(255, 176, 60, .4);
    border-radius: 14px;
    background: rgba(38, 30, 12, .4);
}

.back-link { display: block; text-align: center; margin-top: 20px; font-size: 13px; color: #7fb3a6; }

.jump-box {
    margin-top: 20px;
    padding: 16px 14px 18px;
    border: 1px dashed rgba(47, 224, 160, .35);
    border-radius: 14px;
    background: rgba(10, 40, 33, .5);
}

.jump-line { font-size: 13px; color: #c9e8df; }
.jump-line b {
    color: #2fe0a0;
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    padding: 0 3px;
    text-shadow: 0 0 18px rgba(47, 224, 160, .4);
}

.jump-host { font-size: 11px; color: #5c8d81; margin-top: 6px; }

.go-btn { margin-top: 14px; }

@media (max-width: 360px) {
    .brand { font-size: 22px; letter-spacing: 3px; }
    .panel { padding: 22px 14px 20px; }
}
