@charset "utf-8";

/* CSS Document */
::-webkit-scrollbar {
	width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #555;
}



body {
    background-image: url('/img/login-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}



/* Capa de oscurecimiento */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0.808) 0%, rgba(255, 255, 255, 0.288) 50%, rgba(255, 255, 255, 0.048) 100%); */
    z-index: 0;
}


/* Caja de login por encima */
.auth-container {
    position: relative;
    z-index: 10;
	min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}



#particles-js {
	height: 100%
}

.loginBox {
	background-color: rgba(255, 255, 255, 0.863);
	border-radius: 10px;
	padding: 40px;
	box-sizing: border-box
}

.user {
	margin: 0 auto;
	display: block;
	margin-bottom: 20px
}

h4 {
	margin: 0;
	padding: 0 0 20px;
	color: #203d81;
	text-align: center
}

h3 {
	margin: 0;
	padding: 0 0 20px;
	color: #fff;
	text-align: center
}

.loginBox input {
	width: 100%;
	margin-bottom: 20px
}

.loginBox input[type="text"],
.loginBox input[type="password"] {
	border: 1px solid #d2d2d2;
	border-radius: 6px;
	outline: none;
	height: 40px;
	color: #2568a6;
	background: transparent;
	font-size: 16px;
	padding-left: 20px;
	box-sizing: border-box
}

.loginBox input[type="text"]:hover,
.loginBox input[type="password"]:hover {
	color: #2568a6;
	border: 1px solid #203d81;

}

.loginBox input[type="text"]:focus,
.loginBox input[type="password"]:focus {
	border-bottom: 2px solid #203d81
}

.inputBox {
	position: relative;
}

.inputBox span {
	position: absolute;
	top: 10px;
	color: #262626
}





/* Reemplaza la regla actual para #togglePassword por esta: */
#togglePassword {
	position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    color: #262626;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginBox input[type="submit"],
.volverLogin {
	border: none;
	outline: none;
	height: 40px;
	font-size: 15px;
	background: #0eb24c;
	font-weight: 600;
	color: #fff;
	border-radius: 20px;
	cursor: pointer
}

.inputBox input::placeholder {
	color: #2568a6;
	/* o el color que desees */
	opacity: 1;
	/* Asegura que sea visible en todos los navegadores */
}


.volverLogin:hover {
	border: none;
	outline: none;
	height: 40px;
	font-size: 15px;
	background: #203d81;
	font-weight: 600;
	color: #fff;
	border-radius: 20px;
	cursor: pointer
}

.hiperlink {
	color: #1994cd;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	display: block;
	text-decoration: underline;
}

a:hover {
	color: #2da9e2
}

p {
	color: #203d81
}

.logo {
	margin-top: 5%;
}

/* —————————— Ajustes para centrar loginBox al mismo ancho que el título —————————— */
.auth-container {
	display: inline-grid;
	justify-items: center;
}

.auth-container .loginBox {
	/* Fija un ancho máximo: */
	max-width: 480px;
	/* <-- cámbialo a lo que prefieras */
	width: 100%;
	/* para que sea responsivo hasta ese límite */

	/* Opcional: centrar la caja si su padre no lo hace */
	margin: 0 auto;
}



/* ——————————————————————————————————————————————————————————————————————— */

.loginBox h4 {
	color: #2568a6;
	font-weight: bold;
}

.auth-container h3 {
	color: #2568a6;
	font-size: 26px;
}

@media (max-width: 991.98px) {
	.loginBox h4 {
	font-size: 20px;
}

.auth-container h3 {
	font-size: 25px;
}
}
