/* ==========================================================================
   填写页（Figma 「填写页面-1」 node 1:209，393 x 999）
   ========================================================================== */

body.body--apply,
.page--apply {
    background: linear-gradient(180deg, #e8f5ff 0%, #f7fbff 22%, #eef8ff 100%);
}

/* --------------------------------------------------------------------------
   顶部横幅 1:210（y 0，393 x 151）
   -------------------------------------------------------------------------- */

.apply-header {
    position: relative;
    width: 100%;
    height: 1.51rem;
}

.apply-header__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   主体 1:211（y 135，左右内边距 15）
   -------------------------------------------------------------------------- */

.apply-main {
    position: relative;
    margin-top: -0.16rem;
    padding: 0 0.15rem;
}

/* 申报须知 1:212（363 x 104，左侧 6px 橙色描边） */
.notice-card {
    position: relative;
    height: 1.04rem;
    background: rgba(255, 255, 255, 0.94);
    border-left: 0.06rem solid #ff8a27;
    border-radius: 0.11rem;
    box-shadow: 0 0.06rem 0.2rem rgba(39, 112, 178, 0.08);
}

.notice-card__iconwrap {
    position: absolute;
    top: 0.12rem;
    left: 0.18rem;
    width: 0.54rem;
    height: 0.4rem;
    padding-right: 0.14rem;
}

.notice-card__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 0.4rem;
    height: 0.4rem;
    padding: 0.085rem 0;
    background: linear-gradient(135deg, #ffa927 0%, #ff5e19 100%);
    border-radius: 0.2rem;
}

.notice-card__icon img {
    display: block;
    width: 0.23rem;
    height: 0.23rem;
}

.notice-card__body {
    position: absolute;
    top: calc(50% - 0.1rem);
    left: 0.72rem;
    width: 2.88rem;
    height: 0.5rem;
    transform: translateY(-50%);
}

.notice-card__title {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 0.01rem 0 0.03rem;
    font-size: 0.16rem;
    font-weight: 500;
    color: #08265c;
    white-space: nowrap;
}

.notice-card__desc {
    position: absolute;
    top: 0.3rem;
    right: 0;
    left: 0;
    width: 2.61rem;
    padding: 0.01rem 0 0.02rem;
    font-size: 0.12rem;
    font-weight: 500;
    color: #5a6c8e;
}

.notice-card__desc em {
    font-style: normal;
    color: #0058ff;
}

/* --------------------------------------------------------------------------
   三步进度 1:224（363 x 74）
   -------------------------------------------------------------------------- */

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 0.74rem;
    padding-top: 0.14rem;
}

.steps__item {
    position: relative;
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 0.05rem;
    align-items: center;
    min-width: 0;
    padding-bottom: 0.02rem;
}

.steps__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.27rem;
    height: 0.27rem;
    font-size: 0.13rem;
    color: #536783;
    text-align: center;
    background: #d5deea;
    border-radius: 0.135rem;
}

.steps__item--done .steps__num {
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, #1979ef 0%, #0847bd 100%);
    filter: drop-shadow(0 0.04rem 0.045rem rgba(15, 89, 211, 0.26));
}

.steps__line {
    position: absolute;
    top: 0.13rem;
    left: 0.69rem;
    width: 0.87rem;
    height: 0.02rem;
    background: #c9d4e4;
    border-radius: 0.02rem;
}

.steps__item--done .steps__line {
    background: linear-gradient(to right, #1268e9 0%, #1268e9 42%, #c9d4e4 42%);
}

.steps__label {
    font-size: 0.13rem;
    color: #6f819f;
    text-align: center;
    white-space: nowrap;
}

.steps__item--done .steps__label {
    font-weight: 500;
    color: #0752bd;
}

/* --------------------------------------------------------------------------
   表单分区 1:239（代报人）/ 1:255（申报人）
   -------------------------------------------------------------------------- */

.form-section {
    display: flex;
    flex-direction: column;
    gap: 0.13rem;
    padding: 0.14rem 0.13rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.11rem;
    box-shadow: 0 0.07rem 0.24rem rgba(39, 112, 178, 0.07);
}

.form-section__head {
    position: relative;
    height: 0.24rem;
}

.form-section__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.05rem;
    height: 0.24rem;
    border-radius: 0.04rem;
}

