/* 注册区域样式 */
.register-section {
    min-height: 700px;
    padding: 40px 0;
    background: #f5f5f5;
}

.register-box {
    width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.register-header p {
    color: #999;
}

.register-header a {
    color: #2979ff;
}

/* 表单样式 */
.form-item {
    margin-bottom: 20px;
}

.input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-box input:focus {
    border-color: #2979ff;
    box-shadow: 0 0 0 2px rgba(41,121,255,0.2);
    outline: none;
}

.error-tip {
    display: none;
    margin-top: 5px;
    color: #ff4d4f;
    font-size: 12px;
}

.verify-box {
    display: flex;
    gap: 10px;
}

.verify-box .input-box {
    flex: 1;
}

.btn-send-code {
    width: 120px;
    height: 40px;
    background: #fff;
    border: 1px solid #2979ff;
    border-radius: 4px;
    color: #2979ff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send-code:hover {
    background: #2979ff;
    color: #fff;
}

.btn-send-code.disabled {
    background: #f5f5f5;
    border-color: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

/* 协议选择框 */
.agreement {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 3px 5px 0 0;
}

.checkbox-text {
    font-size: 12px;
    color: #666;
}

.checkbox-text .link {
    color: #2979ff;
}

/* 注册按钮 */
.btn-register {
    width: 100%;
    height: 40px;
    background: #2979ff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #1565c0;
}

/* 其他登录方式 */
.register-footer {
    margin-top: 30px;
}

.other-login {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.other-login .line {
    display: inline-block;
    width: 80px;
    height: 1px;
    background: #e5e5e5;
    vertical-align: middle;
}

.other-login .text {
    margin: 0 15px;
    color: #999;
    font-size: 12px;
}

.login-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
}

.method-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.method-item span {
    font-size: 12px;
}

/* 错误状态 */
.form-item.error .input-box input {
    border-color: #ff4d4f;
}

.form-item.error .error-tip {
    display: block;
} 