/* ==========================================================
   LOGIN - GERADOR DIOW
   VISUAL ORIGINAL - AZUL / PRETO
   LOGOS COM FUNDO TRANSPARENTE
   ========================================================== */

:root{
    --azul:#2563eb;
    --azul-hover:#1d4ed8;
    --azul-claro:#3b82f6;

    --bg:#050b16;
    --bg-2:#08111f;
    --card:rgba(12,20,35,.90);

    --texto:#ffffff;
    --texto-sec:#aebdd6;
    --texto-muted:#7f92b2;

    --borda:rgba(255,255,255,.08);
}

/* ==========================================================
   RESET
   ========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;

    font-family:Arial,Helvetica,sans-serif;

    background:var(--bg);
    color:var(--texto);
}

body{
    overflow:hidden;
}

img{
    max-width:100%;
}

button,
input{
    font-family:inherit;
}

/* ==========================================================
   BODY
   ========================================================== */

.login-body{
    width:100%;
    min-height:100vh;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(37,99,235,.10),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #040914 0%,
            #07101d 55%,
            #091426 100%
        );
}

/* ==========================================================
   LAYOUT
   ========================================================== */

.login-page{
    position:relative;

    width:100%;
    min-height:100vh;

    display:grid;
    grid-template-columns:58% 42%;

    overflow:hidden;

    background:
        linear-gradient(
            110deg,
            #050b16 0%,
            #07101c 48%,
            #081426 100%
        );
}

/* ==========================================================
   HERO
   ========================================================== */

.hero{
    position:relative;

    width:100%;
    height:100vh;

    overflow:hidden;

    background:
        radial-gradient(
            circle at top,
            rgba(37,99,235,.10),
            transparent 40%
        ),
        #08111f;
}

.hero::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.015),
            transparent 55%
        );

    z-index:1;
    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-title{
    position:absolute;

    left:50%;
    top:50%;

    width:100%;

    transform:
        translate(-50%,-50%)
        rotate(-7deg);

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    line-height:.72;

    user-select:none;

    z-index:3;

    filter:
        drop-shadow(0 16px 18px rgba(0,0,0,.85))
        drop-shadow(0 28px 45px rgba(0,0,0,.45));
}

.hero-title span,
.hero-title strong{
    display:block;

    font-family:
        Impact,
        Haettenschweiler,
        "Arial Black",
        sans-serif;

    font-weight:900;
    font-style:normal;

    text-transform:uppercase;

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

    color:transparent;

    -webkit-text-stroke:2px rgba(255,255,255,.20);

    position:relative;
}

/* GERADOR */

.hero-title span{
    font-size:clamp(86px,10vw,175px);

    letter-spacing:-7px;

    margin-left:-7%;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #eeeeee 18%,
            #cfcfcf 43%,
            #8f8f8f 55%,
            #e7e7e7 72%,
            #a0a0a0 100%
        );

    text-shadow:
        0 3px 0 #666,
        0 6px 0 #303030;
}

/* DIOW */

.hero-title strong{
    font-size:clamp(125px,14vw,245px);

    letter-spacing:-11px;

    margin-top:12px;

    margin-left:8%;

    background:
        linear-gradient(
            180deg,
            #f4f4f4 0%,
            #d8d8d8 20%,
            #9b9b9b 48%,
            #6d6d6d 55%,
            #c9c9c9 73%,
            #858585 100%
        );

    text-shadow:
        0 4px 0 #555,
        0 8px 0 #242424,
        0 16px 25px rgba(0,0,0,.75);
}

/* brilho metálico */

.hero-title span::before,
.hero-title strong::before{
    content:"";

    position:absolute;

    left:8%;
    right:8%;
    top:7%;

    height:12%;

    border-radius:50%;

    background:rgba(255,255,255,.16);

    filter:blur(9px);

    pointer-events:none;
}

.hero-title span::after,
.hero-title strong::after{
    content:"";

    position:absolute;

    left:5%;
    right:5%;
    bottom:-9px;

    height:3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.65),
            transparent
        );

    opacity:.55;

    pointer-events:none;
}

/* ==========================================================
   ÁREA LOGIN
   ========================================================== */

.login-side{
    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100vh;

    padding:55px;

    background:
        radial-gradient(
            circle at top,
            rgba(37,99,235,.10),
            transparent 40%
        ),
        #08111f;
}

.login-side::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(37,99,235,.025),
            transparent
        );

    pointer-events:none;
}

/* ==========================================================
   CARD
   ========================================================== */

.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);
    -webkit-backdrop-filter:blur(22px);

    box-shadow:
        0 25px 70px rgba(0,0,0,.45),
        0 0 40px rgba(37,99,235,.10);

    animation:fadeRight .7s ease;
}

.login-card::before{
    content:"";

    position:absolute;

    width:230px;
    height:230px;

    border-radius:50%;

    top:-120px;
    right:-120px;

    background:rgba(37,99,235,.07);

    filter:blur(70px);

    pointer-events:none;
}

.login-card::after{
    content:"";

    position:absolute;

    width:170px;
    height:170px;

    border-radius:50%;

    bottom:-80px;
    left:-80px;

    background:rgba(37,99,235,.05);

    filter:blur(60px);

    pointer-events:none;
}

.login-card *{
    position:relative;
    z-index:2;
}

/* ==========================================================
   TÍTULO
   ========================================================== */

.login-card h3{
    color:#fff;

    font-size:34px;
    font-weight:800;

    text-align:center;

    margin-bottom:30px;

    letter-spacing:-.5px;
}

/* ==========================================================
   LOGO
   ========================================================== */

.login-logo{
    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:40px;
}

.login-logo img{
    width:240px;
    height:auto;

    user-select:none;
    -webkit-user-drag:none;

    filter:
        drop-shadow(0 12px 20px rgba(0,0,0,.45));
}

