/* =========================
   SIOP LOGIN UI
   ESTILO DO PORTAL DE ACESSO
========================= */

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #060b14;
    overflow-x: hidden;
    padding: 20px 0;
}

:root {
    --circle-radius: 280px;
}

/* CONTAINER DA ANIMAÇÃO CIRCULAR */
.login-wrapper {
    position: relative;
    width: calc(var(--circle-radius) * 2 + 40px);
    height: calc(var(--circle-radius) * 2 + 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-circle span {
    position: absolute;
    width: 3px;
    height: 30px;
    background: #111b2e;
    border-radius: 4px;
    top: calc(50% - var(--circle-radius));
    transform-origin: center var(--circle-radius);
    animation: animateLoader 2.5s linear infinite;
}

@keyframes animateLoader {
    0% {
        background: #111b2e;
        box-shadow: none;
    }

    50% {
        background: var(--primary);
        box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    }

    100% {
        background: #111b2e;
        box-shadow: none;
    }
}

/* CARD DE LOGIN CENTRALIZADO */
.login-card {
    position: relative;
    width: 380px;
    padding: 40px;
    border-radius: 24px;
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
}

.login-header p {
    color: var(--text-soft);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.login-form input {
    width: 100%;
    margin-top: 8px;
    background: #020617 !important;
    border: 1px solid var(--border) !important;
    color: white !important;
    padding: 12px 16px;
    border-radius: 12px;
    outline: none;
    transition: 0.3s;
}

.login-form input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary-glow);
}

.login-form .btn-primary {
    width: 100%;
    margin-top: 10px;
    letter-spacing: 2px;
    padding: 10px;
    font-weight: 700;
    font-size: 14px;
}

/* RESPONSIVIDADE LOGIN */
@media (max-width: 768px) {
    :root {
        --circle-radius: 223px;
    }

    .login-card {
        width: 340px;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    :root {
        --circle-radius: 223px;
    }

    .loader-circle span {
        width: 2px;
        height: 20px;
    }

    .login-card {
        width: 300px;
        padding: 25px 20px;
    }

    .login-header .logo {
        font-size: 1.8rem;
    }

    .login-header p {
        font-size: 0.7rem;
    }
}