/* RC2-2 notification center */
.sl-notification-center {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #dbe7f7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.sl-notification-head,
.sl-notification-full-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sl-notification-head h2,
.sl-notification-full-head h2 {
  margin: 0;
  color: #102033;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.sl-notification-head p,
.sl-notification-full-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-weight: 700;
}

.sl-notification-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.sl-notification-card {
  display: block;
  width: 100%;
  min-height: 112px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #102033;
  text-align: left;
  cursor: pointer;
}

.sl-notification-card.is-unread {
  border-color: #1966db;
  background: #f3f8ff;
}

.sl-notification-card.is-completed {
  border-color: #86efac;
  background: #f0fdf4;
}

.sl-notification-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.sl-notification-card-top span,
.sl-notification-card-top em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.sl-notification-card-top span {
  background: #e8f1ff;
  color: #195ec8;
}

.sl-notification-priority {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #334155;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.sl-notification-card.priority-urgent {
  border-color: #f43f5e;
  background: #fff6f7;
}

.sl-notification-card.priority-urgent .sl-notification-priority {
  background: #ffe4e6;
  color: #be123c;
}

.sl-notification-card.priority-warn {
  border-color: #f59e0b;
  background: #fffaf0;
}

.sl-notification-card.priority-warn .sl-notification-priority {
  background: #fef3c7;
  color: #b45309;
}

.sl-notification-card.priority-info .sl-notification-priority {
  background: #e0f2fe;
  color: #0369a1;
}

.sl-notification-card-top em {
  background: #fff4e6;
  color: #d9480f;
  font-style: normal;
}

.sl-notification-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.3;
}

.sl-notification-card p,
.sl-notification-card small {
  display: block;
  margin: 0;
  color: #60708a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sl-notification-card small {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
}

.sl-notification-complete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-weight: 900;
  cursor: pointer;
}

.sl-notification-complete:hover {
  background: #bbf7d0;
}

.sl-notification-empty {
  padding: 14px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 800;
}

.sl-notification-full {
  position: fixed;
  inset: 5vh 4vw;
  z-index: 9999;
  padding: 18px;
  border: 1px solid #dbe7f7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
  overflow: auto;
}

.sl-notification-full.hidden {
  display: none;
}

.sl-notification-route {
  position: static;
  inset: auto;
  z-index: auto;
  margin: 0;
  min-height: 520px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.sl-notification-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.sl-notification-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.sl-notification-quick-action {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfe0f7;
  border-radius: 10px;
  background: #fff;
  color: #195ec8;
  font-weight: 900;
  cursor: pointer;
}

.sl-notification-quick-action:hover {
  background: #f5f8ff;
}

.sl-notification-summary-card {
  padding: 14px;
  border: 1px solid #e7ecf6;
  border-radius: 12px;
  background: #f8fafc;
}

.sl-notification-summary-card span {
  display: block;
  color: #64748b;
  font-weight: 800;
  font-size: 13px;
}

.sl-notification-summary-card b {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.sl-notification-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.sl-notification-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.sl-notification-filter {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #e7ecf6;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
}

.sl-notification-filter:hover {
  background: #f5f8ff;
  color: #195ec8;
}

.sl-notification-filter.is-active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.sl-notification-retention {
  margin: -4px 0 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.sl-inquiry-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 160px;
  gap: 8px;
  margin: 0 0 12px;
}

.sl-inquiry-tools input,
.sl-inquiry-tools select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #dbe7f7;
  border-radius: 10px;
  background: #fff;
  color: #102033;
  font-weight: 800;
}

.sl-notification-days {
  display: grid;
  gap: 16px;
}

.sl-notification-day {
  display: grid;
  gap: 10px;
}

.sl-notification-day h3 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  letter-spacing: 0;
}

@media (max-width: 680px) {
  .sl-notification-center,
  .sl-notification-full {
    padding: 14px;
    border-radius: 12px;
  }

  .sl-notification-full {
    inset: 10px;
  }

  .sl-notification-head,
  .sl-notification-full-head {
    display: block;
  }

  .sl-notification-head button,
  .sl-notification-full-head button {
    width: 100%;
    margin-top: 10px;
    min-height: 42px;
  }

  .sl-notification-list {
    grid-template-columns: 1fr;
  }

  .sl-notification-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-inquiry-tools {
    grid-template-columns: 1fr;
  }
}
