/* ========================================================================
   Bookmark Button Styles
   ======================================================================== */
.bookmark-button {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  line-height: 0;
  border-radius: 5px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.bookmark-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.bookmark-button.bookmarked svg {
  fill: currentColor;
  stroke: none;
}
/* ========================================================================
   Base Banner Styles (Shared by Notification and Alert)
   ======================================================================== */
.notification-banner,
.alert-banner-bookmark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1232px;
  padding: 16px 24px;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  padding-right: 2px !important;
  padding-left: 15px !important;
}
.notification-content,
.alert-content {
  display: flex;
}
.notification-content svg,
.alert-content svg {
  width: 28px;
  height: 28px;
  margin-top: 0.2em;
}
.notification-text p,
.alert-text p {
  margin: 0;
}
.notification-text .title,
.alert-text .title {
  font-weight: 600;
  font-size: 1rem;
}
.notification-text .message,
.alert-text .message {
  font-size: 0.9rem;
  opacity: 0.9;
}
.notification-actions,
.alert-actions {
  display: flex;
  align-items: center;
  width: 50%;
  padding-left: 15px;
  flex-shrink: 0;
  justify-content: space-between;
}
.manage-button {
  background-color: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
/* ========================================================================
   Specific Banner Theme Colors
   ======================================================================== */
.notification-banner {
  --background-color: #A4E6BD;
  --text-color: #004B1C;
  --border-color: #004B1C;
  background-color: var(--background-color);
  color: var(--text-color);
}
.notification-content .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--text-color);
}
.close-button {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.close-button:hover {
  opacity: 1;
}
.alert-banner-bookmark {
  --background-color: #FFCAAA;
  --text-color: #732706;
  --border-color: #732706;
  background-color: var(--background-color);
  color: var(--text-color);
}
.alert-content svg {
  fill: #732706;
  flex-shrink: 0;
}
/* ========================================================================
   RESPONSIVE STYLES (Tablet & Mobile)
   ======================================================================== */
/* --- For Tablets and below (Portrait & Landscape) --- */
@media (max-width: 768px) {
  /* Notification Banner (Green) Mobile Layout */
  .notification-banner,
  .alert-banner-bookmark {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: auto;
    padding: 1rem 2.75rem 1rem 1rem;
  }
  .notification-content,
  .alert-content {
    position: relative;
  }
  .notification-actions,
  .alert-actions {
    padding-left: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .notification-content .icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .notification-banner .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}
/* --- For Small Mobiles (Portrait & Landscape) --- */
@media (max-width: 480px) {
  .notification-banner,
  .alert-banner-bookmark {
    padding: 1rem 2.5rem 1rem 1rem;
    margin: 0.5rem;
  }
  .notification-banner .close-button {
    top: 10px;
    right: 10px;
  }
  .notification-content,
  .alert-content {
    align-items: normal;
    gap: 0px;
  }
  .notification-actions,
  .alert-actions {
    width: 100%;
    padding-left: 26px;
  }
  .notification-text,
  .alert-text {
    width: 70%;
  }
  .manage-button {
    text-align: center;
  }
}
