/* Altura total da tela */
.full-height {
    min-height: 100vh;
}

/* Dispor divs lateralmente */
.d-flex {
    display: flex;
}

.image-background {
    width: 75%;
    height: 100vh;
}

/* Sidebar de Login */
.login-sidebar {
    z-index: 9999;
    height: 100vh;
    width: 25%;
    background: #33538e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding-top: 5%;
    padding-bottom: 5%;
    padding-right: 2%;
    padding-left: 2%;
    border-right: 0px solid #0083CE;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-login-1 {
    background-color: rgba(0, 0, 0, 0.0);
    justify-items: space-between;
}

.login-header {
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.login-header img {
    height: 70px;
}

.login-title {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 18px;
    color: white;
}

.login-box-body {
    margin-top: 100px;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.0);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0);
}

.form-group.has-error .form-control {
    border-color: #E74C3C !important;
}

.login-box-msg {
    color: white;
    font-size: 14px;
    text-align: center;
}

.login-footer,
.login-forgot-password {
    color: white !important;
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}

.login-forgot-password,
.back-to-home {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}

.login-forgot-password a,
.back-to-home a {
    color: white;
    text-decoration: none;
    /* Opcional: remove o sublinhado */
}

.login-forgot-password a:hover {
    color: lightgray;
    /* Opcional: cor ao passar o mouse */
}

.login-footer a {
    color: #E9F1F5;
    text-decoration: none;
}

.btn-login:hover {
    background: #7c7c7c;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.btn-login {
    background: #0083CE;
    color: white;
    border: none;
    padding: 10% 20% 10% 20%;
    border-radius: 5px;
    width: 100%;
}

.btn-login:hover {
    background: #005b9e;
    color: white;
}











/* Estilo para tablets (largura entre 768px e 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .d-flex {
        display: block;
    }

    .image-background {
        height: 0vh;
    }

    .login-sidebar {
        width: 100%;
        /* Sidebar ocupa a largura total */
        padding: 5% 25% 5% 25%;
    }

    .box-login-1 {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .box-content {
        margin-top: 0%;
        height: 20vh;
        padding: 0 15% 0 15%;
        font-size: 16px;
    }

    .login-box-body {
        margin-top: 0;
    }

    .login-header img {
        height: 90px;
    }

    .login-title {
        margin: 3% 0 4% 0;
        font-size: 22px;
    }

    .login-box-msg,
    .btn-login,
    .login-forgot-password {
        font-size: 16px;
    }

    .login-footer {
        font-size: 14px;
    }

}

/* Estilo para celulares (largura menor que 768px) */
@media (max-width: 767px) {
    .d-flex {
        display: block;
    }

    .image-background {
        height: 0vh;
    }

    .login-sidebar {
        width: 100%;
        /* Sidebar ocupa a largura total */
        height: 100vh;
        /* Ajusta a altura automaticamente */
        padding: 0% 10%;
        /* Reduz o padding */
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .login-title {
        font-size: 22px;
    }

    .login-box-msg,
    .btn-login,
    .login-forgot-password {
        font-size: 16px;
    }

    .login-footer {
        font-size: 14px;
    }
}