/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rethink Sans', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f8f8;
}

/* Container principal */
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
   /* width: 90%; */
    /* max-width: 900px; */
    /* background: white; */
	background: #f8f8f8;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
    padding: 20px;
}

/* Área do logo */
.logo {
    flex: 1;
    text-align: center;
    padding: 20px;
	margin-right: 40px;
}

.logo img {
    width: 199px;
    height: auto;
}

.logo h2 {
    font-size: 32px;
    color: #777777;
    margin-top: 10px;
}

/* Linha divisória */
.divider {
    width: 2px;
    height: 80%;
    background-color: #ccc;
    margin: 0 20px;
}

/* Área do formulário */
.login-form {
    flex: 1;
    padding: 20px;
	margin-left: 40px;
	margin-top: 55px;
}

form {
    display: flex;
    flex-direction: column;
}

form#formulariologin {
    max-width: 350px;
}

label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
	font-weight: 600;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Campo de senha com ícone */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
	color: #797775;
}

/* Link "Esqueceu a senha" */
.forgot-password {
    text-align: right;
    font-size: 14px;
    color: #273a7c;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Botão de login */
.button-container {
    text-align: right; /* Alinha o botão à direita */
}

/* Estilo para o botão */
input[type="submit"] {
    width: 77px;
    height: 40px;
    padding: 10px;
    background-color: #213f7c;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 21px;
    cursor: pointer;
}


/* CORRETO LOGIN */

input#btnlogin {
    width: 77px;
    height: 40px;
    padding: 10px;
    background-color: #213f7c;
    font-size: 16px;
    border: none;
    border-radius: 21px;
    cursor: pointer;
	float: right;
}

/* Estilo para o botão ao passar o mouse */
input#btnlogin:hover {
    background-color: #030053;
}


/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .divider {
        width: 80%;
        height: 2px;
        margin: 20px 0;
    }

    .button-container {
        text-align: center;
    }
}


/* Linha divisória */
.divider {
    width: 1px;
    height: 500px;
    background-color: #6C757D;
    margin: 0 auto;
    z-index: 2;
}

/* Responsividade: no mobile, a linha será horizontal */
@media (max-width: 768px) {
    .divider {
        width: 80%;
        height: 2px;  /* Linha horizontal */
        margin: 20px 0;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
    .login-form {
        margin-left: 0;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
    .logo {
        margin-right: 0;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
    .login-form {
        margin-top: auto;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
    .logo img {
        max-width: 50%;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
.logo h2 {
    font-size: 21px;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
label {
    text-align: start;
    }
}

/* No mobile, remove a margem esquerda */
@media (max-width: 768px) {
.container {
    margin-top: -10%;
    }
}

/* Alert */

.alert.alert-danger.col-lg-4.col-xs-12 {
    max-width: 350px;;
}

/* Alert Mobile */

@media (max-width: 768px) {
.alert {
    position: relative;
    padding: .5rem 0.5rem;
    margin-bottom: 0.3rem;
    border: 1px solid transparent;
    border-radius: .25rem;
	top: -8px;
    }
}

/* Alert Mobile */
/*
@media (max-width: 768px) {
.alert.alert-danger.col-lg-4.col-xs-12 {
    position: absolute;
    top: 83%;
    right: 22px;
    max-width: 90%;
	z-index: 2;
    }
}
*/

@media (max-width: 420px) {
    .container {
        margin-top: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 420px) {
	.logo img {
    max-width: 40% !important;
    }
}

@media (max-width: 420px) {
.logo {
    padding: 0px !important;
    }
}


/* Botão Login */

.custom-button {
    padding: 8px 16px;
    border: 2px solid #0d47a1;
    border-radius: 50px;
    background: none;
    color: #0d47a1;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.custom-button:hover {
    background-color: #0d47a1;
    color: white;
}