*{box-sizing:border-box;}
html,
body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
}
body{
    min-height:100vh;
    min-height:100dvh;
    background:
        linear-gradient(
            135deg,
            #eef4ff 0%,
            #f8f9fc 50%,
            #eef7ff 100%
        );
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    color:#202633;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

/* ==============================
   CONTAINER
   ============================== */
.container{
    width:100%;
    max-width:460px;
}

/* ==============================
   CARD
   ============================== */
.card{
    width:100%;
    background:#ffffff;
    border-radius:20px;
    padding:32px;
    box-shadow:
        0 15px 45px
        rgba(24,39,75,.12);

    border:1px solid
        rgba(0,0,0,.04);
}

/* ==============================
   LOGO
   ============================== */
.logo{
    width:72px;
    height:72px;
    margin:0 auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #0056d6
        );

    color:white;
    font-size:34px;
    box-shadow:
        0 8px 20px
        rgba(13,110,253,.25);
}


/* ==============================
   TITULO
   ============================== */

h1{
    margin:0;
    text-align:center;
    font-size:26px;
    line-height:1.25;
    font-weight:700;
}

.description{
    margin:10px auto 28px;
    max-width:360px;
    text-align:center;
    color:#6c757d;
    font-size:15px;
    line-height:1.5;
}


/* ==============================
   FORM
   ============================== */

.form-group{
    margin-bottom:18px;
}

label{
    display:block;
    margin-bottom:7px;
    font-size:14px;
    font-weight:600;
    color:#343a40;
}

input,
select{
    display:block;
    width:100%;
    min-height:48px;
    padding:
        12px
        14px;
    border:1px solid #d9dee7;
    border-radius:10px;
    background:#fff;
    color:#202633;
    font-size:16px;
    outline:none;
    transition:
        border-color .2s,
        box-shadow .2s;
    -webkit-appearance:none;
}

input:focus,
select:focus{
    border-color:#0d6efd;
    box-shadow:
        0 0 0 3px
        rgba(13,110,253,.12);
}


/* ==============================
   SELECT
   ============================== */
.select-wrapper{
    position:relative;
}

.select-wrapper::after{
    content:"⌄";
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    pointer-events:none;
    color:#6c757d;
    font-size:18px;
}

select{

    padding-right:40px;

}

/* ==============================
   BOTÃO
   ============================== */
button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
    min-height:50px;
    margin-top:25px;
    padding:13px 18px;
    border:0;
    border-radius:10px;
    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #0056d6
        );

    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    box-shadow:
        0 7px 18px
        rgba(13,110,253,.20);

    transition:
        transform .15s,
        box-shadow .15s,
        opacity .15s;
}

button:hover{
    transform:translateY(-1px);
    box-shadow:
        0 9px 22px
        rgba(13,110,253,.28);
}

button:active{
    transform:translateY(0);
}


button:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

/* ==============================
   STATUS
   ============================== */

.status{
    display:none;
    margin-top:18px;
    padding:13px 15px;
    border-radius:10px;
    font-size:14px;
    line-height:1.45;
    text-align:center;
}

.status.success{
    display:block;
    background:#dff5e7;
    color:#146c2e;
    border:1px solid #bce8ca;
}

.status.error{
    display:block;
    background:#fde2e5;
    color:#a51d2d;
    border:1px solid #f5c2c7;
}

.status.info{
    display:block;
    background:#e0f2ff;
    color:#075985;
    border:1px solid #b6e0fe;
}


/* ==============================
   RODAPÉ
   ============================== */

.footer{
    text-align:center;
    margin-top:18px;
    color:#8a94a6;
    font-size:12px;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width:600px){

    body{

        padding:12px;

        align-items:center;

    }

    .card{

        padding:25px 20px;

        border-radius:17px;

    }

    .logo{

        width:64px;

        height:64px;

        border-radius:17px;

        font-size:30px;

        margin-bottom:15px;

    }

    h1{

        font-size:23px;

    }

    .description{

        font-size:14px;

        margin-bottom:23px;

    }

}


/* ==============================
   CELULARES PEQUENOS
   ============================== */

@media (max-width:380px){

    body{

        padding:8px;

    }

    .card{

        padding:22px 16px;

        border-radius:15px;

    }

    .logo{

        width:58px;

        height:58px;

        font-size:27px;

    }

    h1{

        font-size:21px;

    }

    .description{

        font-size:13px;

    }

    input,
    select{

        min-height:46px;

        font-size:16px;

    }

    button{

        min-height:48px;

        font-size:15px;

    }

}


/* ==============================
   TELA MUITO ALTA / DESKTOP
   ============================== */

@media (min-width:601px){

    body{

        padding:30px;

    }

}


/* ==============================
   ACESSIBILIDADE
   ============================== */

@media (prefers-reduced-motion:reduce){

    *{

        transition:none !important;

    }

}
