/* 1. 声明自定义字体（字体文件路径需正确） */
@font-face {
    font-family: 'iconfont';
    /* 字体名称，后续需一致 */
    src: url('./static/iconfont.woff2') format('woff2'),
        url('./static/iconfont.woff') format('woff'),
        url('./static/iconfont.ttf') format('truetype');
}

/* 2. 定义图标通用样式 */
.iconfont {
    font-family: "iconfont" !important;
    /* 关联自定义字体 */
    font-size: 16px;
    /* 图标大小 */
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    /* 抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #fff;
    font-family: Arial, sans-serif;
    height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

i {
    font-style: normal;
}

p {
    margin: 0;
}

.pageContant {
    padding: 30px 15px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-image {
    width: 90px;
    height: 90px;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.title-h1 {
    font-weight: 700;
    font-size: 28px;
    color: #262630;
}

.title-h2 {
    font-weight: 400;
    font-size: 16px;
    color: #61677D;
    text-align: center;
}

.form-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 0 20px;
}

.form-group {
    margin-bottom: 20px;
    background: #f6f6f6;
    border-radius: 15px;
    position: relative;
}

.form-input {
    width: 100%;
    height: 55px;
    padding: 12px 15px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #999;
}

/* 验证码输入框 + 按钮 */
.verify-group {
    display: flex;
    gap: 10px;
}

.verify-input {
    flex: 1;
}

.get-code-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

/* 密码输入框（带眼睛图标） */
.password-group {
    position: relative;
}

.password-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-weight: 700;
}

/* 同意条款 */
.agree-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 14px;
    color: #999;
    position: relative;
}

.agreeRouter i {
    color: #3B4054;
}

.agreeRouter a {
    color: #f8d44c;
}


.agree-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #ffd100;
}

.magin-btm {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.submit {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 50px;
    border-radius: 14px;
    background: #ffd100;
    font-weight: bold;
    line-height: 48px;
    font-size: 16px;
    color: #262630;
    border: none;
}

.dowload {
    font-weight: 400;
    font-size: 15px;
    color: #3B4054;
    text-align: center;
    margin: 15px 0;
    cursor: pointer;
}

.changeLanuge {
    font-weight: 400;
    font-size: 15px;
    color: #3B4054;
    text-align: center;
    cursor: pointer;
}

/* 错误状态样式 */
.form-group .error {
    border: 1px solid #ff0000;
    border-radius: 18px;
}

.error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 4px;
    height: 16px;
    /* 固定高度避免布局跳动 */
    position: absolute;
    bottom: -18px;
    left: 15px;
}

.succseePopup {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popupContant {
    background-color: #fff;
    max-width: 400px;
    padding: 30px 15px;
    border-radius: 18px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.dowload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.dowloadItem {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.iconitem {
    font-size: 26px !important;
}

/* 分割符容器样式 */
.divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    /* 可自定义最大宽度 */
    margin: 20px auto;
    /* 上下间距，居中显示 */
    font-size: 14px;
    color: #666;
    /* 文字颜色 */
}

/* 分割线样式 */
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ccc;
    /* 分割线颜色 */
    /* 用虚线模拟短横线效果，也可直接用实线 */
    border-top: 1px dashed #ccc;
}

/* 文字左右间距 */
.divider span {
    padding: 0 15px;
    white-space: nowrap;
    /* 防止文字换行 */
}

.dowloadtext {
    font-size: 14px;
}

.closeIcon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50%;
    border: 1px solid #000000;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

/* 在register.css中添加 */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}