* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Segoe UI", Arial, sans-serif;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(57, 230, 111, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #020409,
            #050914 55%,
            #020308
        );

    color: #ffffff;

    overflow: hidden;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        linear-gradient(
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    pointer-events: none;
}

.auth-wrapper {
    width: 100%;
    max-width: 430px;

    padding: 25px;

    position: relative;
    z-index: 2;
}

/* LOGO MP TECH LAB */

.brand {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 28px;
}

.brand-logo {
    width: 260px;

    max-width: 80%;

    height: auto;

    display: block;

    filter:
    drop-shadow(
        0 0 18px
        rgba(57, 230, 111, 0.22)
    );
}

/* FOOTER */

.auth-footer {
    margin-top: 24px;

    text-align: center;

    font-size: 10px;

    letter-spacing: 2px;

    color: #39485b;

    text-transform: uppercase;
}

/* ANIMAZIONE INGRESSO AUTH */

.auth-wrapper {
    animation: authFadeIn 0.7s ease-out both;
}

@keyframes authFadeIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 480px) {

    .auth-wrapper {
        padding: 18px;
    }

    .brand-logo {
        width: 230px;
    }

}

/* ================================
   MP TECH LAB — BOOT SCREEN
   ================================ */

#boot-screen {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(57, 230, 111, 0.07),
            transparent 35%
        ),
        #020409;

    z-index: 9999;

    opacity: 1;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.boot-content {
    text-align: center;

    width: 100%;
    padding: 30px;
}

.boot-logo {
    font-size: 28px;

    font-weight: 600;

    letter-spacing: 7px;

    color: #ffffff;

    text-shadow:
    0 0 20px rgba(57, 230, 111, 0.35);
}

.boot-message {
    margin-top: 18px;

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;

    letter-spacing: 2px;

    color: #63E68A;

    min-height: 18px;
}

#login-content {
    opacity: 0;

    transition:
        opacity 0.6s ease;
}

#login-content.login-visible {
    opacity: 1;
}

#boot-screen.boot-hidden {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}