/*
Theme Name:   Portal Midwest Brasil
Theme URI:    https://www.midwestbrasil.com
Author:       Midwest Brasil / TI
Author URI:   https://www.midwestbrasil.com
Description:  Plataforma Midwest Brasil.
Version:      v=1.0.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org
Data: 2026-08-17
*/

 /*
Theme Name: Portal Midwest Brasil
Author: Midwest Brasil / TI
Version: Mobile Optimized
* Data: 2026-06-11
*/
/* =========================================================
   MIDWEST BRASIL
   SIGN-ON / LOGIN
   ========================================================= */


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

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


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


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #fff;

    color: #111;

    overflow-x: hidden;
}


/* =========================================================
   PÁGINA
   ========================================================= */

.login-page {

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

    display: flex;

    background: #fff;
}


/* =========================================================
   PAINEL ESQUERDO
   ========================================================= */

.login-brand {

    width: 42%;

    min-height: 100vh;

    background: #000;

    position: relative;
}


.brand-container {

    position: absolute;

    top: 130px;
    left: 42px;

 display: flex;

    align-items: center;



    width: auto;
	height: auto;
	
/* =====================================================
       CONTROLES DA MARCA
       ===================================================== */

    --brand-x: 0px;
    --brand-y: 0px;


    /* =====================================================
       CONTROLES DO LOGO RETINALOGING
       ===================================================== */

    --logo-login-x: 0px;
    --logo-login-y: 0px;   

   /* 
	    gap: 18px;
	width: calc(30% - 84px); */
}


.brand-logo {

    display: block;

    width: 80px;
    height: auto;

    object-fit: contain;
	
	transform:
        translate(
            var(--brand-x),
            var(--brand-y)
        );
	
	/* max-width: 100%; */   
}

.brand-name-image {

    display: block;

    width: 400px;
    height: auto;

    object-fit: contain;

    margin-left: 16px;

    transform:
        translate(
            var(--logo-login-x),
            var(--logo-login-y)
        );
}


/* =========================================================
   PAINEL DIREITO
   ========================================================= */

.login-content {

    width: 58%;

    min-height: 100vh;

    background: #fff;

    display: flex;

    justify-content: center;

    align-items: flex-start;
}


.login-container {

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

    padding: 150px 55px 80px;
}


/* =========================================================
   ETAPAS
   ========================================================= */

.login-step {

    display: none;
}

.login-step.active {

    display: block;

    animation: loginFade .25s ease;
}


@keyframes loginFade {

    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   TÍTULO
   ========================================================= */

.login-container h1 {

    margin-bottom: 32px;

    color: #000;

    font-size: 54px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -2px;
}


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

.form-group {

    width: 100%;

    margin-bottom: 26px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: #444;

    font-size: 16px;

    line-height: 1.3;

    font-weight: 400;
}


/* =========================================================
   INPUT
   ========================================================= */

.form-group input[type="email"],
.form-group input[type="password"] {

    width: 100%;

    height: 46px;

    padding: 0 14px;

    border: 1px solid #aaa;

    border-radius: 2px;

    background: #fff;

    color: #222;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.form-group input:focus {

    border-color: #159bd7;

    box-shadow:
        0 0 0 1px #159bd7,
        0 0 8px rgba(21, 155, 215, .25);
}


/* =========================================================
   SELECT
   ========================================================= */

.select-wrapper {

    position: relative;

    width: 100%;
}


.select-wrapper select {

    width: 100%;

    height: 46px;

    padding: 0 42px 0 14px;

    border: 1px solid #aaa;

    border-radius: 2px;

    background: #fff;

    color: #444;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    cursor: pointer;

    appearance: none;

    -webkit-appearance: none;

    outline: none;
}


.select-wrapper::after {

    content: "⌄";

    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-55%);

    color: #555;

    font-size: 20px;

    pointer-events: none;
}


.select-wrapper select:focus {

    border-color: #159bd7;

    box-shadow:
        0 0 0 1px #159bd7,
        0 0 8px rgba(21, 155, 215, .25);
}


/* =========================================================
   ERROS
   ========================================================= */

.field-error {

    min-height: 18px;

    margin-top: 5px;

    color: #d93025;

    font-size: 13px;
}


.input-error {

    border-color: #d93025 !important;

    box-shadow:
        0 0 0 1px #d93025 !important;
}


/* =========================================================
   LEMBRAR
   ========================================================= */

.remember-row {

    margin-top: 2px;

    margin-bottom: 28px;
}


.checkbox-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #777;

    font-size: 15px;

    cursor: pointer;
}


.checkbox-label input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.custom-checkbox {

    width: 20px;
    height: 20px;

    display: inline-block;

    border: 1px solid #aaa;

    background: #fff;

    position: relative;
}


.checkbox-label input:checked + .custom-checkbox {

    background: #ff4613;

    border-color: #ff4613;
}


.checkbox-label input:checked + .custom-checkbox::after {

    content: "✓";

    position: absolute;

    left: 3px;
    top: -2px;

    color: #fff;

    font-size: 16px;

    font-weight: bold;
}


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

.button-row {

    display: flex;

    justify-content: flex-end;

    margin-top: 4px;
}


