/* ==========================================================================
   安静家招聘站 · 专用样式（job.anjingjia.com）
   仅手机端；在 base.css + mobile.css 之上做增量，不改动官网原有类
   ========================================================================== */

/* 岗位卡片放在 .aj-card 内部时去掉外边距，避免双层留白 ------------------ */
.aj-card .aj-job-card {
    margin: 0 0 10px;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
}

.aj-card .aj-job-card:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.aj-card .aj-job-card:last-child {
    margin-bottom: 0;
}

/* 「门店分布 / 工作地点 / 咨询电话」单行信息 ------------------------------ */
.aj-mine-line {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.aj-mine-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.aj-mine-line .t {
    font-size: 15px;
    font-weight: 600;
}

.aj-mine-line .s {
    font-size: 12.5px;
    color: var(--text-2);
    margin-top: 3px;
}

a.aj-mine-line {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

a.aj-mine-line .t {
    color: var(--brand-deep);
}

/* 应聘流程步骤条 -------------------------------------------------------- */
.aj-steps {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.aj-steps .it {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 12px;
    color: var(--text-2);
}

.aj-steps .it b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 700;
}

.aj-steps .it::after {
    content: "";
    position: absolute;
    top: 13px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 1px;
    background: var(--line);
}

.aj-steps .it:last-child::after {
    display: none;
}

/* 底部固定操作条（详情页） ---------------------------------------------- */
.aj-action-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    z-index: 75;
    width: 100%;
    max-width: 640px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.aj-action-bar .btn {
    height: 44px;
}

.aj-action-share {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
    width: 56px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--text-2);
    font-size: 11px;
    cursor: pointer;
}

/* 附件上传 -------------------------------------------------------------- */
.aj-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px dashed #dcdfe5;
    border-radius: var(--radius-sm);
    background: #fcfcfd;
}

.aj-upload .ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aj-upload .info {
    flex: 1;
    min-width: 0;
}

.aj-upload .info .t {
    font-size: 14.5px;
    font-weight: 600;
}

.aj-upload .info .s {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aj-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.aj-upload.is-done {
    border-style: solid;
    border-color: rgba(255, 90, 31, 0.45);
    background: var(--brand-soft);
}

.aj-upload.is-done .ico {
    background: #fff;
}

.aj-upload.is-done .info .s {
    color: var(--brand-deep);
}

.aj-upload.is-busy {
    opacity: 0.65;
}

/* 报名成功页 ------------------------------------------------------------ */
.aj-done-ico {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(240, 68, 15, 0.28);
}

.aj-code {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 13px;
}

/* 我的报名卡片 ---------------------------------------------------------- */
.aj-apply-card .hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.aj-apply-card .hd .t {
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aj-apply-card .bd {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.aj-apply-card .ln {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    padding: 4px 0;
}

.aj-apply-card .ln > span {
    color: var(--text-3);
    flex: 0 0 auto;
}

.aj-apply-card .ln > em {
    font-style: normal;
    color: var(--text);
    text-align: right;
    word-break: break-all;
}

.aj-status {
    flex: 0 0 auto;
    font-size: 12px;
    border-radius: 999px;
    padding: 3px 12px;
    background: var(--bg);
    color: var(--text-2);
}

.aj-status.is-wait {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.aj-status.is-done {
    background: #eef3fe;
    color: #2f5bd0;
}

.aj-status.is-pass,
.aj-status.is-join {
    background: #eaf9f0;
    color: #14874a;
}

.aj-status.is-fail {
    background: #f4f5f7;
    color: #8b929c;
}
