/*
 * Header notification bell + panel (components/notifications/*.blade.php).
 * Direct requests are orange, requests for proposals blue, as in the design.
 */
.notif-bell {
  --notif-dr: #E9976F;
  --notif-dr-strong: #C8501F;
  --notif-dr-soft: #FCE8DE;
  --notif-rfp: #3A80AE;
  --notif-rfp-soft: #E1EFF8;
  --notif-fit: #3D7E65;
  --notif-grey: #8A8A8A;
  --notif-grey-light: #BDBDBD;
  --notif-body: #DEDEDE;
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 6px;
}

/* ---------------------------------------------------------------- toggle */
.notif-bell__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--notif-grey-light);
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.notif-bell__toggle:hover,
.notif-bell__toggle[aria-expanded="true"] {
  color: var(--notif-grey);
}

.notif-bell__toggle.has-count {
  padding: 6px 12px 6px 14px;
  background: #DEDEDE;
  color: #6E6E6E;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .12);
}

.notif-bell__toggle.has-count:hover,
.notif-bell__toggle.has-count[aria-expanded="true"] {
  background: #D0D0D0;
  color: #4A4A4A;
}

.notif-bell__toggle:focus-visible {
  outline: 2px solid var(--notif-rfp);
  outline-offset: 2px;
}

.notif-bell__count {
  color: inherit;
}

.notif-bell__count[hidden] {
  display: none;
}

.notif-bell__icon {
  display: block;
  flex: 0 0 auto;
}

.notif-bell__divider {
  display: inline-block;
  width: 1px;
  height: 38px;
  margin: 0 14px;
  background: #CFCFCF;
}

/* ---------------------------------------------------------------- panel */
.notif-panel {
  position: absolute;
  top: calc(100% + 16px);
  right: -18px;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  width: 410px;
  max-height: min(680px, calc(100vh - 110px));
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  text-align: left;
}

.notif-panel[hidden] {
  display: none;
}

/* The little arrow pointing at the bell. */
.notif-panel::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 34px;
  border-right: 13px solid transparent;
  border-bottom: 15px solid #FFFFFF;
  border-left: 13px solid transparent;
}

.notif-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px 8px;
}

.notif-panel__title {
  margin: 0;
  color: #000000;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 20px;
}

.notif-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -6px -8px -6px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--notif-grey);
  cursor: pointer;
}

.notif-panel__close:hover,
.notif-panel__close:focus-visible {
  background: #F0F0F0;
  color: #000000;
}

.notif-panel__tabs {
  display: flex;
  gap: 36px;
  padding: 10px 28px 0;
}

.notif-panel__tab {
  padding: 4px 4px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #000000;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 18px;
  cursor: pointer;
}

.notif-panel__tab.is-active {
  border-bottom-color: var(--notif-rfp);
  color: var(--notif-rfp);
}

.notif-panel__tab-count[hidden] {
  display: none;
}

/* ---------------------------------------------------------------- Space groups */
/* A host's cards, per Space: "Space title · Venue" on the frame around them. */
.notif-space {
  position: relative;
  margin: 26px 0 14px;
  padding: 12px 10px 0;
  border: 1.5px solid #C4C4C4;
  border-radius: 24px;
}

.notif-space:first-child {
  margin-top: 14px;
}

.notif-space[hidden] {
  display: none;
}

