.important-alert {
  --primary-white: #ffffff;
  --primary-black: #000000;
  --maxWidth: 1536px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

div.blue {
  --primary: #dfe7f9;
  --secondary: #5a88fd;
}
div.yellow {
  --primary: #fef9c3;
  --secondary: #facc15;
}
div.red {
  --primary: #ffe4e1;
  --secondary: #ce181f;
}

.omeda-top{
 margin-top: 30px;   
}

#omeda-newsletter-subscription{
    margin-bottom: 30px;  
}

/* Define reusable styles for alerts */
.important-alert {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1rem 0;
    padding: 0 1rem 0 1rem;
    font-size: 1rem;
    font-family: sans-serif;
    background-color: var(--primary);
    color: var(--primary-black);
    border-radius: 0.25rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary);
}
/* Define styles for the alert header */
.alert-header {
  font-weight: 700;
  line-height: 1.2;
  margin-right: 1rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

/* Define styles for the alert content */
.alert-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Define styles for the alert icon */
.alert-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--secondary);
}

/* Define styles for the alert title */
.alert-title {
    margin-left: 0.75rem;
    margin-top: 1rem;
}

/* Define styles for the alert link */
.alert-link {
  color: var(--secondary);
  text-decoration: underline;
  cursor: pointer;
}

.alert-link:hover {
  opacity: 0.8;
}

/* Define styles for the alert message */
.alert-message {
  margin: 0;
}

/* Define styles for the alert close button */
.alert-close {
  margin-left: auto;
  background-color: transparent;
  border: none;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
}

.alert-close:hover {
  opacity: 0.8;
}

/* Define styles for the alert close icon */
.alert-close-icon {
  width: 1.75rem;
  height: 1.75rem;
}
/* Desktop Media Queries */
@media screen and (max-width: 1024px) {
  .important-alert {
    font-size: 0.7rem;
  }
  .alert-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .alert-header {
    margin-right: 0;
  }
  .alert-title {
    margin-left: 0.5rem;
  }
  .alert-content {
    gap: 0.5rem;
  }
  .alert-close {
    font-size: 0.85rem;
  }
  .alert-close-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}
/* Tablet Media Queries */
@media screen and (max-width: 768px) {
  .important-alert {
    gap: 0rem;
    flex-direction: column;
    margin: 0 auto;
    padding: 0 1rem 0.75rem 1rem;
    font-size: 1rem;
  }
  .alert-icon {
    padding: 0;
    margin: 0;
  }
  .alert-content {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
}
