body       {margin-top:0; margin-bottom:0; margin-right:0;margin-left:0; font-family: Arial, Helvetica, sans-serif; font-size:12pt; color:#F7E4C3; background-color:#000000}

a:active   { color: #F7E4C3; text-decoration:none}
a:link     { color: #F7E4C3; text-decoration:none}
a:visited  { color: #F7E4C3; text-decoration:none}
a:hover    { color: #ECBD6F; text-decoration:underline}

/* SAFARI FIX: Forces dark mode scheme */
:root {
  color-scheme: dark;
}

/* SAFARI FIX: Forces black backgrounds, black borders, and triggers WebKit repainting */
table, table tr, table td, table th {
  background-color: #000000 !important;
  border-color: #000000 !important;
  
  /* The WebKit insurance policies the commenter mentioned */
  -webkit-background-clip: padding-box !important; 
  background-clip: padding-box !important;
  -webkit-transform: translateZ(0); /* Forces Safari to hardware-accelerate and paint the layer correctly */
}

/* --- EMAIL HOVER POPUP CODE --- */

.icon-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}

.hover-popup {
  position: absolute;
  bottom: 115%; /* Adjust this if you want the text higher or lower */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0; /* Starts invisible */
  transition: opacity 0.3s ease; /* Smooth fade-in */
  pointer-events: none; /* User can't accidentally click the popup instead of the icon */
  z-index: 99;
  max-width: none; /* Prevents parent containers from squishing the image */
}

/* Show the image when hovering over the container */
.icon-container:hover .hover-popup {
  opacity: 1;
}