.notif-space--plain {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

.notif-space__label {
  position: absolute;
  top: -12px;
  left: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  max-width: calc(100% - 44px);
  margin: 0;
  padding: 0 6px;
  background: var(--notif-body);
  color: var(--notif-grey);
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
}

.notif-space__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-space__venue {
  flex: 0 0 auto;
  color: #ADADAD;
  font-family: "Mont-Book", sans-serif;
}

.notif-space__items > .notif-card,
.notif-space__items > .notif-group {
  margin-bottom: 12px;
}

.notif-panel__body {
  flex: 1 1 auto;
  min-height: 160px;
  margin-top: 8px;
  padding: 14px 16px 18px;
  overflow-y: auto;
  border-radius: 28px 28px 28px 28px;
  background: var(--notif-body);
  overscroll-behavior: contain;
}

.notif-panel__status {
  padding: 32px 12px;
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  text-align: center;
}

.notif-tabpanel[hidden] {
  display: none;
}

/* ---------------------------------------------------------------- filters */
.notif-filters {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 2px;
  padding: 4px;
  border-radius: 22px;
  background: #EFEFEF;
}

.notif-filter {
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.notif-filter.is-active {
  border-color: var(--notif-rfp);
  background: #FFFFFF;
  color: var(--notif-rfp);
}

.notif-section-label {
  margin: 14px 4px 8px;
  color: var(--notif-grey);
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 15px;
}

.notif-empty[hidden],
.notif-section-head[hidden] {
  display: none;
}

/* ---------------------------------------------------------------- action cards */
.notif-card {
  margin-bottom: 12px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
}

.notif-card[hidden] {
  display: none;
}

.notif-card__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.notif-icon--direct-request {
  color: var(--notif-dr);
}

.notif-icon--rfp {
  color: var(--notif-rfp);
}

.notif-chip {
  padding: 3px 10px;
  border-radius: 8px;
  font-family: "Mont-Book", sans-serif;
  font-size: 15px;
}

.notif-card--direct-request .notif-chip {
  background: var(--notif-dr-soft);
  color: var(--notif-dr);
}

.notif-card--rfp .notif-chip {
  background: var(--notif-rfp-soft);
  color: var(--notif-rfp);
}

.notif-card__title {
  margin: 0 0 6px;
  color: #000000;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.notif-card__by {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
  color: var(--notif-grey);
}

.notif-card__message {
  margin: 0 0 6px;
  color: #3C3C3C;
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.notif-card__meta {
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notif-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.notif-card__note {
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
}

.notif-card__note--urgent {
  color: var(--notif-dr-strong);
}

.notif-card__note--plain {
  color: var(--notif-grey);
}

.notif-card__note--fit {
  color: var(--notif-fit);
}

.notif-card__cta {
  display: inline-block;
  min-width: 120px;
  padding: 5px 16px;
  border-radius: 8px;
  color: #FFFFFF;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
}

.notif-card__cta:hover,
.notif-card__cta:focus-visible {
  color: #FFFFFF;
  filter: brightness(.93);
}

.notif-card--direct-request .notif-card__cta {
  background: var(--notif-dr);
}

.notif-card--rfp .notif-card__cta {
  background: var(--notif-rfp);
}

/* Organiser direct requests: the Space on its own line, struck through (with the
   date & time in the meta) when the host offered alternatives for it. */
.notif-card__space {
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--notif-grey);
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notif-card .is-struck {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* "You continue with  Site Tour  Booking" - the free steps ahead of an available Space. */
.notif-card__pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #E6EDF8;
  color: #000000;
  font-family: "Mont-Book", sans-serif;
  font-size: 13px;
}

.notif-card__pipeline-label {
  margin-right: auto;
  color: var(--notif-grey);
}

.notif-card__pipeline-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notif-step-icon {
  flex: none;
}

/* "View options" / "Close" */
.notif-card__options-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--notif-dr);
  cursor: pointer;
}

.notif-card__chevron {
  transition: transform .2s ease;
}

.notif-card__options-close {
  display: none;
}

.notif-card.is-options-open .notif-card__options-toggle {
  background: #FFFFFF;
  color: var(--notif-dr);
}

.notif-card.is-options-open .notif-card__options-open {
  display: none;
}

.notif-card.is-options-open .notif-card__options-close {
  display: inline;
}

.notif-card.is-options-open .notif-card__chevron {
  transform: rotate(180deg);
}

.notif-card__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #F2F2F2;
}

.notif-card__options[hidden] {
  display: none;
}

.notif-card__options-hint {
  margin: 0;
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
}

.notif-card__options-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notif-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  text-decoration: none;
}

/* Messaging the Venue Host: the main way on. */
.notif-option--primary {
  padding: 8px 12px;
  background: var(--notif-dr);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .14);
  color: #FFFFFF;
}

