/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #ffffff; /* fondo oscuro */
    color: #fe5502;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Estilos futuristas para el login */
.login-body {
    background: linear-gradient(135deg, #2c2d2e 0%, #545454 25%, #2c2d2e 50%, #545454 75%, #2c2d2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(254, 85, 2, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(254, 85, 2, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(166, 166, 166, 0.2) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

.login-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: loginFloat 6s ease-in-out infinite;
}

/* Logo T-Soluciona */
.login-logo {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.login-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(254, 85, 2, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
    border-radius: 20px; /* Bordes redondeados */
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 20px rgba(254, 85, 2, 0.5)); }
    100% { filter: drop-shadow(0 0 30px rgba(254, 85, 2, 0.8)); }
}

/* Firma deluxe_xr estilo futbolístico */
.signature {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    color: #fe5502;
    text-shadow: 
        2px 2px 0px #000,
        -1px -1px 0px #000,
        1px -1px 0px #000,
        -1px 1px 0px #000,
        0 0 10px rgba(254, 85, 2, 0.8);
    transform: rotate(-5deg);
    z-index: 1000;
    letter-spacing: 1px;
    animation: signaturePulse 4s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes signaturePulse {
    0%, 100% { 
        transform: rotate(-5deg) scale(1);
        text-shadow: 
            2px 2px 0px #000,
            -1px -1px 0px #000,
            1px -1px 0px #000,
            -1px 1px 0px #000,
            0 0 10px rgba(254, 85, 2, 0.8);
    }
    50% { 
        transform: rotate(-3deg) scale(1.05);
        text-shadow: 
            2px 2px 0px #000,
            -1px -1px 0px #000,
            1px -1px 0px #000,
            -1px 1px 0px #000,
            0 0 15px rgba(254, 85, 2, 1);
    }
}

@keyframes loginFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #fe5502, #a6a6a6, #545454, #fe5502, #a6a6a6, #fe5502);
    border-radius: 26px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    opacity: 0.8;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: none;
    position: relative;
}

.login-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fe5502, #a6a6a6);
    border-radius: 2px;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: #ffffff;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.login-container input[type="text"]::placeholder,
.login-container input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #fe5502;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(254, 85, 2, 0.3),
        0 8px 25px rgba(254, 85, 2, 0.2);
    transform: translateY(-2px);
}

.login-container .btn {
    background: linear-gradient(135deg, #fe5502 0%, #a6a6a6 100%);
    border: none;
    border-radius: 16px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.login-container .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.login-container .btn:hover::before {
    left: 100%;
}

.login-container .btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(254, 85, 2, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-container .btn:active {
    transform: translateY(-1px);
}

.error-msg {
    background: rgba(254, 85, 2, 0.15);
    border: 1px solid rgba(254, 85, 2, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #fe5502;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Efectos de partículas flotantes */
.login-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(-100px) translateX(50px); }
}

/* Responsive para login */
@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .login-container h2 {
        font-size: 1.5rem;
    }
}

/* Contenedor principal */
.container {
    max-width: 2000px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(254, 85, 2, 0.6);
    animation: pulse-orange 4s ease-in-out infinite;
}

/* Títulos */
h1, h2 {
    margin-bottom: 1rem;
    color: #fe5502; /* color principal naranja */
    text-shadow: 0 0 10px #fe5502;
}

/* Header */
.header {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px #fe5502;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fe5502;
}

.header h2 {
    margin: 0;
    color: #ffffff;
}

.header nav a {
    color: #ffffff;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    transition: background-color 0.3s ease;
}

.header nav a:hover {
    background-color: #ffffff;
    color: #fe5502;
}

/* Footer */
.footer {
    margin-top: auto;
    background: #ffffff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #fe5502;
    box-shadow: 0 -2px 10px #fe5502;
}

/* Tablas Mejoradas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(254, 85, 2, 0.3);
    background-color: #ffffff;
    color: #fe5502;
    table-layout: auto; /* Cambiado a auto para que las columnas se ajusten al contenido */
}

/* Encabezado tabla */
thead {
    background: #fe5502;
    color: #ffffff;
}

thead th {
    padding: 1rem;
    text-align: left;
    vertical-align: middle; /* Centrado vertical */
    white-space: nowrap; /* Evita que el encabezado se rompa en varias líneas */
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Cuerpo tabla */
tbody tr {
    background: #ffffff;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(254, 85, 2, 0.1);
}

tbody tr:nth-child(even) {
    background: #f9f9f9; /* Ligero color de fondo para filas pares */
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: rgba(254, 85, 2, 0.05); /* Resaltado al pasar el mouse */
}

tbody td {
    padding: 1rem;
    vertical-align: middle; /* Centrado vertical */
    white-space: normal; /* Permite que el texto se ajuste */
    word-wrap: break-word; /* Rompe palabras largas para evitar desbordamiento */
    min-width: 150px; /* Ancho mínimo para evitar que las celdas se colapsen */
}

/* Botones */
.btn {
    background: #fe5502;
    color: #2c2d2e;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    user-select: none;
}

.btn:hover {
    background: #fe5502;
    color: #fff;
}

.btn-edit {
    background: #a6a6a6;
    color: #2c2d2e;
}

.btn-edit:hover {
    background: #8c8c8c;
    color: #fff;
}

.btn-delete {
    background: #fe5502;
}

.btn-delete:hover {
    background: #fe5502;
}

.btn-cancel {
    background: #888;
    margin-left: 1rem;
}

.btn-cancel:hover {
    background: #666;
}

/* Formularios CRUD */
.form-crud {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.form-crud input[type="text"],
.form-crud input[type="number"],
.form-crud input[type="date"],
.form-crud select {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 1rem;
    transition: box-shadow 0.3s ease;
    background: #ffffff;
    color: #000000;
}

.form-crud input[type="text"]:focus,
.form-crud input[type="number"]:focus,
.form-crud input[type="date"]:focus,
.form-crud select:focus {
    box-shadow: 0 0 10px #fe5502;
    background: #6e6e6e;
}

/* Menú en dashboard */
.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    color: #fe5502;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(254, 85, 2, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(254, 85, 2, 0.6);
}

/* Animaciones */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 25px rgba(254, 85, 2, 0.6);
    }
    50% {
        box-shadow: 0 0 35px rgba(254, 85, 2, 0.9);
    }
    100% {
        box-shadow: 0 0 25px rgba(254, 85, 2, 0.6);
    }
}