.btn-primary {

    min-width: 162px;

    height: 55px;

    padding: 0 30px;

    border: none;

    border-radius: 0;

    background: #ff6a21;

    color: #000;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .1s ease;
}


.btn-primary:hover {

    background: #f4510b;
}


.btn-primary:active {

    transform: translateY(1px);
}


/* =========================================================
   ESQUECEU A SENHA
   ========================================================= */

.login-help {

    margin-top: 46px;

    padding-left: 45px;
}


.help-link {

    color: #111;

    text-decoration: none;

    font-size: 20px;

    font-weight: 700;
}


.help-link:hover {

    text-decoration: underline;
}


.help-arrow {

    display: inline-block;

    margin-right: 8px;

    color: #ff4613;

    font-size: 28px;

    line-height: 10px;

    font-weight: 400;
}


/* =========================================================
   ACCORDION
   ========================================================= */

.help-accordion {

    margin-top: 52px;

    border-top: 1px solid #333;

    border-bottom: 1px solid #333;
}


.accordion-button {

    width: 100%;

    min-height: 64px;

    padding: 0;

    border: none;

    background: transparent;

    color: #111;

    text-align: left;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 19px;

    font-weight: 700;

    cursor: pointer;
}


.accordion-arrow {

    display: inline-block;

    width: 28px;

    margin-right: 4px;

    color: #ff4613;

    font-size: 28px;

    font-weight: 400;

    transition: transform .2s ease;
}


.accordion-button.open .accordion-arrow {

    transform: rotate(90deg);
}


.accordion-content {

    display: none;

    padding:
        0 20px
        22px
        32px;

    color: #555;

    font-size: 15px;

    line-height: 1.6;
}


.accordion-content.open {

    display: block;
}


.accordion-content a {

    color: #003060;

    text-decoration: none;

    font-weight: 600;
}


/* =========================================================
   SEGUNDA ETAPA
   ========================================================= */

.identified-user {

    position: relative;

    margin-bottom: 28px;

    padding-bottom: 16px;

    border-bottom: 1px solid #ddd;
}


.user-label {

    display: block;

    margin-bottom: 5px;

    color: #777;

    font-size: 13px;
}


.identified-user strong {

    display: inline-block;

    color: #111;

    font-size: 16px;

    font-weight: 600;
}


.change-email {

    margin-left: 12px;

    border: none;

    background: none;

    color: #ff4613;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   SENHA
   ========================================================= */

.password-wrapper {

    position: relative;

    width: 100%;
}


.password-wrapper input {

    padding-right: 55px !important;
}


.password-toggle {

    position: absolute;

    top: 50%;
    right: 14px;

    transform: translateY(-50%);

    width: 32px;
    height: 32px;

    border: none;

    background: transparent;

    color: #777;

    cursor: pointer;
}


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

@media (max-width: 900px) {

    .login-brand {

        width: 35%;
    }

    .login-content {

        width: 65%;
    }

    .login-container {

        padding: 100px 35px 60px;
    }

    .login-container h1 {

        font-size: 44px;
    }

}


@media (max-width: 700px) {

    .login-page {

        display: block;
    }


    .login-brand {

        width: 100%;

        min-height: 180px;

        height: 180px;
    }


    .brand-container {

        top: 55px;
        left: 30px;

        width: calc(100% - 60px);

        text-align: center;
    }


    .brand-logo {

        width: 420px;

        max-width: 90%;
    }


    .login-content {

        width: 100%;

        min-height: auto;
    }


    .login-container {

        max-width: 100%;

        padding: 55px 25px 60px;
    }


    .login-container h1 {

        font-size: 40px;
    }


    .button-row {

        justify-content: stretch;
    }


    .btn-primary {

        width: 100%;
    }


    .login-help {

        padding-left: 0;
    }

}


@media (max-width: 420px) {

    .login-brand {

        min-height: 145px;

        height: 145px;
    }


    .brand-container {

        top: 42px;
    }


    .login-container {

        padding:
            42px
            20px
            50px;
    }


    .login-container h1 {

        font-size: 36px;
    }


    .help-link {

        font-size: 17px;
    }


    .accordion-button {

        font-size: 16px;
    }

}

/* =========================================================
   FOOTER — MIDWEST BRASIL SIGN-ON
   ========================================================= */

#footerWrapperr {

    /* CONTROLES DE POSIÇÃO */
    --footer-x: 0px;
    --footer-y: 0px;

    position: relative;

    width: 58%;

    margin-left: 42%;

    min-height: 150px;

    display: flex;

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

    background: #fff;

    border-top: 1px solid #333;

    box-sizing: border-box;
}


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

#footerSign {

    width: 100%;

    min-height: 149px;

    display: flex;

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

    background: #fff;

    box-sizing: border-box;

}


/* =========================================================
   COPYRIGHT
   ========================================================= */

#copyright {

    display: flex;

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

    width: 100%;

    padding: 20px 30px;

    color: #555;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.5;

    text-align: center;

    transform:
        translate(
            var(--footer-x),
            var(--footer-y)
        );
}


/* =========================================================
   MODAL OVERLAY
   ========================================================= */

.modal-overlay {
    display: none;
}