html, body {
    height: 100%;
}

.body-dashboard {
    background: url("../photo/imagenfactura.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding-top: 90px; /* navbar fija */
    color: #333;
    line-height: 1.8;

    /* Layout para que el footer no se corte */
    display: flex;
    flex-direction: column;
}



/* ============================================
   DASHBOARD HEADER
   ============================================ */
.dashboard-header {
    background: rgba(255, 255, 255, 0.219);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.297);
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.dashboard-header h1 {
    font-size: 25px;
    color: #222;
    margin: 8px 0 6px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.dashboard-header .subtitle {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 300;
}


/* ============================================
               USER INFO SECTION
               ============================================ */

.user-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.user-profile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);

}


.user-profile:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.user-details {
    text-align: center;
}

.user-details p {
    font-size: 1rem;
    margin: 6px 0;
    color: #333;
    font-weight: 500;
}

.user-details .label {
    color: #667eea;
    font-weight: 600;
    display: inline;
    margin-right: 8px;
}

.user-details .value {
    color: #555;
    font-weight: 500;
}



/* CONTENEDOR */
.formulario-contacto {
    max-width: 1200px;
    margin: 20px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.formulario-contacto h1 {
    font-family: calibri;
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    color: #003B8A;
    font-weight: bold;
}

/* MÓDULOS */
.modulos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
     border-radius: 12px;
  
}

.modulo {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
}

.modulo:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.modulo-toggle {
    display: none;
}

/* CABECERA del módulo */
.modulo-header {
    background: #0056D2;
    color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.modulo-header h2 {
    margin: 0;
    font-size: 22px;
    font-family: calibri;
    font-weight: bold;
}

/* ICONO */
.hamburger-icon {
    width: 40px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 5px;
    background-color: white;
    /* color de numero  de arbugesa */
    border-radius: 3000px;
    transition: all 0.3s ease;
}

/* Contenido del módulo */
.modulo-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #E6F0FF;
    /* azul claro  de div */
    opacity: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modulo-toggle:checked~.modulo-content {
    opacity: 1;
    visibility: visible;
}

/* SECCIONES */
.crud-section h3 {
    font-family: calibri;
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Separa el icono del borde */
.crud-section h3::before {
    content: '';
    display: block;
    min-width: 30px;
    
}


/* COLORES por sección  */
.crud-section.insercion h3 {
    color: #08CB00;
    border-bottom-color: #2df504;
}

.crud-section.consulta h3 {
    color: #F4C430;
    border-bottom-color: #F4C430;
}

.crud-section.eliminacion h3 {
    color: #ff0000;
    border-bottom-color: #d20020;
}

.crud-section.actualizacion h3 {
    color: #003B8A;
    border-bottom-color: #003B8A;
}

/* BOTONES - Colores por sección */
.crud-section.insercion .boton {
    background-color: #08CB00;
    color: rgb(0, 0, 0);
}

.crud-section.insercion .boton:hover {
    background-color: #06a300;
    transform: translateX(2px);
}

.crud-section.consulta .boton {
    background-color: #F4C430;
    color: #000000;

}

.crud-section.consulta .boton:hover {
    background-color: #d4a420;
    transform: translateX(2px);
}

.crud-section.eliminacion .boton {
    background-color: #ff0000;
    color: white;
}

.crud-section.eliminacion .boton:hover {
    background-color: #cc0000;
    transform: translateX(2px);
}

.crud-section.actualizacion .boton {
    background-color: #003B8A;
    color: white;
}

.crud-section.actualizacion .boton:hover {
    background-color: #002656;
    transform: translateX(2px);
}

/* BOTONES - Estilos generales */
button {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    width: calc(100% - 8px); /* ← 4px de retiro por cada lado */
    margin: 10px 4px;          /* ← 4px a izquierda y derecha */
    display: block;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
}

.cerrar {
    background:  #003B8A ;
    border: 3px solid #0058;
    color: #ffffff;
    font-size: 13px;
    padding: 6px 12px;
   cursor: pointer;
   text-transform: uppercase;
   text-decoration: none;
   }
   
   
   .cerrar:hover {
       animation: none;
       background: #0056D2;
    }

    /* =========================================
   INGESEGMAN LTDA - CSS GENERAL COMPLETO
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= CONFIGURACIÓN GENERAL ================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
  
    margin: 0;
    padding-top: 90px !important;
    color: #333;
    line-height: 1.8;
}
   h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ================= NAVBAR ================= */
nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background-color: #043b71 !important;
    padding: 10px 0 !important;
}

.dashboard {
    margin-top: 20px;
    padding-top: 20px;
}

.bg-custom {
    background-color: #043b71 !important;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.nav-link {
    color: #fff !important;
    padding: 8px 15px !important;
}

.nav-link:hover {
    color: #d0d0d0 !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: bold;
}

/* Badge del carrito */
.carrito-badge {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
}

/* CARRUSEL*/
.carousel-item img {
    width: 100%;
    height: 700px !important;
    object-fit: contain !important;
    background-color: #ffffff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators [data-bs-target] {
    background-color: white;
}


.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 10px;
}

