  /* ==========================================
    OPTIMIZED ALERTS FOR MOBILE
  ========================================== */

  /* Base alert - Simplified for performance */
  .alert {
    padding: 16px 22px;
    border-radius: 14px;
    margin-bottom: 25px;
    display: flex !important;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 9999;
    width: 100%;
    /* Simplified transition for better performance */
    transition: transform 0.2s ease;
    /* Only animate on devices that support hover */
    will-change: opacity, transform;
  }

  /* Animation only on desktop */
  @media (hover: hover) and (pointer: fine) {
    .alert {
      animation: alertPop 0.45s ease-out;
    }

    .alert:hover {
      transform: translateY(-5px) scale(1.03);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    }
  }

  /* No animation on mobile/touch devices */
  @media (hover: none) {
    .alert {
      animation: none;
    }

    .alert:active {
      transform: scale(0.98);
    }
  }

  @keyframes alertPop {
    0% {
      transform: translateY(12px) scale(0.95);
      opacity: 0;
    }
    60% {
      transform: translateY(-3px) scale(1.03);
      opacity: 1;
    }
    100% {
      transform: translateY(0) scale(1);
    }
  }

  /* SUCCESS */
  .alert-success {
    background: linear-gradient(135deg, #0fb974 0%, #059669 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
  }

  /* ERROR */
  .alert-error {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35) !important;
  }

  .alert i {
    font-size: 1.25rem;
    opacity: 0.95;
    flex-shrink: 0;
  }

  /* Container fixes */
  .container {
    overflow: visible !important;
  }

  .privacy-hero {
    overflow: visible !important;
  }

  /* Mobile optimizations */
  @media (max-width: 768px) {
    .alert {
      padding: 14px 18px;
      font-size: 0.92rem;
      gap: 12px;
      /* Disable expensive effects on mobile */
      backdrop-filter: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .alert i {
      font-size: 1.15rem;
    }

    /* Simpler hover on mobile */
    .alert:active {
      transform: scale(0.98);
    }
  }

  @media (max-width: 480px) {
    .alert {
      padding: 13px 16px;
      font-size: 0.9rem;
      gap: 10px;
      border-radius: 12px;
    }

    .alert i {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 360px) {
    .alert {
      padding: 12px 14px;
      font-size: 0.88rem;
      gap: 9px;
      border-radius: 10px;
      margin-bottom: 18px;
    }

    .alert i {
      font-size: 1rem;
    }
  }

  /* Reduce motion for accessibility */
  @media (prefers-reduced-motion: reduce) {
    .alert {
      animation: none !important;
      transition: none !important;
    }
  }
