body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: black;
    color: white;
}

/* BACKGROUND GLOW */
.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(57,255,20,0.15), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(57,255,20,0.1), transparent 40%),
        black;
    z-index: -1;
}

/* CENTER */
.auth-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
.auth-card {
    width: 360px;
    padding: 40px;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(57,255,20,0.2);

    box-shadow:
        0 0 40px rgba(57,255,20,0.2),
        inset 0 0 20px rgba(57,255,20,0.1);

    text-align: center;
}


/* LOGO */
.logo {
    width: 70px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px #39FF14);
}

/* TEXT */
h2 {
    margin: 10px 0;
    margin-bottom: 40px;
}

.subtitle {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

/* INPUTS */
input {
    width: 320px;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 25px;

    border-radius: 30px;
    border: 1px solid rgba(57,255,20,0.3);

    background: transparent;
    color: white;
    outline: none;
}

input:focus {
    border-color: #39FF14;
    box-shadow: 0 0 10px #39FF14;
}

/* PASSWORD */
.password-box {
    position: relative;
}

.password-box span {
    position: absolute;
    right: 15px;
    top: 12px;
    cursor: pointer;
}

/* BUTTON */
button {
    width: 190px;
    padding: 12px;
    border-radius: 30px;
    border: none;

    background: linear-gradient(135deg, #39FF14, #00ff88);
    color: black;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    box-shadow: 0 0 20px #39FF14;
    transform: scale(1.03);
}

/* TEXT */
.bottom-text {
    margin-top: 15px;
    font-size: 14px;
}

.bottom-text a {
    color: #39FF14;
    text-decoration: none;
}

/* ERROR */
#errorMsg {
    color: red;
    margin-top: 10px;
}

/* ============================= */
/* 📱 MOBILE RESPONSIVE (LOGIN/SIGNUP) */
/* ============================= */
@media (max-width: 768px) {

    body {
        overflow: hidden;
    }

    /* Center container properly */
    .auth-container {
        padding: 20px;
        align-items: center;
        justify-content: center;
    }

    /* CARD FULL MOBILE LOOK */
    .auth-card {
        width: 100%;
        max-width: 360px;
        padding: 30px 20px;
        border-radius: 25px;
        background: rgba(255,255,255,0.04);
        backdrop-filter: blur(25px);

        border: 1px solid rgba(57,255,20,0.25);

        box-shadow:
            0 0 60px rgba(57,255,20,0.25),
            inset 0 0 25px rgba(57,255,20,0.12);
    }

    /* LOGO */
    .logo {
        width: 55px;
        margin-bottom: 15px;
    }

    /* HEADING */
    h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    /* LABELS */
    label {
        font-size: 13px;
        text-align: center;
        display: block;
    }

    /* INPUTS */
    input {
        padding: 12px;
        font-size: 14px;
        border-radius: 25px;
        margin-bottom: 20px;
    }

    /* BUTTON */
    button {
        margin-top: 10px;
        padding: 13px;
        border-radius: 25px;
        font-size: 15px;
    }

    /* BOTTOM TEXT */
    .bottom-text {
        font-size: 13px;
        margin-top: 15px;
    }

    /* ERROR TEXT */
    #errorMsg {
        font-size: 13px;
    }

    /* BACKGROUND GLOW INTENSITY */
    .bg {
        background:
            radial-gradient(circle at 50% 30%, rgba(57,255,20,0.25), transparent 40%),
            radial-gradient(circle at 50% 80%, rgba(57,255,20,0.15), transparent 50%),
            black;
    }
}