/* 注册页面样式 */
.register-page {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.register-container 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;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #1d4ed8;
    outline: none;
}

.verification-group .verification-input {
    display: flex;
    gap: 10px;
}

.verification-group input {
    flex: 1;
}

.btn-verification {
    padding: 0 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-verification:hover {
    background: #e9ecef;
}

.btn-verification:disabled {
    background: #f8f9fa;
    color: #999;
    cursor: not-allowed;
}

.form-options {
    margin-bottom: 20px;
    font-size: 14px;
}

.form-options label {
    display: flex;
    align-items: center;
    color: #666;
}

.form-options input[type="checkbox"] {
    margin-right: 8px;
}

.terms-link,
.privacy-link {
    color: #1d4ed8;
    text-decoration: none;
}

.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}

form .btn-register {
    display: block;
    width: 100%;
    padding: 12px;
    background: #1d4ed8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background: #1e40af;
}

.register-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-links a {
    color: #1d4ed8;
    text-decoration: none;
}

.register-links a:hover {
    text-decoration: underline;
}

/* 错误提示样式 */
.error-message {
    background: #fff3f3;
    color: #dc3545;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

