/* ===== LOGIN PAGE — Dark Glassmorphism ===== */

#app:has(#loginContainer) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

#msg {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    text-align: center;
    color: #00ff00;
    letter-spacing: -1px;
    line-height: 1.2;
    animation: fadeInDown 0.8s ease-out;
    font-family: 'Courier New', monospace;
} 

#msg span {
    /* plain green text for hacker aura */
    -webkit-text-fill-color: #00ff00;
    color: #00ff00;
} 

#loginContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(500px, 90vw);
    padding: 40px 36px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #00ff00;
    border-radius: 12px;
    box-shadow:
        0 8px 32px rgba(0, 255, 0, 0.3),
        inset 0 1px 0 rgba(0, 255, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
} 

#loginContainer label {
    font-size: 13px;
    font-weight: 500;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    margin-left: 2px;
    font-family: 'Courier New', monospace;
} 

#loginContainer input {
    all: unset;
    height: 48px;
    width: 100%;
    padding: 0 16px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00ff00;
    border-radius: 8px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    box-sizing: border-box;
} 

#loginContainer input:focus {
    border-color: #00ff00;
    box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.2);
    background: rgba(0, 0, 0, 0.7);
} 

#loginContainer input::placeholder {
    color: rgba(0, 255, 0, 0.4);
} 

#loginContainer input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

#btnLogin {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-top: 8px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #000000;
    background: #00ff00;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.4);
} 

#btnLogin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.6);
    background: #6f6;
}

#btnLogin:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

#iconVisibil {
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: absolute;
    right: 52px;
    bottom: 131px;
    opacity: 0.4;
    filter: invert(1);
    transition: opacity 0.2s ease;
}

#iconVisibil:hover {
    opacity: 0.8;
}

/* ===== 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);
    }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    #loginContainer {
        padding: 30px 24px;
    }

    #iconVisibil {
        right: 40px;
        bottom: 119px;
    }
}