
/* ============================================================
   QENTA DESIGN SYSTEM — Extracted from qenta_base.html
   ============================================================ */

/* -- QENTA MAIN CSS ──────────────────────────────────── */

/* =============================================
       VARIABLES QENTA
       ============================================= */
    :root {
      --qd-dark:       #141433;
      --qd-purple:     #8e01fb;
      --qd-blue:       #455ffd;
      --qd-gradient:   linear-gradient(135deg, #8e01fb, #455ffd);
      --qd-bg:         #e8ecf4;
      --qd-white:      #ffffff;
      --qd-sidebar-w:  250px;
      --qd-sidebar-collapsed: 68px;
      --qd-header-h:   65px;
      --qd-text-muted: #7a7d8e;
      --qd-cyan:       #05abff;
    }

    /* =============================================
       RESET — Kill Bootstrap & Browser defaults
       ============================================= */
    html, body {
      margin: 0 !important;
      padding: 0 !important;
      font-family: 'Poppins', sans-serif !important;
      background: var(--qd-bg) !important;
      overflow: hidden;
      height: 100vh;
    }

    /* Hide base elements */
    .navbar, .navbar-secondary, .alert, #js-messages {
      display: none !important;
    }

    /* Target the main container from base.html */
    .container.mt-4 {
      max-width: 100% !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* =============================================
       LAYOUT PRINCIPAL
       ============================================= */
    .qd-wrapper {
      display: flex;
      flex-direction: column;
      height: 100vh;
      overflow: hidden;
    }

    /* =============================================
       HEADER — Full-width top bar (white)
       ============================================= */
    .qd-header {
      display: flex;
      align-items: center;
      background: var(--qd-white);
      height: var(--qd-header-h);
      min-height: var(--qd-header-h);
      z-index: 20;
      border-bottom: 2.5px solid var(--qd-dark);
    }

    /* Logo zone — matches sidebar width */
    .qd-header-logo-zone {
      width: var(--qd-sidebar-w);
      min-width: var(--qd-sidebar-w);
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                  min-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .qd-header-logo-zone.collapsed {
      width: var(--qd-sidebar-collapsed);
      min-width: var(--qd-sidebar-collapsed);
      overflow: hidden;
    }

    .qd-header-logo {
      height: 46px;
    }

    /* Right of logo zone */
    .qd-header-content {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem 0 0;
    }

    .qd-header-left {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .qd-header-divider {
      width: 2px;
      height: 35px;
      background: var(--qd-purple);
      opacity: 0.8;
    }

    .qd-header-title {
      color: var(--qd-dark);
      font-size: 1.05rem;
      font-weight: 700;
    }

    .qd-header-right {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    /* Admin Branch Selector (Header) */
    .qd-branch-selector {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.4rem 0.6rem 0.4rem 0.85rem;
      background: white;
      border: 1.5px solid #e2e2ee;
      border-radius: 12px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(20, 20, 51, 0.04);
    }
    .qd-branch-selector:hover {
      border-color: rgba(142, 1, 251, 0.3);
      box-shadow: 0 3px 14px rgba(142, 1, 251, 0.1);
    }
    .qd-branch-selector .branch-icon {
      font-size: 0.85rem;
      color: var(--qd-purple);
    }
    .qd-branch-selector select {
      border: none;
      background: transparent;
      font-family: 'Poppins', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      color: #141433;
      outline: none;
      cursor: pointer;
      padding: 0.25rem 1.6rem 0.25rem 0.2rem;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23141433' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.2rem center;
      min-width: 140px;
    }
    .qd-branch-selector select:focus {
      color: #141433;
    }
    .qd-branch-selector select option {
      color: #141433;
      font-weight: 600;
      padding: 0.4rem 0.6rem;
    }

    /* Search bar styles removed */

    /* =============================================
       BODY — Sidebar + Main Content
       ============================================= */
    .qd-body {
      display: flex;
      flex: 1;
      overflow: hidden;
    }

    /* =============================================
       SIDEBAR
       ============================================= */
    .qd-sidebar {
      width: var(--qd-sidebar-w);
      min-width: var(--qd-sidebar-w);
      background: var(--qd-dark);
      display: flex;
      flex-direction: column;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
      z-index: 10;
    }

    .qd-sidebar.collapsed {
      width: var(--qd-sidebar-collapsed);
      min-width: var(--qd-sidebar-collapsed);
    }

    .qd-sidebar.collapsed .qd-sidebar-inner {
      min-width: var(--qd-sidebar-collapsed);
      opacity: 1;
      pointer-events: auto;
    }

    /* Hide text labels in collapsed mode */
    .qd-sidebar.collapsed .qd-sidebar-link span,
    .qd-sidebar.collapsed .qd-sidebar-group-toggle span,
    .qd-sidebar.collapsed .qd-sidebar-exit span,
    .qd-sidebar.collapsed .qd-sidebar-name,
    .qd-sidebar.collapsed .toggle-arrow {
      display: none;
    }

    /* Center icons in collapsed mode */
    .qd-sidebar.collapsed .qd-sidebar-link,
    .qd-sidebar.collapsed .qd-sidebar-group-toggle,
    .qd-sidebar.collapsed .qd-sidebar-exit {
      justify-content: center;
      padding: 0.55rem;
    }

    .qd-sidebar.collapsed .qd-sidebar-link i,
    .qd-sidebar.collapsed .qd-sidebar-group-toggle i.toggle-icon,
    .qd-sidebar.collapsed .qd-sidebar-exit i {
      font-size: 1.1rem;
    }

    /* Smaller avatar in collapsed mode */
    .qd-sidebar.collapsed .qd-sidebar-avatar,
    .qd-sidebar.collapsed .qd-sidebar-avatar-placeholder {
      width: 38px;
      height: 38px;
      font-size: 0.85rem;
      margin-bottom: 0;
    }

    .qd-sidebar.collapsed .qd-sidebar-profile {
      padding: 0.5rem 0.5rem 0.35rem;
    }

    /* Collapsed toggle button */
    .qd-sidebar.collapsed .qd-sidebar-toggle {
      margin: 0.2rem 0.6rem 0.5rem;
      padding: 0.45rem;
    }

    /* Collapsed nav — distribute icons evenly */
    .qd-sidebar.collapsed .qd-sidebar-nav {
      padding: 0 0.4rem;
      gap: 0.25rem;
      justify-content: center;
    }

    /* Collapsed inner — reduce top/bottom padding */
    .qd-sidebar.collapsed .qd-sidebar-inner {
      padding-top: 0.8rem;
      padding-bottom: 0.4rem;
    }

    /* Submenus in collapsed mode: floating popup on hover */
    .qd-sidebar.collapsed .qd-sidebar-submenu {
      position: fixed;
      min-width: 190px;
      background: var(--qd-dark);
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      padding: 0.5rem;
      padding-left: 0.5rem;
      max-height: none !important;
      overflow: visible !important;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s ease;
      z-index: 9999;
      border: 1px solid rgba(255,255,255,0.1);
      /* Position set by JS */
    }

    .qd-sidebar.collapsed .qd-sidebar-submenu .qd-sidebar-link {
      justify-content: flex-start;
      padding: 0.5rem 0.75rem;
    }

    .qd-sidebar.collapsed .qd-sidebar-submenu .qd-sidebar-link span {
      display: inline;
    }

    .qd-sidebar.collapsed .qd-sidebar-group {
      position: relative;
    }

    .qd-sidebar.collapsed .qd-sidebar-group.submenu-open > .qd-sidebar-submenu {
      opacity: 1;
      pointer-events: auto;
    }

    /* Hide submenu headers in collapsed floating popup */
    .qd-sidebar.collapsed .qd-submenu-header {
      display: none;
    }

    /* Tooltip on hover for collapsed links */
    .qd-sidebar.collapsed .qd-sidebar-link {
      position: relative;
    }

    .qd-sidebar.collapsed > .qd-sidebar-inner > .qd-sidebar-nav > .qd-sidebar-link:hover::after {
      content: attr(data-tooltip);
      position: absolute;
      left: calc(100% + 10px);
      top: 50%;
      transform: translateY(-50%);
      background: var(--qd-dark);
      color: white;
      padding: 0.35rem 0.7rem;
      border-radius: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      white-space: nowrap;
      z-index: 200;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .qd-sidebar.collapsed .qd-sidebar-footer {
      padding: 0.3rem 0.4rem 0;
      margin-top: 0.5rem;
    }

    .qd-sidebar-inner {
      display: flex;
      flex-direction: column;
      height: 100%;
      padding: 1.2rem 0;
      opacity: 1;
      transition: opacity 0.2s ease;
      min-width: var(--qd-sidebar-w);
    }

    /* Profile */
    .qd-sidebar-profile {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0.5rem 1rem 0.8rem;
    }

    .qd-sidebar-avatar {
      width: 55px;
      height: 55px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--qd-purple);
      margin-bottom: 0.5rem;
    }

    .qd-sidebar-avatar-placeholder {
      width: 55px;
      height: 55px;
      border-radius: 50%;
      background: var(--qd-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .qd-sidebar-name {
      color: rgba(255,255,255,0.8);
      font-size: 0.78rem;
      font-weight: 500;
      text-align: center;
      white-space: nowrap;
    }

    /* Hamburger / toggle */
    .qd-sidebar-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0.3rem 1.2rem 0.8rem;
      padding: 0.6rem;
      border-radius: 12px;
      background: var(--qd-gradient);
      color: white;
      font-size: 1rem;
      cursor: pointer;
      border: none;
      transition: all 0.3s ease;
    }

    .qd-sidebar-toggle:hover {
      opacity: 0.85;
      transform: scale(1.02);
    }

    /* Nav links */
    .qd-sidebar-nav {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
      padding: 0 0.8rem;
      overflow-y: auto;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }
    
    .qd-sidebar-nav > * {
      flex-shrink: 0;
    }

    /* Better Scrollbar for Sidebar */
    .qd-sidebar-nav::-webkit-scrollbar { width: 4px; }
    .qd-sidebar-nav::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); }
    .qd-sidebar-nav::-webkit-scrollbar-thumb {
      background: rgba(255,255,255,0.15);
      border-radius: 99px;
    }
    .qd-sidebar-nav::-webkit-scrollbar-thumb:hover {
      background: rgba(255,255,255,0.25);
    }

    .qd-sidebar-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.6rem 0.85rem;
      border-radius: 10px;
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      font-size: 0.84rem;
      font-weight: 500;
      transition: all 0.25s ease;
      white-space: nowrap;
    }

    .qd-sidebar-link i {
      width: 20px;
      text-align: center;
      font-size: 0.92rem;
      flex-shrink: 0;
    }

    .qd-sidebar-link:hover {
      background: rgba(255,255,255,0.08);
      color: white;
    }

    .qd-sidebar-link.active {
      background: var(--qd-gradient);
      color: white;
      font-weight: 600;
      box-shadow: 0 4px 15px rgba(142, 1, 251, 0.25);
    }

    /* Collapsible submenu */
    .qd-sidebar-group-toggle {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.6rem 0.85rem;
      border-radius: 10px;
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      font-size: 0.84rem;
      font-weight: 500;
      transition: all 0.25s ease;
      white-space: nowrap;
      cursor: pointer;
      border: none;
      background: none;
      width: 100%;
      text-align: left;
    }

    .qd-sidebar-group-toggle i.toggle-icon {
      width: 20px;
      text-align: center;
      font-size: 0.92rem;
      flex-shrink: 0;
    }

    .qd-sidebar-group-toggle .toggle-arrow {
      margin-left: auto;
      font-size: 0.65rem;
      transition: transform 0.3s ease;
      opacity: 0.5;
    }

    .qd-sidebar-group-toggle:hover {
      background: rgba(255,255,255,0.08);
      color: white;
    }

    .qd-sidebar-group-toggle.active {
      background: var(--qd-gradient);
      color: white;
      font-weight: 600;
      box-shadow: 0 4px 15px rgba(142, 1, 251, 0.25);
    }

    .qd-sidebar-group.open .toggle-arrow {
      transform: rotate(90deg);
    }

    .qd-sidebar-submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      padding-left: 1rem;
    }

    .qd-sidebar-group.open .qd-sidebar-submenu {
      max-height: 1000px; /* Suficiente para todos los items */
    }

    .qd-sidebar-submenu .qd-sidebar-link {
      font-size: 0.78rem;
      padding: 0.3rem 0.85rem;
      color: rgba(255,255,255,0.45);
    }

    .qd-sidebar-submenu .qd-sidebar-link:hover {
      color: white;
    }

    .qd-sidebar-submenu .qd-sidebar-link.active {
      background: #2d2055; /* Morado oscuro sólido como el de tu imagen */
      color: white;
      font-weight: 600;
      box-shadow: none;
    }

    /* Footer — Salir */
    .qd-sidebar-footer {
      padding: 0.5rem 0.8rem 0;
      margin-top: auto;
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 0.8rem;
    }

    .qd-sidebar-exit {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      padding: 0.6rem 0.85rem;
      border-radius: 10px;
      color: white;
      text-decoration: none;
      font-size: 0.84rem;
      font-weight: 500;
      transition: all 0.25s ease;
      white-space: nowrap;
    }

    .qd-sidebar-exit i {
      width: 20px;
      text-align: center;
      font-size: 0.92rem;
    }

    .qd-sidebar-exit:hover {
      background: rgba(255, 255, 255, 0.1);
      color: white;
    }

    /* =============================================
       MODAL SYSTEM — QENTA PREMIUM
       ============================================= */
    .qd-modal-overlay {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: transparent;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      animation: qd-fadeOverlay 0.3s ease;
    }

    @keyframes qd-fadeOverlay {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .qd-modal {
      background: var(--qd-white);
      width: 100%;
      max-width: 420px;
      border-radius: 32px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.15);
      position: relative;
      padding: 2.5rem 2rem;
      text-align: center;
      animation: qd-modalZoom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes qd-modalZoom {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .qd-modal-close {
      position: absolute;
      top: 1.2rem;
      right: 1.2rem;
      background: none;
      border: none;
      color: #a0a4b0;
      font-size: 1.2rem;
      cursor: pointer;
      transition: color 0.2s;
    }
    .qd-modal-close:hover { color: var(--qd-dark); }

    .qd-modal-icon-box {
      width: 80px;
      height: 80px;
      margin: 0 auto 1.5rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    /* Danger / Delete status */
    .qd-modal-icon-danger {
      border: 2px solid #ef4444;
      background: #fef2f2;
      color: #ef4444;
    }

    .qd-modal-title {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--qd-dark);
      margin-bottom: 1rem;
    }

    .qd-modal-message {
      font-size: 0.95rem;
      color: var(--qd-dark);
      line-height: 1.5;
      margin-bottom: 0.5rem;
    }

    .qd-modal-message b { font-weight: 700; color: var(--qd-dark); }

    .qd-modal-warning {
      font-size: 0.85rem;
      color: #94a3b8;
      margin-bottom: 2rem;
    }

    .qd-modal-actions {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .qd-btn {
      width: 100%;
      padding: 0.9rem;
      border-radius: 16px;
      font-weight: 700;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      display: block;
      text-align: center;
    }

    .qd-btn-cancel {
      background: #e9eff6;
      color: var(--qd-dark);
    }
    .qd-btn-cancel:hover { background: #dee5ef; }

    .qd-btn-danger {
      background: #ef4444;
      color: white;
    }
    .qd-btn-danger:hover {
      background: #dc2626;
      box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
    }

    /* Toggle button when sidebar is collapsed */
    .qd-toggle-open {
      position: fixed;
      top: calc(var(--qd-header-h) + 0.8rem);
      left: 0.8rem;
      z-index: 30;
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: var(--qd-dark);
      color: white;
      border: none;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
    }

    .qd-toggle-open:hover { background: var(--qd-purple); }
    .qd-toggle-open.visible { display: flex; }

    /* =============================================
       MAIN CONTENT
       ============================================= */
    .qd-main {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Scrollbar Qenta Premium Global para el Main */
    .qd-main::-webkit-scrollbar { width: 8px; height: 8px; }
    .qd-main::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
    .qd-main::-webkit-scrollbar-thumb { background: rgba(142, 1, 251, 0.25); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
    .qd-main::-webkit-scrollbar-thumb:hover { background: rgba(142, 1, 251, 0.45); }

    .qd-content {
      padding: 1.5rem 2rem;
      animation: qd-fadeInUp 0.5s ease;
    }

    @keyframes qd-fadeInUp {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Welcome bar */
    .qd-welcome {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }

    .qd-welcome h2 {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--qd-dark);
      margin: 0;
    }

    .qd-welcome h2 span {
      font-weight: 400;
    }

    .qd-welcome .qd-welcome-sub {
      font-size: 0.82rem;
      color: var(--qd-text-muted);
      margin: 0;
    }

    .qd-welcome-date {
      font-size: 0.85rem;
      color: var(--qd-text-muted);
    }

    .qd-welcome-date strong {
      color: var(--qd-dark);
    }

    /* =============================================
       RESPONSIVE
       ============================================= */
    @media (max-width: 768px) {
      /* Header adjustments */
      .qd-header-logo-zone {
        width: 60px;
        min-width: 60px;
      }
      .qd-header-title { font-size: 0.9rem; }
      .qd-search-bar { width: 120px; }
      .qd-branch-selector { display: none; }

      /* Sidebar: off-screen by default, full width when open */
      .qd-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1200;
        width: var(--qd-sidebar-w) !important;
        min-width: var(--qd-sidebar-w) !important;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        overflow-y: auto;
      }
      /* Force expanded state when mobile-open (override any collapsed state) */
      .qd-sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 8px 0 30px rgba(0,0,0,0.3);
      }
      .qd-sidebar.mobile-open .qd-sidebar-inner {
        min-width: var(--qd-sidebar-w) !important;
        width: var(--qd-sidebar-w) !important;
      }
      .qd-sidebar.mobile-open .qd-sidebar-name,
      .qd-sidebar.mobile-open .qd-sidebar-link span,
      .qd-sidebar.mobile-open .qd-sidebar-group-toggle span,
      .qd-sidebar.mobile-open .qd-sidebar-exit span,
      .qd-sidebar.mobile-open .toggle-arrow {
        display: inline !important;
      }
      .qd-sidebar.mobile-open .qd-sidebar-link,
      .qd-sidebar.mobile-open .qd-sidebar-group-toggle {
        justify-content: flex-start !important;
        padding: 0.5rem 0.85rem !important;
      }
      .qd-sidebar.mobile-open .qd-sidebar-exit {
        justify-content: center !important;
      }
      .qd-sidebar.mobile-open .qd-sidebar-avatar,
      .qd-sidebar.mobile-open .qd-sidebar-avatar-placeholder {
        width: 55px !important;
        height: 55px !important;
        margin-bottom: 0.35rem !important;
      }
      .qd-sidebar.mobile-open .qd-sidebar-profile {
        padding: 0.5rem 1rem 0.8rem !important;
      }
      /* Keep submenu visible inline inside mobile sidebar */
      .qd-sidebar.mobile-open .qd-sidebar-submenu {
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        display: none;
        padding-left: 0.8rem;
      }
      .qd-sidebar.mobile-open .qd-sidebar-group.open .qd-sidebar-submenu {
        display: block !important;
      }

      /* Dark backdrop */
      .qd-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1199;
        backdrop-filter: blur(2px);
      }
      .qd-sidebar-backdrop.active {
        display: block;
        animation: qmFadeIn 0.25s ease;
      }

      /* Main content: full width */
      .qd-main {
        margin-left: 0 !important;
        width: 100% !important;
      }
      .qd-content {
        padding: 1rem !important;
      }

      /* Hide desktop toggles */
      .qd-sidebar-toggle { display: none !important; }
      .qd-toggle-open { display: none !important; }

      /* Floating mobile hamburger — bottom right to avoid overlap with sidebar */
      .qd-mobile-toggle {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1201;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--qd-gradient);
        color: white;
        border: none;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 6px 20px rgba(142,1,251,0.35);
        cursor: pointer;
        transition: transform 0.2s, opacity 0.2s;
      }
      .qd-mobile-toggle:hover { transform: scale(1.1); }
      /* Hide button when sidebar is open */
      .qd-sidebar.mobile-open ~ .qd-mobile-toggle { opacity: 0; pointer-events: none; }
    }

    /* Tablets — responsive content adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
      .qd-content { padding: 1.2rem !important; }
      .qd-mobile-toggle { display: none !important; }
      .qd-sidebar-backdrop { display: none !important; }
    }

    /* =============================================
       RESPONSIVE CONTENT — Mobile & Tablets
       ============================================= */
    @media (max-width: 768px) {
      /* ── Tables: horizontal scroll ── */
      .table-responsive,
      .qd-content table,
      table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      .qd-content table th,
      .qd-content table td {
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 0.5rem 0.6rem !important;
      }

      /* ── Forms: stack vertically ── */
      .qd-content form .row,
      .qd-content .filter-row,
      .qd-content .d-flex:not(.qd-sidebar-nav):not(.qd-sidebar-profile) {
        flex-direction: column !important;
        gap: 0.5rem !important;
      }
      .qd-content form .col,
      .qd-content form .col-auto,
      .qd-content form [class*="col-md"],
      .qd-content form [class*="col-lg"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
      }
      .qd-content input,
      .qd-content select,
      .qd-content textarea {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.9rem !important;
        box-sizing: border-box;
      }

      /* ── Buttons: wrap and full width ── */
      .qd-content .btn {
        font-size: 0.85rem !important;
        padding: 0.45rem 0.8rem !important;
      }
      .qd-content .d-flex > .btn,
      .qd-content .gap-2 > .btn,
      .qd-content .gap-3 > .btn {
        flex: 1 1 auto;
      }

      /* ── Cards & panels: reduce padding ── */
      .qd-content .card,
      .qd-content .card-body {
        padding: 0.8rem !important;
      }

      /* ── Page titles ── */
      .qd-content h1, .qd-content h2, .qd-content h3 {
        font-size: 1.2rem !important;
      }
      .qd-content h4, .qd-content h5, .qd-content h6 {
        font-size: 1rem !important;
      }

      /* ── Qenta modals on mobile ── */
      .qm-dialog {
        width: 95vw !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
        margin: auto !important;
      }
      .qm-body {
        padding: 1rem !important;
      }
      .qm-body .row {
        flex-direction: column !important;
      }
      .qm-body [class*="col-md"],
      .qm-body [class*="col-lg"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
      }
    }

/* -- QENTA MODAL SYSTEM ──────────────────────────────── */

/* ── Overlay ── */
    .qm-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1050;
      background: transparent;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      align-items: center;
      justify-content: center;
    }

    .qm-overlay.open { display: flex; animation: qmFadeIn 0.3s ease; }
    @keyframes qmFadeIn { from { opacity: 0; } to { opacity: 1; } }

    /* ── Modal Container (Glassmorphism + 30px) ── */
    .qm-dialog {
      background: rgba(245, 246, 250, 0.82);
      backdrop-filter: blur(35px);
      -webkit-backdrop-filter: blur(35px);
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 30px;
      padding: 0;
      width: 500px;
      max-width: 95vw;
      max-height: 90vh;
      overflow-y: auto;
      overflow-x: hidden;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
      position: relative;
      animation: qmSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      font-family: 'Poppins', sans-serif;
      display: flex;
      flex-direction: column;
    }

    /* Scrollbar */
    .qm-dialog::-webkit-scrollbar { width: 8px; }
    .qm-dialog::-webkit-scrollbar-track { background: transparent; margin: 25px 0; }
    .qm-dialog::-webkit-scrollbar-thumb { background: rgba(142, 1, 251, 0.25); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
    .qm-dialog::-webkit-scrollbar-thumb:hover { background: rgba(142, 1, 251, 0.45); }

    .qm-body-wrapper { padding: 3rem; }
    .qm-dialog.qm-wide { width: 950px; }
    .qm-dialog.qm-sm { width: 420px; }

    @keyframes qmSlideUp { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

    /* ── Close Button ── */
    .qm-close {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: none;
      background: #ffffff;
      color: #141433;
      font-size: 1.2rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 10;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
      line-height: 1;
    }
    .qm-close:hover { background: #ef4444; color: #ffffff; box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3); }

    /* ── Header ── */
    .qm-header {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      padding: 3rem 3rem 1.5rem 3rem;
      margin-bottom: 0;
    }
    
    .qm-header-center {
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }
    .qm-header-center .qm-icon {
      margin-bottom: 1rem;
    }

    .qm-icon {
      width: 58px;
      height: 58px;
      min-width: 58px;
      border-radius: 50%;
      background: linear-gradient(135deg, #8e01fb, #455ffd);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      color: #fff;
      box-shadow: 0 8px 18px rgba(142, 1, 251, 0.25);
    }
    .qm-icon.qm-icon-danger {
      background: linear-gradient(135deg, #ef4444, #dc2626);
      box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
    }
    .qm-icon.qm-icon-delete {
      width: 72px;
      height: 72px;
      min-width: 72px;
      font-size: 2rem;
      background: linear-gradient(135deg, #8e01fb, #455ffd);
      box-shadow: 0 10px 25px rgba(142, 1, 251, 0.35);
      margin: 0 auto 0.5rem;
    }

    .qm-title {
      font-family: 'Poppins', sans-serif;
      font-size: 1.7rem;
      font-weight: 800;
      color: #141433;
      margin: 0;
      line-height: 1.2;
    }

    .qm-subtitle {
      font-family: 'Poppins', sans-serif;
      font-size: 0.95rem;
      color: #475569;
      margin: 0.2rem 0 0;
      font-weight: 500;
    }

    /* ── Layout 2 Col ── */
    .qm-layout-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 0 3rem 3rem 3rem;
    }

    @media (min-width: 768px) {
      .qm-dialog.qm-wide .qm-layout-grid { grid-template-columns: 320px 1fr; }
    }

    /* ── Cards ── */
    .qm-card {
      background: rgba(255, 255, 255, 0.55);
      border-radius: 20px;
      padding: 1.8rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 15px rgba(0,0,0,0.03);
      border: 1px solid rgba(255,255,255,0.7);
    }

    .qm-section-title {
      font-family: 'Poppins', sans-serif;
      font-size: 1.15rem;
      font-weight: 800;
      color: #141433;
      margin-top: 0;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .qm-section-title i { color: #8e01fb; font-size: 1.2rem; }

    /* ── Tipografía Info ── */
    .qm-info-group { margin-bottom: 1.5rem; }
    .qm-label, .qm-form-group label {
      display: block;
      font-family: 'Poppins', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      color: #7a7d8e;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.3rem;
    }
    .qm-value {
      font-family: 'Poppins', sans-serif;
      font-size: 1.05rem;
      font-weight: 500;
      color: #141433;
      display: block;
      word-break: break-word;
    }

    /* ── Inputs ── */
    .qm-form-group { margin-bottom: 1.5rem; }
    .qm-input, .qm-textarea, .qm-select {
      width: 100%;
      padding: 0.85rem 1.2rem;
      border: 1.5px solid rgba(226, 232, 240, 0.8);
      border-radius: 12px;
      font-family: 'Poppins', sans-serif;
      font-size: 1rem;
      font-weight: 500;
      color: #141433;
      background: rgba(255, 255, 255, 0.7);
      outline: none;
      transition: all 0.3s ease;
      box-sizing: border-box;
    }
    .qm-input:focus, .qm-textarea:focus { border-color: #8e01fb; box-shadow: 0 0 0 3px rgba(142, 1, 251, 0.15); background: #fff; }
    .qm-input::placeholder { color: #a0a4b0; font-weight: 400; }
    .qm-form-error { color: #ef4444; font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 500; margin-top: 0.3rem; }

    /* ── Tables ── */
    .qm-table-wrapper {
      background: rgba(255,255,255,0.4);
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 1.5rem;
      border: 1px solid rgba(255,255,255,0.7);
    }
    .qm-table {
      width: 100%;
      border-collapse: collapse;
    }
    .qm-table thead {
      background: #000;
      color: #fff;
    }
    .qm-table th {
      font-family: 'Poppins', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 1rem 1.2rem;
      text-align: left;
      letter-spacing: 0.05em;
    }
    .qm-table td {
      padding: 1rem 1.2rem;
      font-family: 'Poppins', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      color: #141433;
      border-bottom: 1px solid rgba(200,200,200,0.2);
    }
    .qm-table tr:last-child td { border-bottom: none; }

    /* ── Toggle ── */
    .qm-toggle-row { display: flex; align-items: center; gap: 0.8rem; margin: 1.5rem 0; }
    .qm-toggle { position: relative; width: 50px; height: 26px; cursor: pointer; display: inline-block; }
    .qm-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
    .qm-toggle-track {
      position: absolute; inset: 0; border-radius: 999px; background: #cbd5e1; transition: background 0.3s ease;
    }
    .qm-toggle-track::before {
      content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff;
      top: 3px; left: 3px; transition: transform 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .qm-toggle input:checked + .qm-toggle-track { background: linear-gradient(135deg, #8e01fb, #455ffd); }
    .qm-toggle.qm-toggle-success input:checked + .qm-toggle-track { background: linear-gradient(135deg, #10b981, #059669); }
    .qm-toggle input:checked + .qm-toggle-track::before { transform: translateX(24px); }

    /* ── Buttons ── */
    .qm-actions { display: flex; gap: 1rem; margin-top: 1rem; align-items: center; justify-content: flex-end; }
    .qm-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
      padding: 0.95rem 2.2rem; border-radius: 16px; border: none; font-family: 'Poppins', sans-serif;
      font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
      line-height: 1.2;
    }
    .qm-btn.w-100 { width: 100%; }
    .qm-btn-primary { background: linear-gradient(135deg, #8e01fb, #455ffd); color: #fff; box-shadow: 0 4px 15px rgba(142,1,251,0.2); }
    .qm-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(142, 1, 251, 0.4); color: #fff; }
    .qm-btn-cancel { background: #ffffff; color: #64748b; border: 1.5px solid #e2e8f0; }
    .qm-btn-cancel:hover { background: #f8fafc; color: #141433; border-color: #cbd5e1; }
    .qm-btn-danger { background: #ef4444; color: #fff; box-shadow: 0 4px 15px rgba(239,68,68,0.2); }
    .qm-btn-danger:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4); background: #dc2626; color: #fff; }

    /* ── Delete Modal ── */
    .qm-delete-body { text-align: center; font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: #475569; padding: 0 3rem 1.5rem; }
    .qm-delete-body strong { color: #141433; font-weight: 800; font-size: 1.3rem; display: block; margin: 1rem 0; }
    .qm-delete-warning { text-align: left; background: rgba(225, 29, 72, 0.05); color: #e11d48; padding: 0.8rem 1rem; border-radius: 12px; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; margin-bottom: 0; }
    .qm-delete-actions { display: flex; gap: 1rem; align-items: center; justify-content: center; padding: 1.5rem 3rem 3rem; }


/* ==========================================
   CSS extracted from base.html (Restaurante)
   ========================================== */

.qenta-toast-container {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 10500;
            display: flex;
            flex-direction: column;
            gap: 16px;
            pointer-events: none;
          }

          .qenta-toast {
            display: flex;
            align-items: center;
            background: #ffffff;
            min-width: 340px;
            max-width: 420px;
            padding: 16px 24px 16px 20px;
            border-radius: 24px;
            /* Premium glowing shadow connected to Qenta colors */
            box-shadow: 0 15px 45px rgba(142, 1, 251, 0.15), 0 5px 15px rgba(69, 95, 253, 0.08);
            position: relative;
            overflow: hidden;
            pointer-events: auto;
            /* Bouncy slide in */
            animation: qenta-toast-slide-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            border: 1px solid rgba(142, 1, 251, 0.1);
          }

          /* Small gradient bar on the left to tie it all together */
          .qenta-toast::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 5px;
            background: linear-gradient(to bottom, #8e01fb, #455ffd);
            border-radius: 24px 0 0 24px;
          }

          @keyframes qenta-toast-slide-in {
            0% { transform: translateX(120%) scale(0.9); opacity: 0; }
            100% { transform: translateX(0) scale(1); opacity: 1; }
          }
          
          @keyframes qenta-toast-fade-out {
            0% { opacity: 1; transform: scale(1); }
            100% { opacity: 0; transform: scale(0.85); }
          }

          .qenta-toast.hiding {
            animation: qenta-toast-fade-out 0.35s forwards cubic-bezier(0.4, 0, 0.2, 1);
          }

          .qenta-toast-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            margin-right: 18px;
            flex-shrink: 0;
            color: white;
            /* Force the Qenta primary gradient for ALL typical toasts (including success) to make it highly branded */
            background: linear-gradient(135deg, #8e01fb, #455ffd);
            box-shadow: 0 8px 20px rgba(142, 1, 251, 0.35);
          }

          /* Error/Danger Toast overrides */
          .qenta-toast-error .qenta-toast-icon, .qenta-toast-danger .qenta-toast-icon {
            background: linear-gradient(135deg, #ff4b4b, #ff7676);
            box-shadow: 0 8px 20px rgba(255, 75, 75, 0.35);
          }
          .qenta-toast-error::before, .qenta-toast-danger::before {
            background: linear-gradient(to bottom, #ff4b4b, #ff7676);
          }
          .qenta-toast-error, .qenta-toast-danger {
            box-shadow: 0 15px 45px rgba(255, 75, 75, 0.15);
            border-color: rgba(255, 75, 75, 0.15);
          }

          /* Warning Toast overrides */
          .qenta-toast-warning .qenta-toast-icon {
            background: linear-gradient(135deg, #ffab00, #ffc400);
            box-shadow: 0 8px 20px rgba(255, 171, 0, 0.35);
          }
          .qenta-toast-warning::before {
            background: linear-gradient(to bottom, #ffab00, #ffc400);
          }
          .qenta-toast-warning {
            box-shadow: 0 15px 45px rgba(255, 171, 0, 0.15);
            border-color: rgba(255, 171, 0, 0.15);
          }

          .qenta-toast-content {
            flex-grow: 1;
            font-family: 'Poppins', sans-serif;
            font-size: 0.95rem;
            color: #141433;
            font-weight: 700;
            line-height: 1.35;
            letter-spacing: -0.01em;
          }

          .qenta-toast-close {
            background: rgba(20, 20, 51, 0.04);
            border: none;
            color: #a0aab2;
            font-size: 1rem;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            margin-left: 14px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
          }

          .qenta-toast-close:hover {
            background: rgba(142, 1, 251, 0.1);
            color: #8e01fb;
            transform: scale(1.1) rotate(90deg);
          }

/* ==========================================
   CSS extracted from navbar.html (Restaurante)
   ========================================== */

.navbar-secondary {
        background-color: #ffffff;
        border-bottom: 1px solid #dee2e6;
        padding: 0.5rem 1rem;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        box-shadow: 0 4px 6px -6px #222;
    }
    .nav-sub-link {
        color: #6c757d;
        text-decoration: none;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-right: 0.5rem;
        border-radius: 4px;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .nav-sub-link:hover { background-color: #f8f9fa; color: #000; }
    .nav-sub-link.active { background-color: #e9ecef; color: #0d6efd; font-weight: 600; }
    .navbar-dark .navbar-nav .nav-link.section-active { color: #fff !important; font-weight: bold; border-bottom: 2px solid #fff; }


/* General Enhancements */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

h1, h2, h3 {
    font-weight: bold;
}

/* ========================= */
/* Formulario y Contenedor */
/* ========================= */

/* Estilo unificado para formularios */
.form-layout {
    width: 90%;              /* Ocupa el 90% del ancho en dispositivos pequeños */
    max-width: 40rem;        /* Aproximadamente 640px */
    margin: 0 auto;
    padding: 2rem;           /* 32px si 1rem = 16px */
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 0.063rem solid #ddd; /* ~1px */
    box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.1);
    border-radius: 0.625rem;   /* 10px */
}

/* En dispositivos medianos y grandes, se amplía el ancho máximo */
@media (min-width: 48rem) { /* 768px */
    .form-layout {
        max-width: 50rem;    /* Aproximadamente 800px */
    }
}

/* Contenedor adaptable para grid y otros componentes */
.contenedor-grid {
    width: 100%;
    max-width: 75rem;       /* Aproximadamente 1200px */
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

/* ========================= */
/* Input y Botones */
/* ========================= */
input#sell-filter {
    border-radius: 0.5rem;
    padding: 0.625rem;
    border: 0.063rem solid #ccc;
    transition: box-shadow 0.2s ease-in-out;
}

input#sell-filter:focus {
    box-shadow: 0 0 0.625rem rgba(0, 123, 255, 0.8);
    border: 0.063rem solid #007bff;
}

.btn {
    border-radius: 0.75rem;
    padding: 0.625rem 0.938rem;
    font-size: 1rem;
}

/* ========================= */
/* Tablas */
/* ========================= */
.table {
    border-radius: 0.75rem;
    overflow: hidden;
}

.table thead {
    border-radius: 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(0,123,255,0.1);
}

/* ========================= */
/* Video y Fondo */
/* ========================= */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* ========================= */
/* Navbar */
/* ========================= */
.logo-small {
    height: 3.75rem; /* 60px */
}

.login-page .navbar .logo-large {
    height: 6.25rem; /* 100px */
}

.login-page .navbar .container {
    display: flex;
    justify-content: center;
}

.login-page .navbar-toggler {
    display: none;
}

.navbar.bg-black.navbar-dark {
    --bs-nav-link-hover-color: #e6610f !important;
}

nav.navbar.navbar-dark.bg-black ul.navbar-nav li.nav-item a.nav-link:hover,
nav.navbar.navbar-dark.bg-black ul.navbar-nav li.nav-item a.nav-link:focus,
nav.navbar.navbar-dark.bg-black ul.navbar-nav li.nav-item a.nav-link:active {
    color: #00d9ff !important;
}

.navbar-dark.bg-black .navbar-nav .nav-link.active {
    color: #0042f7 !important;
}

/* ========================= */
/* Colores de Texto y Tablas */
/* ========================= */
.text-primary {
    color: #000 !important;
}

.text-muted {
    color: #000 !important;
}

.table thead th {
    color: #ffffff !important;
    background-color: #000000 !important; 
}


.order-card {
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);

    /* Flexbox para ubicar el botón al final */
    display: flex;
    flex-direction: column;  /* Ordena el contenido en una columna */
    justify-content: space-between; /* Empuja el botón hacia abajo */
}

/* Opcional: si quieres una altura fija o mínima */
.order-card {
    min-height: 250px; /* Ajusta según necesites */
}


/* -------------------------------- */
/* Navbar “cajón” con rollover suave */
/* -------------------------------- */
.navbar-nav .nav-link {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.1); /* semitransparente */
  color: #e70000 !important;                  /* tu color naranja */
}

.navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #d40000 !important;
}