.notif-option--primary:hover,
.notif-option--primary:focus-visible {
  color: #FFFFFF;
  filter: brightness(.93);
}

.notif-option__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.notif-option__label {
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 15px;
}

.notif-option__hint {
  font-family: "Mont-Book", sans-serif;
  font-size: 13px;
}

.notif-option__arrow {
  flex: none;
}

.notif-option--outline {
  flex: 1 1 140px;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--notif-dr);
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  color: var(--notif-dr-strong);
  font-family: "Mont-Book", sans-serif;
  font-size: 13px;
}

.notif-option--outline:hover,
.notif-option--outline:focus-visible {
  background: var(--notif-dr-soft);
  color: var(--notif-dr-strong);
}

/* ---------------------------------------------------------------- messages */
.notif-messages-tools {
  display: flex;
  justify-content: flex-end;
  margin: 0 4px 8px;
}

.notif-link-button {
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--notif-rfp);
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.notif-link-button:hover {
  text-decoration: underline;
}

.notif-link-button[disabled] {
  opacity: .5;
  cursor: default;
  text-decoration: none;
}

.notif-group {
  margin-bottom: 14px;
  padding: 16px 18px 12px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
}

.notif-group__head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  column-gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #9E9E9E;
}

.notif-group__icon {
  display: inline-flex;
  padding: 3px;
  border-radius: 6px;
}

.notif-group--direct-request .notif-group__icon {
  background: var(--notif-dr-soft);
}

.notif-group--rfp .notif-group__icon {
  background: var(--notif-rfp-soft);
}

.notif-group__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.notif-group__title {
  color: #000000;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.notif-group__subtitle {
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
}

.notif-group__unread[hidden] {
  display: none;
}

.notif-group__unread {
  padding: 3px 12px;
  border-radius: 8px;
  background: #CFCFCF;
  color: #000000;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.notif-group__toggle {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform .15s ease;
}

.notif-group--direct-request .notif-group__toggle {
  color: var(--notif-dr);
}

.notif-group--rfp .notif-group__toggle {
  color: #C4C4C4;
}

.notif-group.is-open .notif-group__toggle {
  color: var(--notif-grey);
  transform: rotate(180deg);
}

.notif-group__threads {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notif-group:not(.is-open) .notif-thread.is-extra {
  display: none;
}

/* Collapsed: the latest conversation. Open, or with a selection: "Unread / Mark (all) as read".
   The tick on every row selects it, open or collapsed. */
.notif-group__tools {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 4px;
  border-bottom: 1px solid #9E9E9E;
}

.notif-group.is-open .notif-group__tools,
.notif-group.has-selection .notif-group__tools {
  display: flex;
}

.notif-group__tools-label {
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
}

.notif-thread {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-thread__link {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 8px 0 2px;
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

/* Conversations are grey and turn blue on hover. */
.notif-thread:hover .notif-thread__link,
.notif-thread__link:focus-visible {
  color: var(--notif-rfp);
}

.notif-thread:hover .notif-thread__chevron,
.notif-thread__link:focus-visible + .notif-thread__check + .notif-thread__go .notif-thread__chevron {
  color: var(--notif-rfp);
}

.notif-thread__check {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 6px 0 0;
  border: 0;
  background: none;
  color: #BDBDBD;
  cursor: pointer;
}

.notif-thread:hover .notif-thread__check,
.notif-thread__check:focus-visible,
.notif-thread__check[aria-pressed="true"] {
  color: #000000;
}

.notif-thread__check:focus-visible {
  outline: 2px solid var(--notif-rfp);
  outline-offset: 1px;
  border-radius: 4px;
}

.notif-thread__go {
  display: inline-flex;
  flex: 0 0 auto;
  padding-top: 6px;
}

.notif-thread__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notif-thread__name {
  font-family: "Mont-SemiBold", sans-serif;
}

.notif-thread__at {
  flex: 0 0 auto;
  white-space: nowrap;
}

.notif-thread__chevron {
  flex: 0 0 auto;
  color: #DADADA;
}

.notif-group.is-open .notif-thread__chevron {
  color: var(--notif-rfp);
}

.notif-group__all {
  display: inline-block;
  margin-top: 8px;
  color: var(--notif-dr-strong);
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 14px;
}

/* ---------------------------------------------------------------- empty states */
.notif-empty {
  padding: 40px 12px 36px;
  text-align: center;
}

.notif-empty__art {
  display: block;
  width: 350px;
  max-width: 100%; /* narrow phones: never wider than the panel */
  height: auto;
  margin: 0 auto 12px;
}

.notif-empty__title {
  margin: 0 0 4px;
  color: #000000;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 17px;
}

.notif-empty__text {
  margin: 0;
  color: var(--notif-grey);
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
}

/* ---------------------------------------------------------------- inbox page actions */
.inbox-read-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0 16px 8px;
}

.inbox-read-tools .inbox-mark-all-read {
  padding: 0;
  border: 0;
  background: none;
  color: #3A80AE;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.inbox-read-tools .inbox-mark-all-read:hover {
  text-decoration: underline;
}

.inbox-read-tools .inbox-mark-all-read[disabled] {
  opacity: .5;
  cursor: default;
  text-decoration: none;
}

/* ---------------------------------------------------------------- proposals focus */
.host-proposal-item.is-notification-focus .brief-feed-card-shell {
  box-shadow: 0 0 0 2px #3A80AE, 0 6px 16px rgba(58, 128, 174, .25);
}

.host-proposals-focus-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #E1EFF8;
  color: #1F4E6B;
  font-family: "Mont-Book", sans-serif;
  font-size: 14px;
}

.host-proposals-focus-note a {
  color: #3A80AE;
  font-family: "Mont-SemiBold", sans-serif;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- read state */
.notif-unread-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--notif-rfp, #3A80AE);
}

.notif-unread-dot[hidden] {
  display: none;
}

.notif-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 4px 8px;
}

