/* ===== Reset & Body ===== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: #f4f6f8; display: flex; justify-content: center; align-items: center; height: 100vh; }

/* ===== Login Container ===== */
.login-container {
    background: white;
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 380px;
    text-align: center;
    animation: fadeIn 0.6s ease forwards;
}

/* Title */
.login-container h1 {
    color: #1a73e8;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

/* Inputs */
.login-container input {
    width: 100%;
    padding: 14px 12px;
    margin-bottom: 18px;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid #dadce0;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
}
.login-container input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

/* Button */
.login-container button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(135deg,#1a73e8,#4285f4);
    color: white;
    box-shadow: 0 10px 24px rgba(26,115,232,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(26,115,232,0.45);
}
.login-container button:active { transform: translateY(0); }

/* Error Message */
.error {
    margin-top: 14px;
    color: #d93025;
    font-size: 14px;
    display: none;
    animation: fadeIn 0.5s ease;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity:0; transform: translateY(20px);}
    100% { opacity:1; transform: translateY(0);}
}
