@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-heading: "Playfair Display", "Times New Roman", serif;
}

body,
button,
input,
select,
textarea,
.co-btn {
  font-family: var(--font-body);
}

:is(h1, h2, h3, h4, h5, h6),
.nav-link,
.co-page-title,
.co-brand {
  font-family: var(--font-heading);
}

.notifications-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.notifications-modal.is-open {
  display: block;
}

.notifications-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 41, 61, 0.45);
  backdrop-filter: blur(3px);
}

.notifications-modal__dialog {
  position: relative;
  margin: 6vh auto 0;
  width: min(620px, calc(100% - 32px));
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  border: 1px solid #dbe7ee;
  box-shadow: 0 24px 55px rgba(13, 41, 61, 0.24);
  padding: 20px;
}

.notifications-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.notifications-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #5f7385;
}

.notifications-modal__header h3 {
  margin: 0;
}

.notifications-modal__close {
  border: 1px solid #d7e5ec;
  background: #f4f8fb;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
}

.notifications-modal__list {
  display: grid;
  gap: 10px;
}

.notification-card {
  border: 1px solid #dce8ee;
  border-radius: 16px;
  background: #f8fbfd;
  padding: 14px;
}

.notification-card--clickable {
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.notification-card--clickable:hover,
.notification-card--clickable:focus-visible {
  border-color: #b5ccd9;
  box-shadow: 0 8px 20px rgba(13, 41, 61, 0.12);
  transform: translateY(-1px);
}

.notification-card__header,
.notification-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.notification-card__title {
  margin: 0;
  font-weight: 700;
  color: #0d293d;
}

.notification-card__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #197373;
  background: #e5f4f4;
  border-radius: 999px;
  padding: 4px 8px;
}

.notification-card__message {
  margin: 10px 0;
  color: #2e4758;
  font-size: 14px;
}

.notification-card__footer {
  font-size: 12px;
  color: #5f7385;
}

.notification-card__cta {
  color: #197373;
  font-weight: 600;
  text-decoration: none;
}

.notifications-modal__empty {
  text-align: center;
  padding: 24px;
  color: #5f7385;
}

@media (max-width: 768px) {
  .notifications-modal__dialog {
    width: calc(100% - 20px);
    margin-top: 3vh;
    border-radius: 18px;
    padding: 16px;
  }

  .notification-card__header,
  .notification-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