/* ==========================================================
   FORMULÁRIO
   ========================================================== */

.login-card form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* ==========================================================
   CAMPOS
   ========================================================== */

.field{
    display:flex;
    flex-direction:column;
}

.field label{
    color:#fff;

    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:3;
}

.input input{
    width:100%;
    height:60px;

    padding:0 58px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.08);

    background:#0b1728;

    color:#fff;

    font-size:16px;

    transition:.25s;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03);
}

.input input::placeholder{
    color:#7f92b2;
}

.input input:hover{
    border-color:rgba(59,130,246,.35);
}

.input input:focus{
    outline:none;

    border-color:var(--azul);

    box-shadow:
        0 0 0 4px rgba(37,99,235,.15);
}

.input input:focus{
    background:#0d1b31;
}

/* ==========================================================
   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:#fff;
}

.toggle:active{
    transform:scale(.94);
}

/* ==========================================================
   BOTÃO LOGIN
   ========================================================== */

.btn-login{
    width:100%;
    height:60px;

    margin-top:8px;

    display:flex;
    justify-content:center;
    align-items:center;

    border:none;
    border-radius:14px;

    cursor:pointer;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    color:#fff;

    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);

    filter:brightness(1.05);
}

.btn-login:active{
    transform:scale(.98);
}

/* ==========================================================
   TELEGRAM
   ========================================================== */

.btn-telegram{
    width:100%;
    height:58px;

    display:flex;
    justify-content:center;
    align-items:center;

    gap:12px;

    text-decoration:none;

    border-radius:14px;

    background:#229ED9;

    color:#fff;

    font-size:15px;
    font-weight:700;

    transition:.25s;
}

.btn-telegram i{
    font-size:20px;
}

.btn-telegram:hover{
    background:#1b8ac4;

    transform:translateY(-2px);

    filter:brightness(1.05);
}

/* ==========================================================
   RODAPÉ
   ========================================================== */

.login-card footer{
    margin-top:35px;

    text-align:center;

    color:#8ea6c8;

    font-size:13px;

    line-height:1.8;
}

/* ==========================================================
   TRANSIÇÕES
   ========================================================== */

.input input,
.toggle,
.btn-login,
.btn-telegram{
    transition:.25s;
}

/* ==========================================================
   FOCO
   ========================================================== */

.btn-login:focus,
.btn-telegram:focus,
.toggle:focus{
    outline:none;
}

.btn-login:focus-visible,
.btn-telegram:focus-visible,
.toggle:focus-visible{
    outline:2px solid rgba(96,165,250,.60);
    outline-offset:3px;
}

/* ==========================================================
   CARET
   ========================================================== */

.input input{
    caret-color:#5fa3ff;
}

/* ==========================================================
   SELEÇÃO
   ========================================================== */

::selection{
    background:#2563eb;
    color:#fff;
}

/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#08111f;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#3b82f6;
}

.field:last-child{
    margin-bottom:0;
}

/* ==========================================================
   ANIMAÇÃO
   ========================================================== */

@keyframes fadeRight{
    from{
        opacity:0;
        transform:translateX(40px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }
}

/* ==========================================================
   RESPONSIVO - 1200PX
   ========================================================== */

@media (max-width:1200px){

    .login-page{
        grid-template-columns:52% 48%;
    }

    .login-side{
        padding:35px;
    }

    .login-card{
        max-width:480px;
        padding:40px;
    }

    .hero-title{
        width:100%;

        transform:
            translate(-50%,-50%)
            rotate(-6deg);
    }

    .hero-title span{
        font-size:76px;
        letter-spacing:-5px;
    }

    .hero-title strong{
        font-size:104px;
        letter-spacing:-7px;
    }
}

/* ==========================================================
   RESPONSIVO - 992PX
   ========================================================== */

@media (max-width:992px){

    body{
        overflow:auto;
    }

    .login-page{
        grid-template-columns:1fr;
    }

    .hero{
        height:300px;
        min-height:300px;
    }

    .hero-title{
        width:100%;

        transform:
            translate(-50%,-50%)
            rotate(-5deg);
    }

    .hero-title span{
        font-size:50px;
        letter-spacing:-3px;
    }

    .hero-title strong{
        font-size:68px;
        letter-spacing:-4px;
    }

    .login-side{
        min-height:auto;
        padding:30px;
    }

    .login-card{
        max-width:520px;
    }
}

/* ==========================================================
   RESPONSIVO - 768PX
   ========================================================== */

@media (max-width:768px){

    html,
    body{
        overflow:auto;
    }

    .login-page{
        display:flex;
        flex-direction:column;
        min-height:100vh;
    }

    .hero{
        display:none;
    }

    .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;
    }
}

/* ==========================================================
   RESPONSIVO - 480PX
   ========================================================== */

@media (max-width:480px){

    .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;
    }

    .login-card form{
        gap:18px;
    }

    .field label{
        font-size:13px;
        margin-bottom:8px;
    }

    .input input{
        height:56px;
        font-size:15px;
        padding-left:52px;
    }

    .input i{
        left:16px;
        font-size:17px;
    }

    .toggle{
        right:9px;
    }

    .btn-login,
    .btn-telegram{
        height:56px;
        font-size:15px;
    }

    .login-card footer{
        font-size:12px;
        margin-top:25px;
    }
}

/* ==========================================================
   ALTURA DINÂMICA
   ========================================================== */

@supports (height:100dvh){

    .login-body,
    .login-page,
    .login-side{
        min-height:100dvh;
    }

    .hero{
        height:100dvh;
    }
}

/* ==========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================== */

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
    }
}

/* ==========================================================
   FIM DO ARQUIVO
   ========================================================== */
