/* =========================================================
   MF EDUCAR v013.9
   LOGIN COMPACTO RESPONSIVO - WAMP
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#eef2f7;
    color:#0f172a;
}

/* =========================================================
   WRAPPER
========================================================= */

.mf-login-wrapper{

    width:100%;
    min-height:100vh;

    padding:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#eef2f7;
}

/* =========================================================
   CARD
========================================================= */

.mf-login-card{

    width:100%;
    max-width:980px;

    min-height:560px;

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    display:grid;
    grid-template-columns:48% 52%;

    box-shadow:
        0 14px 38px rgba(15,23,42,.14);
}

/* =========================================================
   ESQUERDA
========================================================= */

.mf-login-left{

    background:
        linear-gradient(
            160deg,
            #123d8c 0%,
            #1767f2 100%
        );

    color:#ffffff;

    padding:42px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.mf-login-left h1{

    font-size:48px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:18px;
}

.mf-login-left h2{

    color:#40c7ff;

    font-size:20px;

    font-weight:800;

    margin-bottom:36px;
}

.mf-login-left p{

    font-size:22px;

    line-height:1.45;

    font-weight:700;
}

/* =========================================================
   DIREITA
========================================================= */

.mf-login-right{

    padding:42px 48px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.mf-login-right h2{

    color:#123a7c;

    font-size:42px;

    line-height:1.08;

    font-weight:800;

    margin-bottom:16px;
}

.mf-login-right p{

    color:#64748b;

    font-size:17px;

    margin-bottom:28px;
}

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

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

.mf-form-group label{

    display:block;

    margin-bottom:8px;

    color:#0f172a;

    font-size:17px;

    font-weight:800;
}

.mf-form-group input,
.mf-form-group select,
.mf-form-group textarea{

    width:100%;

    min-height:48px;

    padding:12px 15px;

    border:1px solid #cbd5e1;

    border-radius:12px;

    background:#eaf2ff;

    color:#0f172a;

    font-size:15px;

    outline:none;

    transition:.2s;
}

.mf-form-group input:focus,
.mf-form-group select:focus,
.mf-form-group textarea:focus{

    border-color:#2563eb;

    background:#ffffff;

    box-shadow:
        0 0 0 4px rgba(37,99,235,.12);
}

/* =========================================================
   BOTÃO
========================================================= */

.mf-btn{

    width:100%;

    min-height:52px;

    border:none;

    border-radius:12px;

    background:
        linear-gradient(
            90deg,
            #1578ff 0%,
            #244fdb 100%
        );

    color:#ffffff;

    font-size:18px;

    font-weight:800;

    cursor:pointer;

    transition:.2s;
}

.mf-btn:hover{

    filter:brightness(.97);

    transform:translateY(-1px);
}

/* =========================================================
   ALERTAS
========================================================= */

.mf-alert{

    padding:12px 14px;

    border-radius:10px;

    margin-bottom:18px;

    font-size:14px;
}

.mf-alert-danger{

    background:#fee2e2;

    color:#991b1b;

    border:1px solid #fecaca;
}

/* =========================================================
   FOOTER
========================================================= */

.mf-login-footer{

    margin-top:26px;

    text-align:center;

    color:#64748b;

    font-size:14px;
}

/* =========================================================
   APP GERAL
========================================================= */

.mf-app{
    width:100%;
    min-height:100vh;
}

.mf-container{

    width:min(1400px, calc(100% - 32px));

    margin:0 auto;
}

.mf-card{

    background:#ffffff;

    border-radius:18px;

    padding:24px;

    margin-bottom:24px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.08);
}

/* =========================================================
   GRID
========================================================= */

.mf-grid{
    display:grid;
    gap:20px;
}

.mf-grid-2{
    grid-template-columns:repeat(2,1fr);
}

.mf-grid-3{
    grid-template-columns:repeat(3,1fr);
}

.mf-grid-4{
    grid-template-columns:repeat(4,1fr);
}

/* =========================================================
   TABELAS
========================================================= */

.mf-table-responsive{

    width:100%;

    overflow-x:auto;

    -webkit-overflow-scrolling:touch;
}

table{

    width:100%;

    border-collapse:collapse;

    background:#ffffff;
}

th,
td{

    padding:12px 14px;

    border-bottom:1px solid #e2e8f0;

    text-align:left;
}

th{

    background:#f8fafc;

    color:#0f172a;

    font-weight:800;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media(max-width:1024px){

    .mf-login-card{

        grid-template-columns:1fr;

        max-width:560px;

        min-height:auto;
    }

    .mf-login-left,
    .mf-login-right{

        padding:32px;
    }

    .mf-login-left h1{
        font-size:38px;
    }

    .mf-login-right h2{
        font-size:32px;
    }

    .mf-login-left p{
        font-size:18px;
    }

    .mf-grid-4,
    .mf-grid-3,
    .mf-grid-2{

        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .mf-login-wrapper{

        padding:12px;
    }

    .mf-login-left,
    .mf-login-right{

        padding:24px;
    }

    .mf-form-group input,
    .mf-form-group select,
    .mf-form-group textarea{

        min-height:46px;

        font-size:14px;
    }

    .mf-btn{

        min-height:50px;

        font-size:16px;
    }

    .mf-container{

        width:min(100% - 20px, 1400px);
    }

    .mf-card{

        padding:18px;
    }
}