.app-sidebar__user-avatar {
	width: 48px;
	background: gray;
	padding: 6px;
	
}
.app-sidebar_toggle{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15pt;
}
.app-sidebar_toggle::before{
	display: none;
}
.modal-header.headerRegister,
.modal-header.header-primary {
  background: #009688;
  color: #FFF;
}

/* Se aplica formato al logo */
.app-header__logo {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.5px;
}


.headerUpdate{
	background: #007bff;
	color: #FFF;
}

/* Mejora estética del modal */
.modal-content {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}

/* Estilo más moderno para encabezado */
.modal-header {
  border-bottom: none;
  background-color: #343a40;
  color: white;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Botón moderno */
#btnActionForm {
  transition: background-color 0.3s ease;
}

#btnActionForm:hover {
  filter: brightness(1.1);
}

.table-animate-fade tr {
  animation: fadeInRow 0.6s ease-in-out;
}

@keyframes fadeInRow {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduce la altura de las filas del DataTable */
table.dataTable tbody td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 14px !important; /* Opcional: también puedes reducir un poco el tamaño de fuente */
}

#tableRoles.dataTable tbody td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Se utiliza en el DataTable para que la tabla no desfase botones. Es en conjunto con otros ajustes en JS */
table td {
    vertical-align: middle;
    white-space: nowrap;
}

/* Se utiliza para truncar el nombre del usuario en el menú lateral del nav y tooltip para mostrar el nombre completo */
.app-sidebar__user-name {
    display: block;
    width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

/* Estilos login */
#divLoading{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;    
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(254, 254, 255, .65);
    z-index: 9999;
    display:none;
}
#divLoading img{
    width: 50px;
    height: 50px;
}

.required {
   color: red;
   font-size: 13pt;
   font-weight: bold; 
}

/* Estilos para la vista de error 404 personalizada */
.error-container {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 4rem auto;
}

.error-title {
    font-size: 56px;
    color: #009688;
    margin-bottom: 1rem;
}

.error-text {
    font-size: 20px;
    margin-bottom: 1.5rem;
    color: #555;
}

.btn-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: #009688;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-home:hover {
    background-color: #00796b;
}

/* Se utiliza para darle un poco más de espacio entre el h1 del nombre del módulo y su descripción */
.desc-modulo {
    margin-top: 10rem;
}

