body, html {
            margin: 0;
            padding: 0;
            height: auto;
            overflow-x: hidden;
            overflow-y: auto;
            background-color: #f5f5f5;
        }

        .layout {
            display: flex;

        }

        .sidebar {
            width: 250px;
            background-color: #2d3e50; /* azul grisáceo oscuro */
            color: white;
            padding: 20px;
            padding-bottom: 80px; /* ajusta según el tamaño del footer */
            border-top-right-radius: 0px;
            border-bottom-right-radius: 0px;
        }

        .sidebar h4 {
            font-weight: 600;
            font-size: 1.25rem;
        }

        hr.border-light {
            border-color: rgba(255, 255, 255, 0.3);
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            text-decoration: none;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .sidebar-link i {
            font-size: 1.1rem;
        }

        .sidebar-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: #e0e0e0; /* color claro legible al pasar mouse */
        }

        .sidebar-footer {
            margin-top: auto;
            padding-top: 1rem;
        }



.sidebar-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.sidebar-photo {
    width: 80%;
    border-radius: 6px;
    filter: grayscale(100%) brightness(1.2) contrast(1.1);
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}

.sidebar-photo:hover {
    opacity: 1;
    transform: scale(1.03);
}


.sidebar-logo {
    max-width: 70%;
    opacity: 0.25;
    filter: grayscale(100%) brightness(1.3);
    transition: transform 0.3s ease;
}

.sidebar-logo:hover {
    transform: scale(1.05);
    opacity: 0.35;
}



.main-content {
    padding-top: 1px;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.header-section {
    background: linear-gradient(90deg, #5a6d7a, #7a91a1);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 1.25rem;
    font-weight: 600;
}

.filter-section {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.filter-section label {
    font-weight: 500;
    color: #444;
}

.filter-section .form-control {
    border-radius: 8px;
    border-color: #ccc;
}

.results-section h4 {
    background: #c7420b; --#b04517; /* tono terracota */
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1.5rem;
}

.results-table {
    background-color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    overflow-y: auto;
    flex-grow: 1;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #333;
}

.results-table th {
    background-color: #f6f6f6;
    color: #444;
    font-weight: 600;
    padding: 0.75rem;
    border-bottom: 2px solid #ddd;
}

.results-table td {
    padding: 0.65rem;
    border-bottom: 1px solid #eee;
}

.results-table tr:hover {
    background-color: #f1f1f1;
}

        .nav-link {
            color: white;
            text-decoration: none;
        }

        .nav-link:hover {
            text-decoration: underline;
        }

        .feature-icon {
    width: 4rem;
    height: 4rem;
    font-size: 2.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #b04517;
    color: white;
}

.feature-icon i {
    display: inline-block;
    width: auto;
    height: auto;
}

.btn-excel {
    background-color: #00a26a;--#217346;
    color: white;
    font-weight: 500;
    border: none;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-excel:hover {
    background-color: #1a5d38;
    text-decoration: none;
}

.btn-excel i {
    font-size: 1rem;
}

.highlight-green {
color: #2d3e50;
}

.login-card {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 0.75rem;
padding: 2rem;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


.btn-login {
background-color: #2d3e50; /* azul grisáceo oscuro */
border: none;
}

.btn-login:hover {
background-color:  #3b4f64;
}

.footer-credits {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2d3e50; /* igual que la sidebar para armonía */
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.custom-btn {
  background-color: #2d3e50;
  color: #ffffff;
  border: none;
}

.custom-btn:hover {
  background-color: #3b4f64;
  color: #ffffff;
}
.custom-navbar-bg {
    background: linear-gradient(90deg, #5a6d7a, #7a91a1);
    /* #2d3e50; */
    /* O podrías usar un degradado similar al header-section si te gusta más: */
    /* background: linear-gradient(90deg, #5a6d7a, #2d3e50); */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* Sutil sombra para darle profundidad */
}

/* Estilos para los enlaces dentro de la navbar si no se ven bien con navbar-dark */
.custom-navbar-bg .nav-link {
    color: rgba(255, 255, 255, 0.85); /* Un blanco un poco translúcido */
    transition: color 0.2s ease;
}

.custom-navbar-bg .nav-link:hover {
    color: #fff; /* Blanco puro al pasar el ratón */
}

/* Estilo para el "Mi App" del navbar brand */
.custom-navbar-bg .navbar-brand {
    color: #fff; /* Blanco puro para el logo/nombre de la app */
    font-weight: 600;
            font-size: 1.25rem;
}

.custom-navbar-bg .navbar-brand:hover {
    color: #eee; /* Ligeramente más claro al pasar el ratón */
}