@media (max-width: 820px) {
  /* Popup szczegolow pojazdu na mapie */
  .MuiPaper-root:has(a[href*="address"]),
  .MuiPaper-root:has(a[href*="address"]) *,
  .MuiPaper-root:has(a[href*="position"]),
  .MuiPaper-root:has(a[href*="position"]) * {
    opacity: 1 !important;
  }

  .MuiPaper-root:has(a[href*="address"]),
  .MuiPaper-root:has(a[href*="position"]) {
    background: #ffffff !important;
    color: #111827 !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .20) !important;
  }

  .MuiPaper-root:has(a[href*="address"]) span,
  .MuiPaper-root:has(a[href*="address"]) p,
  .MuiPaper-root:has(a[href*="address"]) div,
  .MuiPaper-root:has(a[href*="position"]) span,
  .MuiPaper-root:has(a[href*="position"]) p,
  .MuiPaper-root:has(a[href*="position"]) div {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
  }

  .MuiPaper-root:has(a[href*="address"]) a,
  .MuiPaper-root:has(a[href*="position"]) a {
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    text-decoration: underline !important;
  }

  .MuiPaper-root:has(a[href*="address"]) button svg,
  .MuiPaper-root:has(a[href*="position"]) button svg {
    color: #111827 !important;
  }

  .MuiPaper-root:has(a[href*="address"]) button[aria-label*="delete"] svg,
  .MuiPaper-root:has(a[href*="position"]) button[aria-label*="delete"] svg {
    color: #dc2626 !important;
  }

  /* Ikony akcji w popupie */
  .MuiPaper-root:has(a[href*="address"]) button,
  .MuiPaper-root:has(a[href*="position"]) button {
    opacity: 1 !important;
  }
}
