/* ============================= */
/*      BODY GENERAL            */
/* ============================= */

body {
    padding-top: 90px;
    background-color: #f8f9fa;
    font-family: "Segoe UI", sans-serif;
}


/* ================= 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;
}

.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;
}

.navbar .nav-link {
    position: relative;
    padding: 8px 14px !important;
    font-weight: 400 !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #fff !important;
    transition: color .2s ease;
}

.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 .nav-link:hover::after {
    width: 70%;
}

.navbar .nav-link.active::after {
    width: 100%;
}

.navbar .dropdown:hover > .nav-link::after {
    width: 70%;
}

.navbar .dropdown.show > .nav-link::after {
    width: 100%;
}

.navbar .nav-link.active,
.navbar .dropdown.show > .nav-link {
    background: transparent !important;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 8px 14px !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
}

.navbar-nav.gap-2 {
    gap: 0 !important;
}



/* ============================= */
/*           TABLA              */
/* ============================= */

table {
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

thead {
    background: #043b71;
    color: white;
}

.table th,
.table td {
    vertical-align: middle;
}


/* ============================= */
/*       BADGES DE ESTADO       */
/* ============================= */

.badge-estado {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Estados */

.pendiente {
    background: #fff3cd;
    color: #856404;
}

.proceso {
    background: #e2e3ff;
    color: #41464b;
}

.despachado {
    background: #cfe2ff;
    color: #084298;
}

.transito {
    background: #b6d4fe;
    color: #084298;
}

.centro {
    background: #d1e7dd;
    color: #0f5132;
}

.entrega {
    background: #ffe5d0;
    color: #7a3e00;
}

.bodega {
    background: #d4edda;
    color: #155724;
}

.entregado {
    background: #198754;
    color: white;
}


/* ============================= */
/*          BOTONES             */
/* ============================= */

.btn-primary {
    background-color: #043b71;
    border: none;
}

.btn-primary:hover {
    background-color: #032c55;
}


/* ============================= */
/*           FOOTER             */
/* ============================= */

.bg-primary {
    background-color: #043b71 !important;
}


/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
