/* ======== Base ======== */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #2C2C99, #08085A, #050536);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
    margin: 0;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* ======== Login Box ======== */
.login-form-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px 30px;
    min-width: 380px;
    margin: 0 auto;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ======== Logo ======== */
.logo-box {
    text-align: center;
    margin-bottom: 20px;
}

.logo-box img {
    max-width: 185px;
    height: auto;
    display: inline-block;
}

/* ======== Form Heading ======== */
.login-form-box h2 {
    color: white;
    margin-bottom: 24px;
}

/* ======== Inputs ======== */
.login-form-box input[type="text"],
.login-form-box input[type="password"] {
    width: 100%;
    background: #2bb673;
    border: none;
    color: white;
    padding: 12px 15px;
    margin-bottom: 16px;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.login-form-box input[type="text"]:focus,
.login-form-box input[type="password"]:focus {
    background-color: #168a44;
    outline: none;
}

/* ======== Submit Button ======== */
.login-form-box button.submit-button {
    width: 100%;
    background-color: #016640;
    color: white;
    font-weight: bold;
    padding: 14px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 7px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.login-form-box button.submit-button:hover {
    background-color: #014527;
}

/* ======== Error Message ======== */
.error-message {
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

/* ======== Media Queries ======== */

/* Tablets */
@media screen and (max-width: 768px) {
    body {
        padding: 30px;
    }

    .login-form-box {
        padding: 35px 25px;
        max-width: 90%;
    }

    .logo-box img {
        max-width: 160px;
    }

    .login-form-box h2 {
        font-size: 20px;
    }
}

/* Smartphones */
@media screen and (max-width: 480px) {
    .login-form-box {
        padding: 50px 20px;
        border-radius: 10px;
        box-shadow: none;
        border: none;
        min-width: 200px;
    }

    .logo-box img {
        max-width: 140px;
    }

    .login-form-box h2 {
        font-size: 18px;
    }

    .login-form-box input[type="text"],
    .login-form-box input[type="password"] {
        font-size: 16px;
        padding: 13px;
        margin-bottom: 20px;
    }

    .login-form-box button.submit-button {
        font-size: 16px;
        padding: 14px;
    }
}
