/* Variáveis globais */
:root {
    --primary-color: #2b6697;
    --secondary-color: #9fc54d;
    --text-color: #afcee9;
    --font-color: #777777;
    --link-color: #4285f4;
    --form-color: #e5e9ec;
    --font-family: 'Open Sans', sans-serif;
    --font-family-alt: 'Arial', sans-serif;
    --font-size: 13px;
    --font-size-alt: 16px;

}

/* Reset e Estilos Gerais */
html {
    font-size: 100%;
    height: 100%;
}

body {
    overflow: auto;
    direction: ltr;
    color: #6f7b8a;
    font-family: var(--font-family);
    font-size: var(--font-size);
    padding: 0px !important;
    margin: 0px !important;
    line-height: 1.5;
    font-style: normal;
    font-weight: normal;
    height: 100%;
    display: block;
}

form {
    margin: 0;
}

/* Layout e Estruturas */
.container {
    height: 100%;
}

.login-centered {
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gradient-bg {
    background: linear-gradient(to bottom,
            var(--primary-color) 0%,
            var(--primary-color) 49.55%,
            var(--secondary-color) 49.55%,
            var(--secondary-color) 50%,
            #FFFFFF 50%,
            #FFFFFF 100%);
}

/* Componentes: Login Logo */
.login-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.login-logo img {
    max-width: 100%;
    height: auto;
}

/* Componentes: Texto "Painel de Controle" */
.system {
    font-size: 30px;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 15px;
    font-family: var(--font-family-alt);
    text-transform: uppercase;
}

.system .fa {
    color: var(--secondary-color);
}

/* Componentes: Formulário */
.login-form,
.login-recovery {
    border-radius: 10px;
    width: 380px;
    background-color: var(--form-color);
    padding: 30px;
    z-index: 1;
}

.control-group {
    text-align: center;
    padding-top: 0px;
}

.control-group .checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.control-group .checkbox .forgot,
.control-group .checkbox .btn-cons {
    margin: 0;
    line-height: normal;
}

.checkbox {
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0px;
}

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

.form-group .textarea {
    border-radius: 4px;
    min-height: 45px;
}

.form-group .form-label {
    color: var(--font-color);
    margin: 0px;
    font-family: var(--font-family);
    font-size: var(--font-size);
    display: inline-block;
    font-weight: normal;
    line-height: 20px;
}

input[type="email"],
input[type="password"] {
    font-family: "Helvetica Neue", Helvetica, var(--font-family-alt);
    -webkit-appearance: none !important;
    outline: 0;
    padding: 6px 11px !important;
    line-height: 15px;
    font-size: var(--font-size);
    font-weight: normal;
    vertical-align: top;
    box-shadow: none !important;
    border: 1px solid var(--form-color);
    transition: background 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

.form-group .help {
    color: #A7ABB1;
    font-size: 12px;
}

/* Componentes: Botões */
.btn {
    padding: 9px 12px;
    padding-top: 7px;
    vertical-align: middle;
    cursor: pointer;
    -webkit-border-radius: 3px;
    background-image: none !important;
    border: none;
    text-shadow: none;
    box-shadow: none;
    transition: all 0.12s linear 0s !important;
    font: 14px / 20px "Helvetica Neue", Helvetica, var(--font-family-alt);
}

.btn-login {
    width: 100%;
    min-width: 60px;
    max-width: 190px;
    height: 50px;
    font-family: var(--font-family);
    font-size: var(--font-size-alt);
    font-weight: 600;
    margin: 10px auto;
    display: block;
    text-align: center;
    color: #FFFFFF;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-login:hover,
.btn-login:focus,
.btn-login:active,
.btn-login.active {
    color: #FFFFFF;
    background-color: #8EB43C;
    border-color: var(--secondary-color);
}

.btn-cons {
    height: 50px;
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-alt);
    font-weight: 600;
    display: block;
    text-align: center;
    min-width: 120px;
}

.btn-success {
    color: #ffffff;
    background-color: var(--primary-color);
}

.btn-success:hover {
    background-color: #005082;
}

/* Componentes: Botão Google */
.google-button {
    background: #fff;
    width: 190px;
    border-radius: 4px;
    border: 1px solid #aaaaaa;
    box-shadow: 0 0px 0px;
    color: #fff;
    white-space: nowrap;
    display: inline-block;
}

.google-button:hover {
    background: #f1f3f4;
}

.google-button:hover span.label {
    background: #f1f3f4;
    border-color: #d6d9dc;
}

.google-button span.icon {
    background: url("https://d2k1ftgv7pobq7.cloudfront.net/meta/p/res/images/8215f6659adc202403198fef903a447e/sign-in-with-google.svg") white 10px 50% no-repeat;
    border-radius: 4px;
    width: 45px;
    height: 45px;
    background-size: 20px 20px;
    vertical-align: middle;
    display: inline-block;
}

.google-button:hover span.icon {
    background: url("https://d2k1ftgv7pobq7.cloudfront.net/meta/p/res/images/8215f6659adc202403198fef903a447e/sign-in-with-google.svg") #f1f3f4 10px 50% no-repeat;
    background-size: 20px 20px;
}

.google-button span.label {
    justify-content: center;
    height: 45px;
    line-height: 45px;
    padding: 0 7px 0 0;
    font-size: var(--font-size-alt);
    font-family: var(--font-family);
    font-weight: 100;
    background-color: white;
    color: #979797;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    text-shadow: none;
    text-align: right;
    width: 100%;
}

.google-button a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Outros */
.forgot {
    color: var(--link-color);
    font-family: var(--font-family-alt);
}

.m-t-30 {
    margin-top: 30px;
}

.pull-right {
    float: right !important;
}

.text-center {
    text-align: center !important;
}

a,
a:focus,
a:hover,
a:active {
    outline: 0;
    text-decoration: none;
}

a {
    text-shadow: none !important;
    transition: color 0.1s linear 0s, background-color 0.1s linear 0s, opacity 0.1s linear 0s !important;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .login-logo img {
        max-width: 60%;
    }

    .login-form,
    .login-recovery {
        max-width: 90%;
    }
}

@media screen and (max-width: 400px) {
    .system {
        font-size: 24px;
    }
}

@media screen and (max-height: 628px) {
    .login-logo {
        display: none;
    }
}

@media screen and (max-height: 468px) {
    .system {
        display: none;
    }
}

@media screen and (max-height: 428px) {
    #google-auth {
        margin-top: 15px !important;
    }

    .google-button span.icon {
        height: 35px !important;
    }

    .google-button span.label {
        height: 35px !important;
        line-height: 35px !important;
    }

    .login-form {
        padding: 15px !important;
    }

    .control-group {
        padding-top: 0px !important;
    }

    .btn-login {
        height: 35px !important;
    }
}