.form-section--agent .form-section__bar {
    background: linear-gradient(180deg, #ff251d 0%, #cc0303 100%);
}

.form-section--applicant .form-section__bar {
    background: linear-gradient(180deg, #1d83ff 0%, #0351cc 100%);
}

.form-section__icon {
    position: absolute;
    top: 0.01rem;
    left: 0.16rem;
    width: 0.22rem;
    height: 0.22rem;
    overflow: hidden;
}

.ic-person-1 { inset: 12.5% 33.33% 54.17% 33.33%; }
.ic-person-2 { inset: 58.33% 12.5% 8.33% 12.5%; }

.form-section__title {
    position: absolute;
    top: calc(50% + 0.015rem);
    left: 0.46rem;
    font-size: 0.16rem;
    font-weight: 500;
    color: #09265d;
    white-space: nowrap;
    transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   字段行 1:249 / 1:265 …（Label 74 + Input 自适应，行高 35）
   -------------------------------------------------------------------------- */

.field {
    display: flex;
    gap: 0.07rem;
    align-items: center;
}

.field__label {
    display: flex;
    flex-shrink: 0;
    gap: 0.04rem;
    align-items: flex-start;
    width: 0.74rem;
    padding: 0.01rem 0 0.02rem;
    font-size: 0.12rem;
    white-space: nowrap;
}

.field__req {
    font-weight: 700;
    color: #f2242a;
}

.field__name {
    font-weight: 500;
    color: #122e61;
}

.field__control {
    flex: 1 0 0;
    min-width: 0;
}

.field__input {
    display: block;
    width: 100%;
    height: 0.35rem;
    padding: 0 0.13rem;
    font-family: inherit;
    font-size: 0.12rem;
    line-height: 0.33rem;
    color: #122e61;
    background: #fff;
    border: 0.01rem solid #d2dce9;
    border-radius: 0.07rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease;
}

.field__input::placeholder {
    font-weight: 400;
    color: #757575;
}

.field__input:focus {
    border-color: #1776ef;
}

.field__input.is-error {
    border-color: #f2242a;
}

/* 申报金额：金额由后端固定，此处为只读展示 1:306 */
.field__amount {
    display: flex;
    align-items: center;
    height: 0.35rem;
    padding: 0 0.13rem;
    font-size: 0.14rem;
    font-weight: 500;
    line-height: 0.14rem;
    color: red;
    background: #fff;
    border: 0.01rem solid #d2dce9;
    border-radius: 0.07rem;
}

/* --------------------------------------------------------------------------
   提交按钮 1:309（y 759，363 x 45）
   -------------------------------------------------------------------------- */

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /* button 元素的 width:auto 是收缩到内容宽，必须显式给出设计稿宽度 363 */
    width: 3.63rem;
    height: 0.45rem;
    margin: 0.06rem 0.15rem 0;
    padding: 0.01rem 0.06rem;
    font-size: 0.17rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.01rem;
    background: linear-gradient(135deg, #1776ef 0%, #0841bb 100%);
    border-radius: 0.13rem;
    filter: drop-shadow(0 0.08rem 0.09rem rgba(16, 84, 211, 0.25));
    transition: opacity 0.15s ease, transform 0.12s ease;
}

.submit-btn:active {
    transform: scale(0.99);
}

.submit-btn[disabled] {
    opacity: 0.65;
    pointer-events: none;
}

/* 页脚位置（1:311 y 879，紧接提交按钮 y 804） */
.page--apply .site-footer {
    margin-top: 0.75rem;
}
