#sa-reminders-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

#sa-reminders-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #bbcd02;
  color: #24262b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 24px;
  position: relative;
}

#sa-reminders-bubble:hover {
  transform: scale(1.04);
}

#sa-reminders-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

#sa-reminders-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 38, 43, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2147483001;
}

#sa-reminders-overlay.open {
  display: flex;
}

#sa-reminders-modal {
  width: min(520px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.sa-rem-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.sa-rem-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.sa-rem-close {
  border: none;
  background: #f3f3f3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.sa-rem-list {
  padding: 0.75rem 1rem 1rem;
}

.sa-rem-card {
  border: 1px solid #e8e8e8;
  border-left: 4px solid #bbcd02;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.75rem;
  background: #fafafa;
}

.sa-rem-card.shooting {
  border-left-color: #7b61ff;
}

.sa-rem-card.consegna {
  border-left-color: #0d9488;
}

.sa-rem-kind {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6a707e;
}

.sa-rem-title {
  margin: 0.25rem 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.sa-rem-when {
  font-size: 0.82rem;
  color: #444;
}

.sa-rem-meta {
  font-size: 0.78rem;
  color: #6a707e;
  margin-top: 0.25rem;
}

.sa-rem-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #24262b;
}

.sa-rem-empty {
  padding: 1.25rem;
  color: #6a707e;
  text-align: center;
}

.sa-rem-toast {
  position: fixed;
  right: 90px;
  bottom: 28px;
  max-width: 280px;
  background: #24262b;
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
  z-index: 2147483002;
  animation: sa-pop 0.35s ease;
}

@keyframes sa-pop {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