.card-img-top {
    text-decoration: none;
}

.img-fluid {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ================= PÁGINA DE PRODUCTOS ================= */
.productos-container {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    color: #043b71;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 2.5rem;
}

.producto-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.producto-imagen {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.producto-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    color: #043b71;
    margin-bottom: 10px;
    min-height: 50px;
    line-height: 1.3;
}

.producto-descripcion {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    flex-grow: 1;
    line-height: 1.5;
}

.producto-modelo {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.producto-modelo strong {
    color: #555;
}

.producto-precio {
    font-size: 1.4rem;
    font-weight: bold;
    color: #043b71;
    margin: 15px 0;
    text-align: center;
    padding: 10px;
    background: #f0f7ff;
    border-radius: 8px;
}

.btn-agregar {
    background: #043b71;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.btn-agregar:hover {
    background: #032a50;
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.btn-agregar:active {
    transform: scale(0.98);
}

/* ================= DETALLE DE PRODUCTO ================= */
.producto-imagen-grande {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.producto-imagen-grande img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}

.producto-info-detalle {
    padding: 20px;
}

.producto-caracteristicas {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.producto-caracteristicas ul {
    margin-bottom: 0;
}

.producto-caracteristicas ul li {
    margin-bottom: 8px;
}

/* ================= CARRITO DE COMPRAS ================= */
.carrito-item {
    transition: background-color 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.carrito-item:hover {
    background-color: #f8f9fa;
}

.carrito-item img {
    max-height: 80px;
    object-fit: contain;
    border-radius: 5px;
}

.sticky-top {
    position: sticky;
    top: 100px;
}

.carrito-item input[type="number"]::-webkit-inner-spin-button,
.carrito-item input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* ================= PRODUCTOS (PÁGINA DETALLE) ================= */
.product-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.product-img {
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.product-info {
    background: #f3f3f3;
    border-radius: 12px;
}

.product-info ul {
    padding-left: 20px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #043b71;
    margin-top: 5px;
}

.precio {
    font-size: 1.2rem;
    font-weight: bold;
    color: #043b71;
}

/* ================= ITEMS DE VENTA ================= */
.venta-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.venta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

/* ================= IMÁGENES GENERALES ================= */
.mi-imagen {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
}

.servicio-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.mapa-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* ================= BOTONES ================= */
.btn-servicio {
    background-color: #043b71;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-servicio:hover {
    background-color: #032a50;
}
.boton {
    display: block;
    width: calc(100% - 8px); /* 4px retirado por cada lado */
    margin: 6px 4px;
}

/* ================= ACORDEÓN (GENERAL) ================= */
.accordion-button:hover {
    border: 2px solid blue;
}

.accordion-collapse {
    background-color: rgba(0, 0, 255, 0.1);
}

/* ================= SECCIÓN CONTACTO ================= */
.seccion-contacto {
    text-align: center;
}

.contact-item {
    background: white;
    padding: 20px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.icono {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ================= MAPA (LEAFLET) ================= */
#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ================= FORMULARIOS ================= */
.formulario {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.formulario h2 {
    margin-bottom: 15px;
}

.formulario label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.formulario button {
    margin-top: 15px;
    padding: 12px;
    width: 100%;
    background: #043b71;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario button:hover {
    background: #032a50;
}

.campo {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* ================= FOOTER ================= */
.footer {
    background-color: #043b71;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
    font-size: 0.95rem;
    line-height: 1.4rem;
}

/* ================= CONTENEDORES ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.izquierda,
.derecha {
    width: 48%;
    padding: 20px;
    background: #f3f3f3;
    border-radius: 10px;
}

/* =========================================
   PÁGINA NOSOTROS - ESTILOS PROFESIONALES
   ========================================= */

/* Hero Image Section */
.hero-nosotros {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 90px;
    overflow: hidden;
}

.hero-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 59, 113, 0.8), rgba(4, 59, 113, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    color: white;
    text-align: center;
    z-index: 10;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* Sección Sobre Nosotros */
.sobre-nosotros {
    padding: 80px 0;
    background: white;
}

.sobre-nosotros h2 {
    color: #043b71;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.sobre-nosotros h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #043b71, #0066cc);
    border-radius: 2px;
}

.text-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid #043b71;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(4, 59, 113, 0.15);
}

.text-card p {
    margin: 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
}

/* Sección Identidad */
.identidad-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.identidad-section h2 {
    color: #043b71;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.identidad-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #043b71, #0066cc);
    border-radius: 2px;
}

/* Acordeón Mejorado para Nosotros */
.identidad-section .accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.identidad-section .accordion-button {
    background: white;
    color: #043b71;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 25px 30px;
    border: none;
    transition: all 0.3s ease;
}

.identidad-section .accordion-button:not(.collapsed) {
    background: #043b71;
    color: white;
    box-shadow: none;
}

.identidad-section .accordion-button:hover {
    background: #032a50;
    color: white;
}

.identidad-section .accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
}

.identidad-section .accordion-body {
    background: white;
    padding: 30px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
}

.identidad-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

/* Estadísticas/Valores */
.valores-section {
    padding: 60px 0;
    background: white;
}

.valor-card {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #043b71, #0066cc);
    color: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(4, 59, 113, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
}

.valor-card:hover {
    transform: translateY(-10px);
}

.valor-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.valor-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.valor-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* ================= ANIMACIONES ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card {
    animation: fadeIn 0.5s ease-in-out;
}

.col-lg-4:nth-child(1) .producto-card { animation-delay: 0.1s; }
.col-lg-4:nth-child(2) .producto-card { animation-delay: 0.2s; }
.col-lg-4:nth-child(3) .producto-card { animation-delay: 0.3s; }
.col-lg-4:nth-child(4) .producto-card { animation-delay: 0.4s; }
.col-lg-4:nth-child(5) .producto-card { animation-delay: 0.5s; }
.col-lg-4:nth-child(6) .producto-card { animation-delay: 0.6s; }

/* ================= RESPONSIVE ================= */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .page-title {
        font-size: 2rem;
    }
    
    .producto-imagen {
        height: 220px;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .contact-item {
        padding: 15px;
    }

    .icono {
        font-size: 2rem;
    }

    #map {
        height: 300px;
    }

    .izquierda,
    .derecha {
        width: 100%;
    }

    .producto-imagen-grande img {
        max-height: 300px;
    }

    .sticky-top {
        position: relative;
        top: 0;
    }

    .carrito-item .row > div {
        margin-bottom: 10px;
    }

    .productos-container {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .producto-card {
        padding: 15px;
    }
    
    .producto-imagen {
        height: 200px;
    }
    
    .producto-titulo {
        font-size: 1rem;
        min-height: auto;
    }
    
    .producto-precio {
        font-size: 1.2rem;
        padding: 8px;
    }

    /* Nosotros Responsive */
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-nosotros {
        height: 300px;
    }

    .sobre-nosotros h2,
    .identidad-section h2 {
        font-size: 2rem;
    }

    .text-card {
        padding: 20px;
    }

    .identidad-section .accordion-button {
        font-size: 1.1rem;
        padding: 20px;
    }

    .valor-card {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    .sobre-nosotros,
    .identidad-section {
        padding: 50px 0;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .card img {
        height: 200px;
    }

    .product-img {
        height: 200px;
    }

    .page-title {
        font-size: 1.5rem;
    }
    
    .producto-imagen {
        height: 180px;
        padding: 10px;
    }
    
    .producto-descripcion {
        font-size: 0.85rem;
    }
    
    .btn-agregar {
        padding: 10px;
        font-size: 0.9rem;
    }
}

button.boton-actualizar {
    background-color: #f59e0b;
}

button.boton-actualizar:hover {
    background-color: #d97706;
    box-shadow: 0 0 20px #ca7703;
    transform: translateY(-5px) scale(1.02);
}


button.boton {
    padding: 8px 16px;
    font-size: 20px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


button.boton-eliminar {
    background-color: #dc2626;

}

button.boton-eliminar:hover {
    background-color: #b91c1c;
    box-shadow: 0 0 20px #af4105;
    transform: translateY(-5px) scale(1.02);
}

button.boton-eliminar:focus {
    outline: 2px solid #f87171;
    outline-offset: 2px;
}
/* ===== Navbar links ===== */
.navbar .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 500;
    color: #fff !important;
    transition: color .2s ease;
}

/* Subrayado animado */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #0d6efd);
    border-radius: 6px;
    transform: translateX(-50%);
    transition: width .25s ease;
}

/* ===== Navbar links ===== */
.navbar .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 500;
    color: #fff !important;
}

/* Subrayado animado */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #0d6efd);
    border-radius: 6px;
    transform: translateX(-50%);
    transition: width .25s ease;
}

/* Hover */
.navbar .nav-link:hover::after {
    width: 70%;
}

/* Activo real (se queda subrayado) */
.navbar .nav-link.active::after {
    width: 100%;
}

/* ===== Dropdown ===== */

/* Cuando haces hover al dropdown */
.navbar .dropdown:hover > .nav-link::after {
    width: 70%;
}

/* Cuando el dropdown está abierto (clic) */
.navbar .dropdown.show > .nav-link::after {
    width: 100%;
}

/* Quitar fondo raro de Bootstrap */
.navbar .nav-link.active,
.navbar .dropdown.show > .nav-link {
    background: transparent !important;
}


html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

     .alert-blue {
                background-color: #cfe8ff;
                color: #0b4f8a;
                border: 1px solid #79b7ff;
                padding: 12px 16px;
                border-radius: 6px;
                margin: 12px 0;
                box-shadow: 0 1px 3px rgba(11, 79, 138, 0.1);
                font-weight: 600;
                max-width: 720px;
            }

            #message-container {
                position: fixed;
                top: 16px;
                right: 16px;
                z-index: 9999;
            }
footer {
    background: #0d3b66;
    color: white;
    text-align: center;
    padding: 15px;
}