@keyframes pulse-opacity {
    0% { opacity: 0.6; }
    50% { opacity: 1.0; }
    100% { opacity: 0.6; }
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    justify-content: center; /* Centrar contenido horizontalmente */
    min-height: calc(100vh - 120px);
    gap: 2rem;
    padding: 2rem;
}

/* Sidebar futurista */
.sidebar {
    width: 320px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: sidebarFloat 6s ease-in-out infinite;
}

@keyframes sidebarFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.sidebar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #fe5502;
    border-radius: 26px;
    z-index: -1;
    animation: pulse-opacity 3s ease-in-out infinite;
    opacity: 0.6;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(254, 85, 2, 0.3);
}

.sidebar-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Menu sections */
.menu-section {
    margin-bottom: 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 85, 2, 0.3), transparent);
    transition: left 0.5s;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    border-color: #fe5502;
    background: rgba(254, 85, 2, 0.1);
    box-shadow: 
        0 0 0 3px rgba(254, 85, 2, 0.3),
        0 8px 25px rgba(254, 85, 2, 0.2);
    transform: translateY(-2px);
}

.menu-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 10px rgba(254, 85, 2, 0.5));
}

.menu-text {
    flex: 1;
    font-weight: 600;
    color: #ffffff;
}

.menu-arrow {
    font-size: 0.8rem;
    color: #fe5502;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(254, 85, 2, 0.8));
}

/* Submenu */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.submenu.active {
    max-height: 300px;
    padding: 0.5rem 0;
}

.submenu-item {
    display: block;
    padding: 0.8rem 2rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.submenu-item:hover {
    background: rgba(254, 85, 2, 0.2);
    border-left-color: #fe5502;
    color: #fe5502;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(254, 85, 2, 0.8);
}

/* Main content */
.welcome-section {
    background: #fe5502;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(254, 85, 2, 0.4);
}

.welcome-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.welcome-section p {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Stats grid */
.stats-grid {
    display: flex; /* Cambiado a flex */
    justify-content: center; /* Centrado horizontal */
    flex-wrap: wrap; /* Para responsividad */
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 85, 2, 0.2), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    box-shadow: 
        0 0 0 3px rgba(254, 85, 2, 0.3),
        0 15px 35px rgba(254, 85, 2, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(254, 85, 2, 0.6));
}

.stat-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fe5502;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 10px rgba(254, 85, 2, 0.5);
}

.stat-info p {
    font-size: 1rem;
    color: #fe5502;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 600px) {
    .form-crud {
        flex-direction: column;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .header nav a {
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .dashboard-layout {
        padding: 1rem;
        gap: 1rem;
    }
    
    .sidebar,
    .main-content {
        padding: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2c2d2e; /* Fondo oscuro */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100; /* Valor alto para que esté por encima de todo */
    border-radius: 8px;
    padding: 10px 0;
    border: 1px solid #fe5502; /* Borde naranja */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.submenu-group {
    padding: 5px 0;
}

.submenu-group h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fe5502; /* Color naranja para los títulos */
    padding: 8px 16px;
    margin: 0;
    text-transform: uppercase;
}

.dropdown-content a {
    color: #ffffff; /* Texto blanco */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #fe5502; /* Fondo naranja en hover */
    color: #ffffff; /* Texto blanco en hover */
}




/* Formulario de Cuentas Estilizado */
.stylish-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(254, 85, 2, 0.1);
}

.stylish-form .form-group {
    display: flex;
    flex-direction: column;
}

.stylish-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.stylish-form input[type="email"],
.stylish-form input[type="password"],
.stylish-form select {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.stylish-form input[type="email"]:focus,
.stylish-form input[type="password"]:focus,
.stylish-form select:focus {
    border-color: #fe5502;
    box-shadow: 0 0 0 3px rgba(254, 85, 2, 0.2);
    background-color: #fff;
}

.stylish-form .form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.stylish-form .btn {
    flex: 1;
    background: #fe5502;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(254, 85, 2, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.stylish-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 85, 2, 0.5);
}

.stylish-form .btn-cancel {
    flex: 1;
    background: #eee;
    color: #555;
    box-shadow: none;
    font-weight: 600;
}

.stylish-form .btn-cancel:hover {
    background: #ddd;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.table-container {
    max-height: 600px; /* Ajusta esta altura si lo necesitas */
    overflow-y: auto;
}

/* Search Box Style */
.search-box {
    position: relative;
    margin-bottom: 1.5rem;
    max-width: 400px; /* O el ancho que prefieras */
}

.search-input {
    width: 100%;
    padding: 0.8rem 1.5rem 0.8rem 3rem; /* Padding para el ícono */
    border-radius: 16px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    background-color: #f9f9f9;
}

.search-input:focus {
    border-color: #fe5502;
    box-shadow: 0 0 10px rgba(254, 85, 2, 0.4);
    background-color: #fff;
}

.search-box::before {
    content: '🔍'; /* Ícono de búsqueda */
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
    z-index: 2;
}

/* Toolbar for search and actions */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}