/* ==========================================================
   LOGIN - GERADOR DIOW PLAY
   ========================================================== */

:root{

    --azul:#2563eb;
    --azul-hover:#1d4ed8;

    --bg:#050b16;

    --card:rgba(12,20,35,.90);

    --texto:#ffffff;

    --texto-sec:#aebdd6;

    --borda:rgba(255,255,255,.08);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html,
body{

    width:100%;
    height:100%;
    overflow:hidden;

    font-family:Arial,Helvetica,sans-serif;

    background:var(--bg);

}

.login-body{

    width:100%;
    height:100vh;

    background:#08111f;

}

/* ==========================================================
   LAYOUT
   ========================================================== */

.login-page{

    width:100%;
    min-height:100vh;

    display:grid;

    grid-template-columns:58% 42%;

}

/* ==========================================================
   HERO
   ========================================================== */

.hero{

    position:relative;

    width:100%;
    height:100vh;

    overflow:hidden;

    background:#08111f;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        radial-gradient(circle at top left,
        rgba(37,99,235,.18),
        transparent 45%);

    z-index:2;

    pointer-events:none;

}

.hero::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            rgba(4,10,25,.10),

            rgba(4,10,25,.18)

        );

    z-index:2;

    pointer-events:none;

}

.hero-bg{

    position:absolute;
    inset:0;

    background-image:url("/img/telalogin.png");
    background-repeat:no-repeat;

    /* diminui um pouco para não cortar a logo */
    background-size:85%;

    /* centraliza */
    background-position:center center;

}

/* ==========================================================
   LOGIN
   ========================================================== */

.login-side{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:55px;

    background:

        radial-gradient(

            circle at top,

            rgba(37,99,235,.10),

            transparent 40%

        ),

        #08111f;

}

.login-card{

    position:relative;

    width:100%;

    max-width:520px;

    padding:50px;

    overflow:hidden;

    border-radius:24px;

    background:var(--card);

    border:1px solid var(--borda);

    backdrop-filter:blur(22px);

    box-shadow:

        0 25px 70px rgba(0,0,0,.45),

        0 0 40px rgba(37,99,235,.10);

}

.login-card::before{

    content:"";

    position:absolute;

    width:230px;

    height:230px;

    border-radius:50%;

    top:-120px;

    right:-120px;

    background:rgba(37,99,235,.08);

    filter:blur(70px);

}

.login-card::after{

    content:"";

    position:absolute;

    width:170px;

    height:170px;

    border-radius:50%;

    bottom:-80px;

    left:-80px;

    background:rgba(59,130,246,.06);

    filter:blur(60px);

}

/* ==========================================================
   TÍTULO
   ========================================================== */

.login-card h3{

    color:#fff;

    font-size:34px;

    font-weight:800;

    text-align:center;

    margin-bottom:30px;

}

.login-logo{

    display:flex;

    justify-content:center;

    margin-bottom:40px;

}

.login-logo img{

    width:240px;

    height:auto;

}
/* ==========================================================
   FORMULÁRIO
   ========================================================== */

.login-card form{

    display:flex;
    flex-direction:column;
    gap:22px;

}

/* ==========================================================
   CAMPOS
   ========================================================== */

.field{

    display:flex;
    flex-direction:column;

}

.field label{

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    margin-bottom:10px;

    letter-spacing:.3px;

}

/* ==========================================================
   INPUT
   ========================================================== */

.input{

    position:relative;

    display:flex;

    align-items:center;

}

.input i{

    position:absolute;

    left:18px;

    color:#4b8cff;

    font-size:18px;

    z-index:2;

}

.input input{

    width:100%;

    height:60px;

    padding:0 58px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.08);

    background:#0b1728;

    color:#ffffff;

    font-size:16px;

    transition:.25s;

}

.input input::placeholder{

    color:#7f92b2;

}

.input input:focus{

    outline:none;

    border-color:var(--azul);

    box-shadow:

        0 0 0 4px rgba(37,99,235,.15);

}

.input:hover input{

    border-color:rgba(59,130,246,.35);

}

/* ==========================================================
   BOTÃO MOSTRAR SENHA
   ========================================================== */

.toggle{

    position:absolute;

    right:12px;

    width:40px;

    height:40px;

    display:flex;

    justify-content:center;

    align-items:center;

    border:none;

    border-radius:10px;

    background:transparent;

    color:#5fa3ff;

    cursor:pointer;

    transition:.25s;

    z-index:3;

}

.toggle:hover{

    background:rgba(37,99,235,.12);

    color:#ffffff;

}

/* ==========================================================
   BOTÃO LOGIN
   ========================================================== */

