body {
    padding-top: 60px;
}

footer {
    font-size: 0.85em;
    color: #777;
    padding: 15px 0;
    text-align: center;
}

.btn-icon-hover i {
    transition: transform 0.2s ease-in-out;
}

.btn-icon-hover:hover i {
    transform: scale(1.3);
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}

footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem 0;
    color: #555;
    border-top: 1px solid #ddd;
}

.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Spinner FontAwesome personalizado para botones de edición */
.fa-spinner {
    font-size: 1.5em;
    color: #fff700;
    vertical-align: middle;
    /* Puedes ajustar el color y tamaño según tu preferencia */
}

/*Distribución de columnas para la sección de la tabla tablaUnidadesEducativas*/

#tablaUnidadesEducativas {
    font-size: 0.92rem;
}
#tablaUnidadesEducativas th {
    text-align: center;
    vertical-align: middle;
}
#tablaUnidadesEducativas td {
    vertical-align: middle;
    padding: 6px 4px;
}
#tablaUnidadesEducativas td.estado,
#tablaUnidadesEducativas td.acciones {
    text-align: center;
}
#tablaUnidadesEducativas td.ciudad,
#tablaUnidadesEducativas td.nombre,
#tablaUnidadesEducativas td.direccion {
    min-width: 120px;
    max-width: 220px;
    word-break: break-word;
    white-space: pre-line;
}
#tablaUnidadesEducativas td.logo {
    text-align: center;
}
#tablaUnidadesEducativas img.logo-img {
    display: block;
    margin: 0 auto;
    max-width: 48px;
    max-height: 48px;
}

/* Estilos para el spinner de carga */
#cargaSpinner {
    display: none;
    position: absolute;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px; /* Reducción del tamaño del spinner */
    color: #3c8dbc;
    text-align: center;
    z-index: 10; /* Para asegurar que no se superponga a otros elementos */
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#cargaSpinner i {
    font-size: 30px; /* Reducción del tamaño del ícono */
    animation: spinner 1s linear infinite;
}