/* ===========================
   LOGIN BACKGROUND
=========================== */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url("assets/login.jpg") center/cover no-repeat fixed;
    font-family: Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}

/* ===========================
   CENTER CONTAINER
=========================== */
.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===========================
   LOGIN BOX (PREMIUM NEON)
=========================== */
.login-box {
    width: 400px;                 /* Slimmer width */
    padding: 28px 25px;           /* Nice padding */
    background: rgba(0,0,0,0.78);
    border: 2px solid #00ff66;
    border-radius: 14px;

    box-shadow: 0 0 30px #00ff66, inset 0 0 18px rgba(0,255,100,0.3);
    text-align: center;

    animation: fadeIn 0.9s ease-out;
}

/* ===========================
   TITLE
=========================== */
.login-title {
    color: #00ff66;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 18px;
    text-shadow: 0 0 18px #00ff66;
}

/* ===========================
   INPUT FIELDS (SLIM + NEON)
=========================== */
.login-input {
    width: 90%;
    height: 40px;                 /* Slim height */
    padding: 0 12px;
    margin: 12px 0;

    background: rgba(0,0,0,0.78);
    border: 2px solid #00ff66;
    border-radius: 8px;

    color: #00ff99;
    font-size: 15px;

    display: flex;
    align-items: center;

    box-shadow: 0 0 12px rgba(0,255,100,0.35);
    outline: none;
    transition: 0.25s ease;
}

.login-input::placeholder {
    color: #00ff99;
    opacity: 0.9;
}

.login-input:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 20px #00ffcc;
    background: rgba(0,0,0,0.92);
    transform: scale(1.02);
}

/* ===========================
   LOGIN BUTTON (SLIM)
=========================== */
.login-btn {
    width: 100%;
    height: 42px;                 /* Slim button */
    margin-top: 18px;

    background: black;
    border: 2px solid #00ff66;
    border-radius: 8px;

    color: white;
    font-size: 17px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.login-btn:hover {
    box-shadow: 0 0 22px #00ff66;
    transform: translateY(-3px);
}

/* ===========================
   ERROR MESSAGE
=========================== */
.error-text {
    color: red;
    font-size: 15px;
    margin-top: 12px;
}


/* ===========================
   FADE-IN ANIMATION
=========================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media screen and (max-width: 768px) {

    .login-box {
        width: 90%;
        padding: 25px 18px;
        border-radius: 12px;
    }

    .login-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .login-input {
        width: 100%;
        font-size: 16px;
        height: 45px;
        box-sizing: border-box;
    }

    .login-btn {
        height: 48px;
        font-size: 16px;
    }

    body {
        background-position: center;
        background-size: cover;
    }

}