.notif-section-head .notif-section-label {
  margin: 0;
}

/* ---------------------------------------------------------------- multi-select */
.nsel-check {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

/* Hit area 1.5x the box (33px), so a near miss does not land on the row underneath. */
.nsel-check::before {
  content: "";
  position: absolute;
  inset: -6px;
}

.nsel-check__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.nsel-check__box {
  width: 22px;
  height: 22px;
  border: 1.5px solid #B9B9B9;
  border-radius: 6px;
  background: #FFFFFF;
  transition: background-color .12s ease, border-color .12s ease;
}

.nsel-check:hover .nsel-check__box {
  border-color: #3A80AE;
}

.nsel-check__input:checked + .nsel-check__box,
.nsel-check[aria-checked="true"] .nsel-check__box {
  border-color: #3A80AE;
  background: #3A80AE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.nsel-check__input:focus-visible + .nsel-check__box,
.nsel-check:focus-visible .nsel-check__box {
  outline: 2px solid #3A80AE;
  outline-offset: 2px;
}

.nsel-check:focus {
  outline: none;
}

/* The selection bar ("navbar"): slides in with the first selection, out with the last. */
.nsel-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #1F4E6B;
  color: #FFFFFF;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .18s ease, transform .18s ease;
}

.nsel-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nsel-bar[hidden] {
  display: none;
}

.nsel-bar__clear {
  display: inline-flex;
  padding: 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}

.nsel-bar__clear:hover {
  background: rgba(255, 255, 255, .15);
}

.nsel-bar__count {
  white-space: nowrap;
}

.nsel-bar__link {
  padding: 0;
  border: 0;
  background: none;
  color: #BFE0F5;
  font-family: "Mont-Book", sans-serif;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.nsel-bar__spacer {
  flex: 1 1 auto;
}

.nsel-bar__action {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: transparent;
  color: #FFFFFF;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.nsel-bar__action:hover:not([disabled]) {
  background: #FFFFFF;
  color: #1F4E6B;
}

.nsel-bar__action[disabled] {
  opacity: .6;
  cursor: default;
}

/* Narrow lists (the inbox column, the panel): actions on their own row, side by side. */
.nsel-bar-wrap {
  container-type: inline-size;
}

@container (max-width: 460px) {
  .nsel-bar__spacer {
    flex-basis: 100%;
    height: 0;
  }

  .nsel-bar__action {
    flex: 1 1 0;
  }
}

/* List rows outside the panel (Direct requests, Bookings): checkbox column + row. */
.nsel-list-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nsel-list-row > .booking-box-container {
  flex: 1 1 auto;
  min-width: 0;
}

.nsel-list-row__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
}

.nsel-list-row.is-selected > .booking-box-container {
  border-radius: 12px;
  box-shadow: 0 0 0 2px #3A80AE;
}

/* Brief Feed / Proposals rows: checkbox sits in the meta line. */
.brief-feed-item .nsel-check {
  margin-right: 4px;
  vertical-align: middle;
}

.brief-feed-item.is-selected .brief-feed-card-shell {
  box-shadow: 0 0 0 2px #3A80AE;
}

.brief-feed-status[hidden] {
  display: none;
}

/* Inbox rows: checkbox on the right of each conversation. */
.booking-item .nsel-check {
  align-self: center;
  margin-left: 8px;
}

.booking-item.is-selected {
  box-shadow: 0 0 0 2px #3A80AE !important;
}

/* ---------------------------------------------------------------- small screens */
@media only screen and (max-width: 600px) {
  .notif-bell {
    position: static;
  }

  .notif-bell__toggle.has-count {
    padding: 5px 10px;
    font-size: 15px;
  }

  .notif-bell__divider {
    height: 30px;
    margin: 0 8px;
  }

  /* A full-screen sheet with its own close, like the profile menu. */
  .notif-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 0;
    box-shadow: none;
  }

  .notif-panel::before {
    display: none;
  }

  .notif-panel__header {
    padding: max(18px, env(safe-area-inset-top)) 20px 6px;
  }

  .notif-panel__close {
    width: 40px;
    height: 40px;
  }

  .notif-panel__tabs {
    padding: 8px 20px 0;
  }

  .notif-panel__body {
    padding: 12px 10px 14px;
    border-radius: 22px 22px 0 0;
  }

  .notif-filter {
    padding: 5px 9px;
  }

  .notif-card__cta {
    min-width: 0;
  }
}

