* {
    margin: 0;
}
/* 注册页面特定样式 */
.register-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.register-left {
    flex: 1;
    display: none;
}

.register-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: white;
}

.register-form-container {
    width: 100%;
    max-width: 450px;
}

.register-logo {
    text-align: center;
    margin-bottom: 40px;
}

.register-logo h1 {
    color: #333;
    margin-bottom: 10px;
}

.register-logo p {
    color: #666;
}

.register-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 90%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.password-requirements {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.register-btn {
    width: 100%;
    padding: 12px;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background: #3182ce;
}

.register-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.register-footer a {
    color: #4299e1;
    text-decoration: none;
    margin-left: 5px;
}

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

.error-message {
    color: #e53e3e;
    background: #fed7d7;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.success-message {
    color: #38a169;
    background: #c6f6d5;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.red {
    color: red;
}
@media (min-width: 768px) {
    .register-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
        padding: 40px;
    }
    
    .register-left h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .register-left p {
        font-size: 1.2rem;
        opacity: 0.9;
    }
}