*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


.error{

    width:100%;

    padding:14px;

    margin-bottom:16px;

    border-radius:16px;

    background:
            rgba(239,68,68,0.12);

    border:
            1px solid rgba(239,68,68,0.25);

    color:#fca5a5;

    text-align:center;

    font-weight:600;
}
body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    font-family:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            sans-serif;

    background:
            radial-gradient(
                    circle at top,
                    #24195c 0%,
                    #131b46 45%,
                    #0b1029 100%
            );

    overflow:hidden;
}

/* CARD */

.box{

    width:100%;
    max-width:300px;

    padding:18px 18px 16px;

    border-radius:28px;

    text-align:center;

    position:relative;

    overflow:hidden;

    background:
            rgba(7,12,30,0.92);

    backdrop-filter:
            blur(18px);

    border:
            1px solid rgba(168,85,247,0.16);

    box-shadow:
            0 0 90px rgba(124,58,237,0.18),
            0 25px 80px rgba(0,0,0,0.55);
}

/* BORDA GLOW */

.box::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:30px;

    pointer-events:none;

    border:
            1px solid rgba(168,85,247,0.10);
}

/* LOGO */

.logo-login{

    width:420px;

    height:auto;

    display:block;

    position:relative;

    left:50%;

    transform:translateX(-50%);

    margin:
            -78px 0 -96px 0;

    object-fit:contain;

    pointer-events:none;

    user-select:none;

    -webkit-user-drag:none;

    filter:
            drop-shadow(
                    0 0 20px rgba(168,85,247,0.30)
            );
}
form{
    width:100%;
}


/* INPUT */

input{

    width:100%;

    display:block;

    box-sizing:border-box;

    padding:15px 16px;

    margin-bottom:14px;

    border:none;

    border-radius:16px;

    background:
            rgba(255,255,255,0.06);

    color:white;

    font-size:16px;

    outline:none;

    transition:0.2s;
}

input::placeholder{

    color:
            rgba(255,255,255,0.55);
}

input:focus{

    background:
            rgba(255,255,255,0.08);

    box-shadow:
            0 0 0 2px rgba(168,85,247,0.30);
}

/* BOTÃO */

button{

    width:100%;

    padding:15px;

    margin-top:4px;

    border:none;

    border-radius:16px;

    background:
            linear-gradient(
                    135deg,
                    #7c3aed,
                    #d946ef
            );

    color:white;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:0.25s;

    box-shadow:
            0 10px 28px rgba(124,58,237,0.35);
}

button:hover{

    transform:
            translateY(-2px);

    box-shadow:
            0 16px 38px rgba(124,58,237,0.45);
}

/* LINK */

a{

    display:inline-block;

    margin-top:18px;

    color:#c084fc;

    text-decoration:none;

    font-size:15px;
}

a:hover{

    opacity:.85;
}

/* ERRO */

.erro{

    color:#fb7185;

    margin-bottom:14px;

    font-size:14px;
}

/* MOBILE */

@media(max-width:600px){

    .box{

        width:100%;
        max-width:290px;

        padding:10px 18px 16px;

        border-radius:30px;

        text-align:center;

        position:relative;

        overflow:hidden;

        background:
                rgba(7,12,30,0.94);

        backdrop-filter:
                blur(18px);

        border:
                1px solid rgba(168,85,247,0.14);

        box-shadow:
                0 0 60px rgba(124,58,237,0.14),
                0 20px 50px rgba(0,0,0,0.55);
    }
}
a.link-secondary{

    margin-top:0;

    font-size:14px;

    color:
            rgba(255,255,255,0.45);

    text-decoration:none;

    transition:0.2s;
}

a.link-secondary:hover{

    color:
            rgba(255,255,255,0.70);
}