.btn-login{

    width:100%;

    height:60px;

    margin-top:8px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    background:

        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    color:#ffffff;

    font-size:16px;

    font-weight:700;

    letter-spacing:.4px;

    transition:.25s;

}

.btn-login i{

    margin-right:8px;

}

.btn-login:hover{

    transform:translateY(-2px);

    box-shadow:

        0 15px 35px rgba(37,99,235,.35);

}

.btn-login:active{

    transform:scale(.98);

}

/* ==========================================================
   BOTÃO TELEGRAM
   ========================================================== */

.btn-telegram{

    width:100%;

    height:58px;

    margin-top:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    text-decoration:none;

    border-radius:14px;

    background:#229ED9;

    color:#ffffff;

    font-size:15px;

    font-weight:700;

    transition:.25s;

}

.btn-telegram i{

    font-size:20px;

}

.btn-telegram:hover{

    background:#1b8ac4;

    transform:translateY(-2px);

}
/* ==========================================================
   RODAPÉ
   ========================================================== */

.login-card footer{

    margin-top:35px;

    text-align:center;

    color:#8ea6c8;

    font-size:13px;

    line-height:1.8;

}

/* ==========================================================
   ANIMAÇÕES
   ========================================================== */

.login-card{

    animation:fadeRight .7s ease;

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/* ==========================================================
   TRANSIÇÕES
   ========================================================== */

.input input,
.toggle,
.btn-login,
.btn-telegram{

    transition:.25s;

}

/* ==========================================================
   EFEITOS VISUAIS
   ========================================================== */

.btn-login:hover{

    filter:brightness(1.05);

}

.btn-telegram:hover{

    filter:brightness(1.05);

}

.login-card{

    border-top:1px solid rgba(255,255,255,.10);

    border-left:1px solid rgba(255,255,255,.08);

}

.input input{

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,.03);

}

.input input:focus{

    background:#0d1b31;

}

/* ==========================================================
   SELEÇÃO
   ========================================================== */

::selection{

    background:#2563eb;

    color:#ffffff;

}

/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#08111f;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#3b82f6;

}

/* ==========================================================
   PEQUENOS AJUSTES
   ========================================================== */

.login-logo img{

    user-select:none;

    -webkit-user-drag:none;

}

.hero-bg{

    user-select:none;

    -webkit-user-drag:none;

}

.btn-login:focus,
.btn-telegram:focus,
.toggle:focus{

    outline:none;

}

.input input{

    caret-color:#3b82f6;

}

.field:last-child{

    margin-bottom:0;

}

.login-card *{

    position:relative;

    z-index:2;

}
/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width:1200px){

    .login-page{

        grid-template-columns:52% 48%;

    }

    .login-side{

        padding:35px;

    }

    .login-card{

        max-width:480px;

        padding:40px;

    }

}

@media (max-width:992px){

    .login-page{

        grid-template-columns:1fr;

    }

    .hero{

        height:300px;
        min-height:300px;

    }

    .hero-bg{

        background-position:center;

    }

    .login-side{

        padding:30px;

    }

    .login-card{

        max-width:520px;

    }

}

@media (max-width:768px){

    html,
    body{

        overflow:auto;

    }

    .login-page{

        display:flex;

        flex-direction:column;

        min-height:100vh;

    }

    .hero{
        display:none;
    }

    .hero-bg{

        background-size:cover;

        background-position:center;

    }

    .login-side{
    width:100%;
    min-height:100vh;
    padding:20px;
    display:flex;
    justify-content:center;
    align-items:center;
}

    .login-card{

        width:100%;

        max-width:420px;

        padding:30px;

    }

    .login-card h3{

        font-size:28px;

    }

    .login-logo img{

        width:180px;

    }

}

@media (max-width:480px){

    .hero{

        height:210px;

        min-height:210px;

    }

    .login-side{

        padding:15px;

    }

    .login-card{

        padding:24px;

        border-radius:18px;

    }

    .login-card h3{

        font-size:24px;

        margin-bottom:20px;

    }

    .login-logo{

        margin-bottom:25px;

    }

    .login-logo img{

        width:150px;

    }

    .input input{

        height:56px;

        font-size:15px;

    }

    .btn-login,
    .btn-telegram{

        height:56px;

        font-size:15px;

    }

    .login-card footer{

        font-size:12px;

        margin-top:25px;

    }

    @supports (height: 100dvh){

    .login-body,
    .login-page,
    .login-side{
        min-height:100dvh;
    }

}

}

/* ==========================================================
   FIM DO ARQUIVO
   ========================================================== */