

/* Estilo para tablas responsivas */
.table-responsive {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
table th {
    background-color: #f8f9fa; /* Fondo claro y sutil */
    color: #343a40; /* Color de texto oscuro */
    padding: 12px 15px; /* Espaciado interno */
    text-align: left; /* Alineación del texto */
    font-size: 16px; /* Tamaño de fuente */
    font-weight: bold; /* Hacer que el texto sea más grueso */
    /*text-transform: uppercase; /* Hacer que los títulos estén en mayúsculas */
    border-bottom: 0px solid #dee2e6; /* Línea inferior */
    border-radius: 2px; /* Bordes redondeados */
    border-style: none !important;
}

/* Sombra suave en el encabezado */
table th {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Sombra suave */
    border-style: none !important;
}
table th:hover {
    background-color: #e9ecef; /* Cambia ligeramente el fondo al pasar el mouse */
    border-style: none !important;
}
table th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0px;
    border-style: none !important;
}
table th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-style: none !important;
}
 body {
            background-color: #e3f2fd;
        } 
/* Estilos para modo claro */
body.light-mode .pagination-container {
    background-color: #f8f9fa;
    color: #000;
}
body.light-mode .pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
}
body.light-mode .pagination .page-link {
    color: #007bff;
}    
/* Estilo general para el modo oscuro */
body.dark-mode {
    background-color: #121212 !important; /* Fondo oscuro */
    color: #f1f1f1 !important; /* Color de texto claro */
}

/* Otros elementos en modo oscuro, si es necesario */
table.dark-mode {
    background-color: #333;
    color: #fff;
}
/* Estilos para modo oscuro */
body.dark-mode .pagination-container {
    background-color: #343a40;
    color: #fff;
}

body.dark-mode .pagination .page-item.active .page-link {
    background-color: #28a745;
    color: #fff;
}

body.dark-mode .pagination .page-link {
    color: #28a745;
}
 .navbar, .btn {
            background-color: #00bcd4;
            color: white;
        }
.nav-link {
    color: #000; /* Color de texto por defecto */
    transition: color 0.3s ease; /* Transición suave */
}

.nav-link:hover {
    color: #33afcc; /* Color celeste al pasar el mouse */
}

.nav-link.active {
    color: #ecefef !important; /* Color cuando está activa (puedes ajustarlo a tu preferencia) */
    background-color: #005366 !important;
}
.btn:hover {
            background-color: #008c9e;
        }
.order-toggle {
		cursor: pointer;
		margin-left: 5px;
		font-size: 0.8rem;
		}
/* Estilos para los encabezados de la tabla */
/* Estilo de hover para filas */
.table-bordered tbody tr:hover {
    background-color: #f1f1f1 !important; /* Color de fondo al pasar el mouse */
}

/* Borde interno de la tabla */
.table-bordered thead th {
    background-color: #00b7ff !important; /* Fondo de los encabezados */
    color: black;
    text-align: center;
}

/* Color de las filas alternas */
.table-bordered tbody tr:nth-child(even) {
    background-color: #f9f9f9 !important;
}
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
      border-bottom-color: none;
    border-style: none !important;
    border-width: 0;
  }
table th {
     background-color: #007bff;  /*Color celeste oscuro */
    color: black;  /* Texto en blanco */
    cursor: pointer;  /* Indicador de que es clicable */
    text-align: center;  /* Centramos el texto */
    padding: 10px;
    vertical-align: middle;
    font-weight: bold;
   /* border-bottom: 2px solid #0056b3;  /* Borde inferior más oscuro */
    transition: background-color 0.5s ease;
    border-style: none !important;
}
table td {
	text-align: center;  /* Centramos el texto */
    border-style: none !important;
}

table th a {
    color: black;
    text-decoration: none;  /* Sin subrayado */
    border-style: none !important;
}

table th:hover {
    background-color: #9bc0e2;  /* Cambia de color al pasar el cursor */
}
ul li a:hover {
    background-color: #9bc0e2;  /* Cambia de color al pasar el cursor */
	text-decoration: none;  /* Sin subrayado */
}
ul li a {
    background-color: #9bc0e2;  /* Cambia de color al pasar el cursor */
	text-decoration: none;  /* Sin subrayado */
}
/* Estilo para las flechas de ordenación */
table th a span {
    margin-left: 5px;
    font-size: 12px;
}

table th.active {
    background-color: #9bc0e2;  /* Color más oscuro cuando la columna está activa */
}
/* Estilo del switch */
    .switch {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 26px;
    }
    .switch input { 
        opacity: 0;
        width: 0;
        height: 0;
    }
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
        border-radius: 34px;
    }
    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }
    input:checked + .slider {
        background-color: #2196F3;
    }
    input:checked + .slider:before {
        transform: translateX(24px);
    }
/* estilo boton copy
/* Estilo del contenedor */
.btn-peligro {
    background-color: #dc3545;
}
.btn-select {
    background-color: #0a7c26;
}
.btn-peligro:hover {
    background-color: #e2051b;
}
.btn-moderno {
    background-color: #0077ff; /* Color principal */
    color: white; /* Texto en blanco */
    border: none; /* Sin bordes */
    border-radius: 10px; /* Bordes redondeados */
    padding: 10px 20px; /* Espaciado interno */
    font-size: 14px; /* Tamaño de fuente */
    font-weight: 600; /* Grosor de la fuente */
    cursor: pointer; /* Cambia el cursor al pasar por el botón */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: all 0.3s ease; /* Transición suave */
}
.btn-moderno:hover {
    background-color: #4420a8; /* Color más oscuro al pasar el mouse */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Sombra más intensa */
    transform: translateY(-2px); /* Efecto de levantado */
    color: white; 
}
#btnCopiar {
    max-width: 200px; /* Limita el ancho del botón */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; /* Muestra "..." si el texto es muy largo */
}
/* Para el tooltip */
#btnCopiar[title]:hover::after {
    content: attr(title); /* Muestra el texto completo como tooltip */
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px;
    border-radius: 5px;
    white-space: normal;
    max-width: 300px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.copy-container {
  /*  margin: 20px 0; */
    display: flex;
    align-items: center;
}

/* Estilo del botón */
#copyButton {
    margin-left: 10px;
    cursor: pointer;
}

/* Estilo del mensaje */
.copy-message {
    margin-left: 10px;
    color: blue;
    font-weight: bold;
}

/* Animación del mensaje */
.copy-message.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.list-group-item {
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f0f0f0;
}
/* Importación de fuentes y reset de márgenes */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Estilos para el encabezado de la pantalla de login */
.login-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px; /* Espacio debajo del header */
}



/* Estilos para la línea */
.line {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px; /* Grosor de la línea */
    background-color: white;
    z-index: 0; /* La línea está detrás del círculo */
}

.login-page {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
}

/* Contenedor principal */
.login-container {
    width: 100%;
    max-width: 360px;
    padding: 20px;
}

/* Caja de login */
.login-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Avatar en el login */
.avatar {
    font-size: 50px;
    margin-bottom: 15px;
    color: #fff;
}

/* Estilos de los inputs */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.input-group input {
    width: 100%;
    padding: 10px 40px;
    background: rgba(236, 234, 234, 0.8);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
}

/* Botón de login */
.login-button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #ff5e62;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-button:hover {
    background: #ff9966;
}

/* Extras */
.extras {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.status-authorized {
    color: green;
}

.status-cancelled {
    color: red;
}
.dashboard-container {
    width: 90% !important;
    max-width: 1200px !important;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

.chart-container {
    margin: 20px 0;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}