/* ---------------------------------------------------------------- loading */
/* First load: placeholder cards in the shape of the real ones. */
.notif-loading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif-skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: #FFFFFF;
}

.notif-skeleton__pill,
.notif-skeleton__line {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #EBEBEB 0%, #F6F6F6 45%, #EBEBEB 90%) 0 0 / 300% 100%;
  animation: notif-shimmer 1.2s ease-in-out infinite;
}

.notif-skeleton__pill {
  width: 38%;
  height: 22px;
  border-radius: 11px;
}

.notif-skeleton__line { width: 70%; }
.notif-skeleton__line.is-wide { width: 92%; height: 16px; }
.notif-skeleton__line.is-short { width: 45%; }

@keyframes notif-shimmer {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

/* Refresh with content already shown: a thin running bar under the tabs. */
.notif-progress {
  position: relative;
  height: 3px;
  margin-bottom: -3px;
  overflow: hidden;
  z-index: 1;
}

.notif-progress[hidden] {
  display: none;
}

.notif-progress::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  border-radius: 2px;
  background: #3A80AE;
  animation: notif-progress 1s ease-in-out infinite;
}

@keyframes notif-progress {
  to { left: 100%; }
}

.notif-panel__status p {
  margin: 0;
}

.notif-retry {
  margin-top: 12px;
  padding: 6px 16px;
  border: 1.5px solid #3A80AE;
  border-radius: 16px;
  background: #FFFFFF;
  color: #3A80AE;
  font-family: "Mont-SemiBold", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.notif-retry:hover {
  background: #3A80AE;
  color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
  .notif-skeleton__pill,
  .notif-skeleton__line,
  .notif-progress::before {
    animation: none;
  }
}

/* Phones: the page under the full-screen sheet does not scroll. */
@media only screen and (max-width: 600px) {
  body.notif-panel-open {
    overflow: hidden;
  }
}
