/* ----------------------
   GENERAL BODY
----------------------- */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1D1D1D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ----------------------
   LOGO
----------------------- */
.logo {
    width: 180px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

/* ----------------------
   FLASH MESSAGE
----------------------- */
.flash {
    background-color: #2272FF;
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 0 12px #2272ff99;
    animation: fadeIn 0.7s ease-out;
}

/* ----------------------
   LOGIN BOX
----------------------- */
.login-container {
    background-color: #262626;
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 0 25px #2272ff30;
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 1s ease-out;
    margin-bottom: 50px;
}

.login-container h1 {
    text-align: center;
    color: #2272FF;
    margin-bottom: 30px;
    font-size: 28px;
}

/* ----------------------
   FORM FIELDS
----------------------- */
form label {
    color: #e0e0e0;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

/* ----------------------
   SUBMIT BUTTON
----------------------- */
form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #2272FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

form input[type="submit"]:hover {
    background-color: #1a5ed6;
    transform: scale(1.02);
}

/* ----------------------
   ANIMATIONS
----------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ----------------------
   RESPONSIVE
----------------------- */
@media (max-width: 480px) {
    .login-container {
        padding: 25px 20px;
    }

    .login-container h1 {
        font-size: 24px;
    }

    form input[type="submit"] {
        font-size: 0.95rem;
    }
}