body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #e8f4fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 25px rgba(0, 123, 255, 0.15);
    width: 380px;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(-20px);
    }
}

.login-container:hover {
    box-shadow: 0 5px 30px rgba(0, 123, 255, 0.2);
}

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

h1 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 28px;
}

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

label {
    display: block;
    margin-bottom: 10px;
    color: #0056b3;
    font-weight: 500;
    font-size: 15px;
}

.input-group {
    position: relative;
}

input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #b8daff;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s;
}

input[type="password"]:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

button {
    width: 100%;
    padding: 13px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

button:hover {
    background-color: #0069d9;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

.error-message {
    color: #dc3545;
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 5px;
    font-size: 14px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);}
    20%, 40%, 60%, 80% {transform: translateX(5px);}
} 