/* 注册区域 */
.register-section {
    margin-top: 70px;
    padding: 40px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.register-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.register-box {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
}

.register-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-box input:focus {
    border-color: #ff6b81;
    outline: none;
}

.tip {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 12px;
    color: #999;
}

/* 验证码 */
.verify-box {
    display: flex;
    gap: 10px;
}

.verify-box input {
    flex: 1;
}

.verify-btn {
    width: 120px;
    border: none;
    background: #ff6b81;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.verify-btn:hover {
    background: #ff4757;
}

.verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 同意协议 */
.agreement {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s;
}

.checkbox input:checked + .checkmark {
    background: #ff6b81;
    border-color: #ff6b81;
}

.checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agreement-link {
    color: #ff6b81;
}

/* 注册按钮 */
.register-btn {
    width: 100%;
    height: 45px;
    background: #ff6b81;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.register-btn:hover {
    background: #ff4757;
}

/* 登录链接 */
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.login-link a {
    color: #ff6b81;
    margin-left: 5px;
}

/* 输入框状态 */
.input-box.error input {
    border-color: #ff4757;
}

.input-box.error .tip {
    color: #ff4757;
}

.input-box.success input {
    border-color: #2ecc71;
}

.input-box.success .tip {
    color: #2ecc71;
} 