/* ===============================
   BASE
================================ */
.login-field {
    display: flex;
    justify-content: center;
    position: relative;
}
.field-lines {
    position: absolute;
    inset: 6%;
    border: 2px dashed rgba(255,255,255,.12);
    border-radius: 18px;
    pointer-events: none;
}
.login-field::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(34,197,94,.12),
        transparent 70%
    );
    filter: blur(18px);
}

/* ===============================
   OVERLAY / ILUMINA脟脙O
================================ */
.stadium-overlay {
    position: absolute;
    inset: 0;
    /*background: radial-gradient(*/
    /*    circle at center,*/
    /*    rgba(0,0,0,.2),*/
    /*    rgba(0,0,0,.75)*/
    /*);*/
    z-index: 1;
}

/* ===============================
   CENA DO GESTOR
================================ */
/*.manager-scene {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: url('/images/manager-field.png') center bottom no-repeat;*/
/*    background-size: contain;*/
/*    opacity: .18;*/
/*    filter: blur(1px);*/
/*    z-index: 2;*/
/*}*/

/* ===============================
   CARD LOGIN
================================ */
.login-card {
    width: 100%;
    max-width: 380px;
    padding: 28px 24px;

    position: relative;
    z-index: 3;
    width: 75%;
    padding: 36px;
    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(2,6,23,.85),
            rgba(2,6,23,.65)
        );

    backdrop-filter: blur(14px);


    box-shadow:

        /* sombra externa */
        0 25px 60px rgba(0,0,0,.65),

}
/* 🔥 BORDA COM BLUR */
/* 🔥 BORDA DARK AZUL */
/* 🔥 BORDA METAL PRETO ESCOVADO */
.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    padding: 3px; /* espessura */

    background: linear-gradient(
        145deg,
        #0f1115 0%,
        #1a1d22 20%,
        #0c0e12 40%,
        #1c2026 60%,
        #0a0c10 80%,
        #14171c 100%
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;
}



/* ===============================
   HEADER
================================ */
.login-header {
    text-align: center;
    margin-bottom: 10px;
}

.login-header h2 {
    color: #e5e7eb;
    font-size: 1.4rem;
    margin-bottom: 4px;
    letter-spacing: -.5px;
}

.login-header span {
    color: #9ca3af;
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
    margin-top: 4px;
    color: #a7f3d0;
}

/* ===============================
   FORM
================================ */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: .85rem;
    color: #9ca3af;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: #020617;
    border: 1px solid #1e293b;
    color: #e5e7eb;
    outline: none;
    transition: all .2s ease;
    height: 44px;
    font-size: 0.95rem;
}

.input-group input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,.3);
}

/* ===============================
   BOT脙O
================================ */
.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    
    margin-top: 18px;
    height: 46px;
    font-size: 1rem;
    font-weight: 600;

    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;

    letter-spacing: .3px;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(34,197,94,.45),
        inset 0 1px 0 rgba(255,255,255,.25);
}
/* ===============================
   INPUT DARK MODE (LOGIN)
================================ */
.input-group input {
}

/* Placeholder */
.input-group input::placeholder {
    color: #64748b;
}

/* Focus */
.input-group input:focus {
    background: #020617;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,.35);
}

/* Autofill do Chrome (remove branco) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e5e7eb;
    -webkit-box-shadow: 0 0 0px 1000px #020617 inset;
    transition: background-color 9999s ease-in-out 0s;
}


.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(34,197,94,.35);
}

/* ===============================
   ERRO
================================ */
.alert-error {
    background: rgba(220,38,38,.15);
    border: 1px solid rgba(220,38,38,.4);
    color: #fecaca;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: .9rem;
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.login-logo img {
    width: 120px;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 480px) {
    .login-field {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* Estado inicial */
.animate-login-header {
    opacity: 0;
    transform: translateY(16px);
    animation: slideUpFade 0.6s ease-out forwards;
    animation-delay: 0.25s; /* atraso ap贸s o logo */
}

/* Keyframes */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.btn-register-outline {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 12px;
    padding: 12px;

    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.5);

    background: transparent;
    color: #22c55e;

    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    transition: all .2s ease;
}

.btn-register-outline:hover {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border-color: #22c55e;
}