body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo i {
    font-size: 4rem;
    color: #4a90e2;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

label i {
    margin-right: 0.5rem;
    color: #4a90e2;
}

input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

input:focus {
    border-color: #4a90e2;
    outline: none;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me input {
    width: auto;
    margin-right: 0.5rem;
}

button {
    width: 100%;
    padding: 1rem;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button i {
    margin-right: 0.5rem;
}

button:hover {
    background-color: #357abd;
}

#message {
    margin-top: 1rem;
    text-align: center;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

#message.error {
    color: #ff4d4f;
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
}

#message.success {
    color: #52c41a;
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
} 