/* 注册页面样式 */
.register-container {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 60px;
    background: #f7f7f7;
}

.register-box {
    background: #fff;
    border-radius: 4px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.register-header p {
    font-size: 14px;
    color: #666;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-item {
    position: relative;
}

.form-item i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.form-item input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-item input:focus {
    border-color: #333;
    outline: none;
}

/* 验证码按钮 */
.send-code {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    background: none;
    border: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.send-code:hover {
    color: #000;
}

.send-code.disabled {
    color: #999;
    cursor: not-allowed;
}

/* 协议同意 */
.agreement {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.agreement a {
    color: #333;
}

.agreement a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #000;
}

.login-link {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #333;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .register-box {
        padding: 30px 20px;
    }

    .register-header h2 {
        font-size: 20px;
    }

    .agreement {
        font-size: 13px;
    }
} 