.body{
    background-color: #212129 !important;
    color: white !important;
}
.navbar {
    background-color: rgb(0,78,170);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    
}
.navbar img {
    width: 125px;
}
.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 40px; /* Ancho inicial solo para el icono */
    padding: 0 10px;
    box-sizing: border-box;
    transition: 
    width 0.6s ease 0.1s, 
    background-color 0.6s ease 0.1s,
    padding 0.6s ease 0.1s;
}

.nav-link i {
    font-size: 1.2rem;
    transition: transform 0.6s ease 0.1s;
    min-width: 20px;
    text-align: center;
}

.nav-link span {
    display: none;
    white-space: nowrap;
    margin-left: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: 
opacity 0.4s ease 0.2s,
transform 0.4s ease 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    width: auto; /* Ancho automático para mostrar el texto */
    padding-right: 15px;
    color: white;
}

.nav-link:hover span {
    display: inline-block;
    opacity: 1;
    transform: translateX(0);
    color: white;
}

.nav-link:hover i {
    transform: translateX(-5px);
}

/* Estilo para el enlace activo */
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
    width: auto;
    padding-right: 15px;
}

.nav-link.active span {
    display: inline-block;
    opacity: 1;
    transform: translateX(0);
}

.nav-link.active i {
    transform: translateX(-5px);
}

/* Estilo especial para el mensaje de bienvenida */
.welcome-message {
    margin: 0 15px 0 10px;
    color: white;
    background: none !important;
    width: auto !important;
    padding: 0 !important;
}
.data-table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 12px;
}

.data-table th {
    background-color: #f9f9f9; /* Color negro */
    color: black;
    font-weight: bold;
}

.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.data-table tr:hover {
    background-color: #f1f1f1;
}

.refresh-btn {
    background-color: #ddd;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.refresh-btn:hover {
    background-color: #ccc;
}
.botoncolor {
    background-color: rgb(0,78,170) !important; /* Color de fondo */
    color: white !important; /* Color del texto */
    border-color: white !important; /* Color del borde */
}
.divcolor {
    background-color: rgb(46, 52, 58) !important;
    border-radius: 15px;
    color: white !important;
}
.colorbarra{
    background-color:rgb(162, 162, 165) !important;
}
.barracolor{
    background-color: #454d55 !important;
    border-color: #212129;
    color: white !important; /* Color del texto */
}
.barracolor:focus {
    background-color: white !important; /* Fondo blanco al enfocar */
    border-color: #212129 !important; /* Borde oscuro al enfocar */
    color: black !important; /* Texto oscuro al enfocar */
}
.navbar.naranja {
    background-color: #FD5000;
}
.flotante {
    position: fixed; /* Hace que el botón sea flotante */
    bottom: 20px; /* Distancia desde la parte inferior */
    right: 20px; /* Distancia desde la derecha */
    background-color: #FD5000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para dar efecto flotante */
    transition: background-color 0.3s ease; /* Transición suave */
}

/* Cambiar color del botón al pasar el mouse */
.flotante:hover {
    background-color: #e64a19;
}
.ts-control {
    background-color: #343a40 !important; /* Fondo oscuro */
    color: white !important; /* Texto en blanco */
    border: 1px solid #6c757d; /* Borde gris */
}

.ts-dropdown {
    background-color: #343a40 !important; /* Fondo oscuro */
    color: white !important; /* Texto en blanco */
}

.ts-dropdown .active {
    background-color: #495057 !important; /* Fondo más oscuro para selección */
}

.ts-dropdown .option {
    color: white !important; /* Texto en blanco */
}