/* Estilo del formulario de login centrado en pantalla */
body.login-body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    flex-direction: column-reverse;
}

/* Contenedor para el formulario de login */
.login-container {
	    /*height: 100vh;*/
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}
/* Contenedor para el formulario de login */
.login-container2 {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    /*margin-top: 20%;*/
}

/* Estilos generales para el contenedor principal */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.login-container2 h2{
    color: #07153a;
    font-family: Inter, Sans-serif;
    font-size: 25px;
    font-weight: 600;
}

/* Estilo de la tabla y otros elementos en la vista de usuario */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h2 {
    margin: 0;
}

.formLogin label{
    text-align: justify;
    color: #07153a;
    font-family: "Mukta", Sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.header img {
    width: 7%;
    margin-right: -30px;
}

.header h1 {
    color: #07153a;
    font-family: Inter, Sans-serif;
    font-size: 25px;
    font-weight: 600;
}

.header h3 {
    margin: 0;
}

.header a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 5px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: #fff;
}

td {
    background-color: #f9f9f9;
}

form.update-form {
    display: flex;
    align-items: center;
}

.update-form select {
    margin-right: 10px;
    padding: 5px;
}

.update-form button {
    padding: 8px 12px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    background-color: #28a745;
    color: #fff;
}

.update-form button:hover {
    background-color: #218838;
}


/*--------------------------------------------------------------------------------------------*/
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table-container th, 
.table-container td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.table-container th {
    background-color: #007bff;
    color: #fff;
}

.table-container td {
    background-color: #f9f9f9;
}

/* Responsive Styles */
@media (max-width: 700px) {
	.login-container2 {
		width: 80%;
	}
	
    .header img {
        width: 50%;
    }

    .header h1 {
        font-size: 1.5em;
    }

    .table-container table {
        min-width: 600px;
    }

    .table-container th, 
    .table-container td {
        font-size: 0.9em;
    }
}

@media (max-width: 400px) {
	body.login-body {
		height: 80vh;
	}
	.login-container2 {
		width: 80%;
	}
	
	.header{
		display:block;
		margin-top:30%;
	}
	
    .header img {
		width: 20%;
        margin-top: 80%;
    }

    .header h1 {
        font-size: 1.2em;
		margin-bottom: -40px;
    }

    .table-container th, 
    .table-container td {
        font-size: 0.8em;
    }
}

