/* tempmail web panel — small shared styles on top of Tailwind (Play CDN). */

:root {
  --primary: #4f46e5; /* indigo-600 */
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

/* Slim, unobtrusive scrollbars for the inbox + content panes. */
.scroll-thin {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.scroll-thin::-webkit-scrollbar {
  width: 8px;
}
.scroll-thin::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

/* The sandboxed iframe rendering email HTML. */
.mail-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  background: #fff;
}

/* Toast container. */
#toasts {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.toast {
  animation: toast-in 0.15s ease-out;
}

/* Unread pulse dot. */
.unread-dot {
  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5);
}
