/* ==========================================================
   OPTIONMAKER
   login.css
   ========================================================== */

/* ===========================
   VARIÁVEIS
=========================== */

:root{

    --primary:#d40000;

    --primary-hover:#b30000;

    --bg:#f5f7fa;

    --text:#111827;

    --soft:#6b7280;

    --border:#e5e7eb;

    --success:#166534;

    --shadow:
        0 10px 30px rgba(
            0,0,0,.06
        );

}

/* ===========================
   RESET
=========================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    height:100%;

}

body{

    background:var(--bg);

    font-family:Arial,sans-serif;

    min-height:100vh;

}

/* ===========================
   LAYOUT
=========================== */

.container{

    display:grid;

    grid-template-columns:

        1.2fr 460px;

    min-height:100vh;

}

.brand{

    background:white;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:70px;

}

.login-area{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

}

.card{

    width:100%;

    max-width:420px;

    background:white;

    border-radius:24px;

    padding:25px 40px 40px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

}

/* ===========================
   LOGO
=========================== */

.logo{

    width:260px;

    margin-bottom:40px;

}

.brand h1{

    color:var(--text);

    font-size:44px;

    line-height:1.2;

    margin-bottom:20px;

}

.brand p{

    color:var(--soft);

    font-size:20px;

    line-height:1.8;

}

/* ===========================
   ABAS
=========================== */

.tabs{

    display:flex;

    margin-bottom:25px;

    border-bottom:1px solid var(--border);

}

.tab{

    flex:1;

    background:none;

    border:none;

    color:var(--soft);

    font-size:16px;

    font-weight:700;

    padding:15px;

    cursor:pointer;

    border-bottom:2px solid transparent;

    transition:.25s;

}

.tab.active{

    color:var(--primary);

    border-bottom:2px solid var(--primary);

}

.subtitle{

    color:var(--soft);

    margin-top:10px;

    margin-bottom:35px;

}

/* ===========================
   FORMULÁRIOS
=========================== */

.input-group{

    margin-bottom:18px;

}

.form-row{

    display:flex;

    gap:14px;

}

.form-row .input-group{

    flex:1;

}

label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:var(--text);

}

input{

    width:100%;

    padding:15px;

    border:1px solid var(--border);

    border-radius:14px;

    outline:none;

    font-size:15px;

    transition:.20s;

}

input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(212,0,0,.08);

}

/* ===========================
   BOTÕES
=========================== */

button{

    width:100%;

    border:none;

    border-radius:14px;

    padding:16px;

    background:var(--primary);

    color:#fff;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

    transition:.20s;

}

button:hover{

    background:var(--primary-hover);

}

button:disabled{

    opacity:.7;

    cursor:not-allowed;

}

/* ===========================
   PLANO FREE
=========================== */

.plan-free{

    background:#f0fdf4;

    border:1px solid #bbf7d0;

    color:var(--success);

    padding:14px;

    border-radius:12px;

    margin-bottom:22px;

    font-size:14px;

}

.plan-free strong{

    font-size:16px;

}

.plan-free small{

    display:block;

    margin-top:4px;

}

/* ===========================
   FORMULÁRIOS
=========================== */

#formLogin,

#formCadastro,

#formSucesso{

    transition:opacity .25s ease;

}

/* ===========================
   MENSAGEM DE ERRO
=========================== */

.error{

    margin-top:20px;

    text-align:center;

    color:#dc2626;

    font-size:14px;

    min-height:20px;

}

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

.footer{

    margin-top:25px;

    text-align:center;

    color:var(--soft);

    font-size:13px;

}

/* ===========================
   TELA DE SUCESSO
=========================== */

.success-icon{

    font-size:64px;

    text-align:center;

    margin-bottom:20px;

}

.success-title{

    color:var(--text);

    font-size:30px;

    text-align:center;

    margin-bottom:18px;

}

.success-text{

    color:var(--soft);

    text-align:center;

    line-height:1.7;

    margin-bottom:12px;

}

.btn-success{

    margin-top:28px;

}

    /* =====================================================
   ESQUECI MINHA SENHA
===================================================== */

.forgot-password{
    display:flex;
    justify-content:flex-end;
    margin-top:-10px;
    margin-bottom:22px;
}

.forgot-password a{
    font-size:14px;
    color:#C62828;
    text-decoration:none;
    font-weight:500;
    transition:.25s;
    cursor:pointer;
}

.forgot-password a:hover{
    color:#a00000;
}


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

@media(max-width:980px){

    .container{

        grid-template-columns:1fr;

    }

    .brand{

        display:none;

    }

    .login-area{

        padding:20px;

    }

    .card{

        max-width:100%;

        padding:30px;

    }

}

@media(max-width:600px){

    .card{

        border-radius:18px;

        padding:24px;

    }

    .form-row{

        flex-direction:column;

        gap:0;

    }

    .brand h1{

        font-size:32px;

    }

    .subtitle{

        font-size:15px;

    }

    button{

        padding:15px;

    }



/* ===========================
   FIM DO ARQUIVO
=========================== */