.notification-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.notification-nav span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  font-size: .68rem;
  font-weight: 800;
}

.notification-page {
  width: min(1040px, calc(100% - 56px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 70px 0 100px;
}

.notification-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.notification-header .eyebrow {
  margin-bottom: 14px;
}

.notification-header h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.notification-header p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
}

.notification-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.notification-bulk-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.notification-bulk-bar label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

.notification-bulk-bar input,
.notification-select input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.notification-bulk-bar span {
  color: var(--muted);
  font-size: .78rem;
}

.notification-bulk-bar button {
  margin-left: auto;
  border: 0;
  background: none;
  color: #9b3328;
  font: 700 .78rem "DM Sans", sans-serif;
  cursor: pointer;
}

.notification-bulk-bar button:disabled {
  color: #9ca49f;
  cursor: not-allowed;
}

.notification-card {
  display: grid;
  grid-template-columns: 20px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
}

.notification-select {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.notification-card.unread {
  border-color: #b7d14b;
  box-shadow: inset 5px 0 0 var(--lime);
  background: #fbfdeb;
}

.notification-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -4px;
  transform: rotate(-18deg);
}

.notification-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.notification-meta b {
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink);
  font-size: .58rem;
}

.notification-copy h2 {
  margin-top: 7px;
  font-size: 1.2rem;
}

.notification-copy p {
  margin: 5px 0 10px;
  color: var(--muted);
}

.notification-copy a {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
}

.notification-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.notification-actions form {
  margin: 0;
}

.notification-actions button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 .75rem "DM Sans", sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.notification-actions .notification-delete {
  color: #9b3328;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.notification-empty {
  max-width: 560px;
  margin: 75px auto;
  text-align: center;
}

.notification-empty > div {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -5px;
  transform: rotate(-18deg);
}

.notification-empty h2 {
  font-size: 2rem;
}

.notification-empty p {
  color: var(--muted);
}

.auth-switch {
  margin: 22px 0 0;
  text-align: center;
  font-size: .85rem;
}

.auth-switch a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 850px) {
  .site-header {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    max-width: 220px;
    gap: 10px 16px;
  }

  .notification-page {
    width: min(100% - 36px, 1040px);
    padding-top: 50px;
  }

  .notification-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-card {
    grid-template-columns: 20px 46px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    padding: 20px 17px;
  }

  .notification-icon {
    width: 44px;
    height: 44px;
  }

  .notification-actions {
    grid-column: 3;
    justify-items: start;
  }

  .notification-bulk-bar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .notification-bulk-bar button {
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    text-align: left;
  }
}
