 body {
      background: #f5f7fa;
      font-family: 'Segoe UI', Roboto, sans-serif;
    }

   @media (max-width: 768px) {
  .swal2-container.swal2-center.swal2-backdrop-show,
  div#swal2-html-container,
  h2#swal2-title,
  .swal2-popup.swal2-modal.swal2-show {
    background-color: #f4f4fc !important;
  }
}

    small#nombreUsuarioCelular {
      margin-top: 20px;
      color: #364153;
    }

    /* NAV computadora estilo glassmorphism */
    .nav.d-lg-flex {
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      padding: 0.6rem 1.2rem;
      transition: all 0.3s ease-in-out;
    }

    .nav.d-lg-flex .nav-link {
      color: #ffffff;
      font-weight: 500;
      padding: 0.5rem 0.9rem;
      transition: color 0.3s, transform 0.3s;
    }

    .nav.d-lg-flex .nav-link:hover {
      color: #ffd700;
      background-color: rgba(255, 255, 255, 0.15);
      transform: scale(1.05);
    }

    #nombreUsuarioComputadora {
      background: rgba(255, 193, 7, 0.9);
      color: white;
      font-weight: 600;
      padding: 0.4rem 0.8rem;
      transition: transform 0.3s, background 0.3s;
    }

    #nombreUsuarioComputadora:hover {
      transform: scale(1.1);
      background: rgba(255, 193, 7, 1);
    }

    .nav.d-lg-flex li.nav-item {
      margin-right: 1rem;
    }

    header {
      padding: 1.2rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
      border-bottom: 4px solid #0d6efd;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-icon {
      background: white;
      color: #0d6efd;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      font-weight: bold;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .brand h1 {
      margin: 0;
      font-size: 1.6rem;
      font-weight: 700;
    }

    .user-info a {
      color: white;
      text-decoration: none;
      font-weight: 500;
    }

    .user-info a:hover {
      text-decoration: underline;
    }

    #nombreUsuario {
      position: absolute;
      left: 10px;
      top: 0px;
    }

    .menu-container {
      margin-top: 2rem;
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    #menuNotas {
      display: none;
      position: absolute;
      background: white;
      border-radius: 10px;
      border: 1px solid #ddd;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      padding: 10px;
      z-index: 1000;
      min-width: 220px;
      animation: fadeIn 0.25s ease-in-out;
    }

    #menuNotas a {
      display: block;
      color: #0d6efd;
      text-decoration: none;
      padding: 6px 8px;
      border-radius: 6px;
      font-weight: 500;
    }

    #menuNotas a:hover {
      background: #f1f5ff;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-6px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    table,
    table th,
    table td {
      background-color: transparent !important;
    }
  ul.nav a {
          color: white !important;
          text-decoration: none;
        }

          .pulse {
    animation: pulseSuccess 1s ease-in-out infinite;
  }

  @keyframes pulseSuccess {
    0% {
      box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
    }

    70% {
      box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
  }