:root {
  color-scheme: light;
}

body {
  background: #f1f5f9;
}

.toast-enter {
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(2rem); }
  to { opacity: 1; transform: translateX(0); }
}

.toast-exit {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(2rem); }
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Redirect / password-prompt / expired pages (Pages/ShortLink.cshtml) render their own
   minimal shell instead of the app layout, but still load this stylesheet. */
.redirect-card {
  text-align: center;
  padding: 2rem;
  max-width: 400px;
}

.redirect-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #047857;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.redirect-url {
  color: #047857;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  word-break: break-all;
  opacity: 0.8;
}
