/* ================= 应聘人员信息登记 ================= */
body {
    background: #f4f7fc;
    color: #26334a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.zp-page {
    min-height: 100vh;
}

/* ---------- 顶部横幅 ---------- */
.zp-hero {
    background: linear-gradient(135deg, #2f6df6 0%, #1746a8 62%, #123a8c 100%);
    color: #fff;
    padding: 46px 20px 86px;
    position: relative;
    overflow: hidden;
}

.zp-hero:after {
    content: "";
    position: absolute;
    right: -80px;
    top: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.zp-hero:before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.zp-hero-inner {
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.zp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.zp-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
}

.zp-hero p.zp-sub {
    margin: 0 0 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
    letter-spacing: 1px;
}

.zp-hero-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

.zp-hero-tips li {
    display: inline-block;
    margin: 0 22px 6px 0;
    padding-left: 16px;
    position: relative;
}

.zp-hero-tips li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7fd3ff;
}

/* ---------- 主体 ---------- */
.zp-shell {
    max-width: 1040px;
    margin: -58px auto 0;
    padding: 0 16px 20px;
    position: relative;
    z-index: 3;
}

.zp-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 49, 105, .09);
    margin-bottom: 18px;
    overflow: hidden;
}

.zp-card-head {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eef2f9;
    background: linear-gradient(90deg, #f6faff 0%, #ffffff 80%);
}

.zp-card-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #12325c;
    letter-spacing: 1px;
}

.zp-card-head .glyphicon {
    color: #2f7cf6;
    font-size: 15px;
    margin-right: 8px;
    top: 1px;
}

.zp-card-head .zp-step {
    margin-left: auto;
    font-size: 12px;
    color: #93a0b5;
    letter-spacing: .5px;
}

.zp-card-body {
    padding: 20px 24px 4px;
}

/* ---------- 表单控件 ---------- */
.zp-form .form-group {
    margin-bottom: 16px;
}

.zp-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3d4b63;
}

.zp-required {
    color: #e5484d;
    margin-left: 3px;
    font-weight: 700;
}

.zp-form .form-control {
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    color: #26334a;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background-color: #fcfdff;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.zp-form .form-control::-webkit-input-placeholder {
    color: #a9b3c4;
}

.zp-form select.form-control {
    height: 40px;
    line-height: 1.4;
    cursor: pointer;
}

.zp-form textarea.form-control {
    height: auto;
    min-height: 84px;
    line-height: 1.7;
    resize: vertical;
}

.zp-form .form-control:focus {
    border-color: #2f7cf6;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(47, 124, 246, .14);
}

.zp-form .form-control[readonly] {
    background-color: #f2f5fa;
    color: #66738b;
}

.zp-form .has-error .form-control,
.zp-form .form-control.zp-error {
    border-color: #e5484d;
    background-color: #fffafa;
}

.zp-form .has-error .form-control:focus,
.zp-form .form-control.zp-error:focus {
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .13);
}

.zp-form .help-block {
    margin: 6px 0 0;
    font-size: 12px;
    color: #e5484d;
    line-height: 1.5;
}

.zp-form .help-block .glyphicon {
    font-size: 11px;
}

.zp-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #93a0b5;
}

.zp-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f6faff;
    border: 1px dashed #cfe0fb;
    border-radius: 8px;
    font-size: 12px;
    color: #4d6b96;
    line-height: 1.7;
}

.zp-note .glyphicon {
    color: #2f7cf6;
    margin-right: 4px;
}

.zp-hero-star {
    color: #ffd666;
    font-weight: 700;
}

/* ---------- 提示条 ---------- */
.zp-messages {
    margin-bottom: 16px;
}

.zp-messages .alert {
    border-radius: 10px;
    border: 1px solid transparent;
    box-shadow: 0 6px 16px rgba(17, 49, 105, .07);
    font-size: 14px;
    line-height: 1.6;
    padding: 14px 18px;
    margin-bottom: 10px;
}

.zp-messages .alert .glyphicon {
    margin-right: 8px;
}

.zp-messages .alert-success {
    background: #f0fbf4;
    border-color: #c9edd7;
    color: #1d7a45;
}

.zp-messages .alert-warning {
    background: #fff8ec;
    border-color: #ffe1b8;
    color: #9a6108;
}

.zp-messages .alert-danger {
    background: #fff5f5;
    border-color: #ffd3d3;
    color: #b02525;
}

.zp-messages .alert-info {
    background: #f1f7ff;
    border-color: #cfe2ff;
    color: #1b5cbf;
}

/* ---------- 底部操作栏 ---------- */
.zp-actions {
    position: sticky;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 24px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e9eff8;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 49, 105, .1);
}

.zp-actions .zp-actions-note {
    font-size: 12px;
    color: #93a0b5;
    line-height: 1.6;
    max-width: 56%;
}

.zp-actions .zp-actions-btns {
    display: flex;
    gap: 10px;
}

.btn-zp-primary {
    height: 44px;
    padding: 0 42px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3d8bff 0%, #1a5cd0 100%);
    box-shadow: 0 8px 18px rgba(31, 108, 235, .26);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn-zp-primary:hover,
.btn-zp-primary:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(31, 108, 235, .32);
}

.btn-zp-primary:disabled {
    opacity: .7;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-zp-ghost {
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
    color: #55617a;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    transition: border-color .15s ease, color .15s ease;
}

.btn-zp-ghost:hover {
    color: #2f7cf6;
    border-color: #b9d2fb;
}

.zp-footer {
    text-align: center;
    font-size: 12px;
    color: #93a0b5;
    padding: 8px 16px 30px;
    line-height: 1.8;
}

/* ---------- 成功提示卡片 ---------- */
.zp-done {
    text-align: center;
    padding: 40px 24px;
}

.zp-done .glyphicon {
    font-size: 46px;
    color: #2ecc71;
}

.zp-done h3 {
    font-size: 20px;
    font-weight: 700;
    color: #12325c;
}

.zp-done p {
    color: #66738b;
    font-size: 14px;
    line-height: 1.9;
}

/* ---------- 移动端 ---------- */
@media (max-width: 767px) {
    .zp-hero {
        padding: 30px 16px 78px;
    }

    .zp-hero h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .zp-hero-tips li {
        display: block;
        margin-right: 0;
    }

    .zp-shell {
        margin-top: -52px;
    }

    .zp-card-body {
        padding: 16px 16px 2px;
    }

    .zp-card-head {
        padding: 14px 16px;
    }

    .zp-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    .zp-actions .zp-actions-note {
        max-width: 100%;
        text-align: center;
    }

    .zp-actions .zp-actions-btns {
        flex-direction: column;
    }

    .btn-zp-primary,
    .btn-zp-ghost {
        width: 100%;
    }
}
