* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f7fa;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.registerbg {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
}

/* 顶部导航 */
.top-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.back-arrow {
    position: absolute;
    left: 16px;
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.page-title {
    color: #323233;
    font-size: 16px;
    font-weight: 500;
}

/* 会议 Banner */
.conference-banner {
    width: 100%;
    /* background: linear-gradient(135deg, #0d5ba6 0%, #0a7bc7 50%, #0d5ba6 100%); */
    position: relative;
    overflow: hidden;
    /* padding: 45px 25px 35px; */
    color: #fff;
}

.conference-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-content img {
    width: 100%;
    height: auto;
}

.banner-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 30px;
}

.forum-num {
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -3px;
    margin-right: 4px;
}

.forum-th {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin-right: 12px;
    padding-top: 8px;
}

.title-main {
    text-align: left;
    padding-top: 6px;
}

.title-main h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.title-main p {
    font-size: 13px;
    opacity: 0.92;
}

.banner-info {
    font-size: 13px;
    line-height: 1.9;
    opacity: 0.95;
}

.banner-info .date-place {
    margin-top: 18px;
    font-size: 12px;
    opacity: 0.9;
}

/* 登录区域 */
.login-section {
    padding: 25px 20px 40px;
    background-color: #fff;
}

.login-tip {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 22px;
}

.login-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.tab-item {
    flex: 1;
    max-width: 140px;
    text-align: center;
    padding: 12px 5px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
}

/* 登录表单 */
.login-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    min-height: 42px;
    border-bottom: 1px solid #ebedf0;
}

.form-row label {
    width: 85px;
    font-size: 14px;
    color: #646566;
    flex-shrink: 0;
}

.form-input {
    flex: 1;
    height: 40px;
    /* border: 1px solid #e8e8e8; */
    border-radius: 3px;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    width: calc(100% - 90px);
}

.form-input:focus {
    border-color: #0d5ba6;
}

.form-input::placeholder {
    color: #bfbfbf;
}

/* 单选框 */
.form-row-radio {
    align-items: center;
}

.radio-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 40px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    width: auto;
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}
.radio-label input[type="radio"] {
    accent-color: var(--primary-color);
}
.captcha-img {
    width: 90px;
    height: 40px;
    margin-left: 12px;
    background-color: #f5f7fa;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-style: italic;
    color: #0d5ba6;
    letter-spacing: 3px;
    cursor: pointer;
    font-family: 'Times New Roman', serif;
}

.send-btn {
    width: 90px;
    height: 40px;
    margin-left: 12px;
    background-color: #0d5ba6;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.send-btn:hover {
    background-color: #0a4b8a;
}

.email-tip {
    font-size: 12px;
    color: #d9534f;
    margin: -5px 0 20px 85px;
}

.submit-btn {
    width: 100%;
    height: 46px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.submit-btn:hover {
    background-color: #0a2e55;
}

.register-tip {
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* 注册表单 */
.register-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.agreement-row {
    display: flex;
    align-items: flex-start;
    margin: 5px 0 20px 85px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.agreement-row input[type="checkbox"] {
    margin-right: 6px;
    margin-top: 2px;
    cursor: pointer;
}

.agreement-row label {
    cursor: pointer;
}

.agreement-row a {
    color: #0d5ba6;
    margin: 0 2px;
}

.agreement-row a:hover {
    text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .forum-num {
        font-size: 56px;
    }

    .forum-th {
        font-size: 20px;
    }

    .title-main h2 {
        font-size: 18px;
    }

    .title-main p {
        font-size: 11px;
    }

    .form-row label {
        width: 75px;
        font-size: 13px;
    }

    .email-tip {
        margin-left: 75px;
    }

    .agreement-row {
        margin-left: 75px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        flex-wrap: wrap;
    }

    .forum-num {
        font-size: 48px;
    }

    .title-main {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .tab-item {
        font-size: 13px;
    }

    .login-form {
        padding: 20px 15px;
    }

    .form-row label {
        width: 70px;
        font-size: 12px;
    }

    .captcha-img,
    .send-btn {
        width: 80px;
        margin-left: 8px;
    }

    .email-tip {
        margin-left: 70px;
    }

    .agreement-row {
        margin-left: 70px;
    }
}