/* 根字体基准 (1rem = 16px) */
html {
    font-size: 16px;
}

/* 基础样式 */
body {
    margin: 0;
    padding-bottom: 2rem;
    font-family: 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
}

/* 顶部大图 */
.banner {
    position: relative;
    padding: 0;
    margin: 0;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 转换后的统计信息 */
.counter {
    width: 89%;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 1rem auto 0.3rem;
    border-radius: 1.5rem;
    background-color: #fff;
    box-shadow: 0 0.2rem 0.5rem 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    position: relative;
}

.counter::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    background: url("../images/icon-msg.png") no-repeat center / 100% auto;
    position: absolute;
    left: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
}

.counter span {
    font-size: 1rem;
    color: #7e7e7e;
}

.counter #count {
    font-weight: 700;
    color: #ee1c09;
    margin: 0 0.1rem;
}

/* 表单样式 */
.signup-form {
    width: 89%;
    /* 保持设计稿最大宽度 */
    margin: 0.4rem auto;
    padding: 0;
    box-sizing: border-box;
}

.signup-form .adm-list-item {
    width: 100%;
    box-sizing: border-box;
    border-bottom: 0.1rem solid #ddd;
    background-color: #fff;
    padding: 0 0 0.5rem;
    margin-bottom: 0.5rem;
}

.signup-form .adm-list-item .adm-list-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #767676;
    padding: 0.5rem 0;
}

.signup-form .adm-list-item .adm-list-item-title::after {
    content: "*";
    font-size: 1rem;
    line-height: 1;
    color: #ff2727;
    margin-left: 0.2rem;
    /* vertical-align: middle; */
}

.signup-form .adm-list-item .adm-list-item-extra {
    font-size: 0.9rem;
    color: #656565;
    position: relative;
}

.signup-form .adm-list-item .adm-list-item-extra::after {
    content: "";
    width: 0.7rem;
    height: 0.36rem;
    background-color: #999;
    position: absolute;
    top: 50%;
    right: -0.9rem;
    transform: translateY(-50%);
    clip-path: polygon(100% 3%, 100% 0%, 0% 0%, 0% 3%, 50% 100%);
}

.signup-form .adm-list-item .adm-list-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 表单输入 */
.signup-form input {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

.sms-group {
    display: flex;
    justify-content: space-between;
    align-items: cneter;
    flex-flow: row nowrap;
}

.sms-group .get-code {
    font-size: 0.8rem;
    background-color: #ee200d;
    color: #fff;
    padding: 0.4rem 0.67rem 0.47rem;
    border-radius: 1rem;
    border: none;
    outline: none;
}

.submit-group {
    width: 100%;
}

.submit-group .agreement {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #8d8d8d;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row wrap;
    padding-top: 0.5rem;
}

.submit-group .agreement a {
    color: #248eff;
    margin-left: 0.2rem;
    font-style: normal;
    text-decoration: none;
}

.submit-group .agreement input {
    margin-right: 0.4rem;
}

/* 提交按钮 */
.submit-group .submit-btn {
    width: 100%;
    height: 3.27rem;
    background: #ee200d;
    color: white;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0;
}

#code {
    flex: 1;
}

/* 报名名单 */
.participants {
    width: 100%;
    margin-bottom: 0.8rem;
}

.participants h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    text-align: center;
    padding: 0 0 1rem;
    margin: 0;
}

.user-list-box {
    width: 88%;
    height: 10rem;
    overflow: hidden;
    border-radius: 0.6rem;
    margin: 0 auto;
    padding: 0.5rem 0;
    box-sizing: border-box;
    border: 0.1rem solid #f6f6f6;
    box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.1);
}

.user-list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-list li {
    padding: 0.5rem 0;
}

.user-list li>div {
    font-size: 0.86rem;
    color: #1d1d1d;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
}

.user-list li>div div {
    width: 30%;
}

.user-list li>div div:nth-child(1) {
    width: 20%;
    text-align: right;
}

.user-list li>div div:nth-child(2) {
    width: 45%;
    text-align: center;
    flex: 0 0 auto;
}

.user-list li>div div:nth-child(3) {
    text-align: left;
}

/* 文案区块 */
.job-info {
    width: 88%;
    margin: 0 auto 0.67rem;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    border: 0.1rem solid #d8d8d8;
    border-radius: 0.5rem;
    background-color: #fff;
}

.job-info h3 {
    font-size: 1rem;
    color: #111;
    padding: 0.3rem 0 0.6rem;
    margin: 0;
}

.job-info p {
    font-size: 0.86rem;
    color: #808080;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Antd Mobile Select 样式 */
.adm-selector {
    margin: 10px 0;
    position: relative;
}

.adm-selector-input-wrap {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    position: relative;
    background: white;
}

.adm-selector-input {
    color: #333;
    font-size: 16px;
}





/* 添加滚动锁定样式 */
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* 为Picker容器添加遮罩 */
.adm-picker-container {
    position: fixed;
    bottom: -300px;
    left: 0;
    right: 0;
    background: #fff;
    transition: all 0.3s;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.adm-picker-container.active {
    bottom: 0;
}

.adm-picker-container.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.adm-picker-content {
    width: 100%;
    background-color: #fff;
    position: relative;
    z-index: 9;
}

.adm-picker-header {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.adm-picker-header-button {
    color: #1890ff;
    cursor: pointer;
}

.adm-picker-body {
    height: 200px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* 添加iOS滚动惯性效果 */
    scroll-behavior: smooth;
    /* 平滑滚动 */
}

/* 添加列容器样式 */
.adm-picker-column {
    padding: 0.5rem 0;
    min-height: 100%;
    /* 保证内容不足时也能滚动 */
}

.adm-picker-item {
    padding: 0.9375rem;
    touch-action: manipulation;
    /* 优化触摸操作 */
}

.adm-picker-item {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
}

.adm-picker-item.selected {
    color: #1890ff;
    background: #f0f9ff;
}