/**
 * TechMedini Foundation - Inquiry Management Portal
 * Standalone Self-Contained Stylesheet
 * Brand Colors: Deep Tech Blue (#1E5285), Slate (#0f172a), Emerald (#10b981)
 */

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Brand Colors */
  --color-brand-primary: #1E5285;
  --color-brand-hover: #17426b;
  --color-brand-light: #eff6ff;
  --color-brand-border: #bfdbfe;

  /* Neutrals */
  --color-bg-canvas: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;

  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-subtle: #64748b;
  --color-text-light: #94a3b8;

  /* Status Colors */
  --color-status-new-bg: #ecfdf5;
  --color-status-new-text: #065f46;
  --color-status-new-border: #a7f3d0;
  --color-status-new-dot: #10b981;

  --color-status-contacted-bg: #fffbeb;
  --color-status-contacted-text: #92400e;
  --color-status-contacted-border: #fde68a;
  --color-status-contacted-dot: #f59e0b;

  --color-status-closed-bg: #f1f5f9;
  --color-status-closed-text: #475569;
  --color-status-closed-border: #cbd5e1;
  --color-status-closed-dot: #64748b;

  --color-danger-bg: #fef2f2;
  --color-danger-text: #991b1b;
  --color-danger-border: #fecaca;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg-canvas);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-canvas);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.875rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Top App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  border: 1px solid var(--color-brand-border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.system-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.current-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  background: var(--color-bg-subtle);
  padding: 0.35rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .current-time {
    display: none;
  }
  .brand-subtitle {
    display: none;
  }
}

/* Main Content Area */
.main-wrapper {
  flex: 1;
  padding: 1.75rem 0 3rem;
}

/* Banner / Overview Header */
.portal-intro {
  margin-bottom: 1.5rem;
}

.intro-title-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .intro-title-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.page-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.025em;
}

.page-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}

.sync-time-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
  background: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  width: fit-content;
}

/* Stats Summary Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-dark);
}

.stat-card.card-total::after { background-color: var(--color-brand-primary); }
.stat-card.card-new::after { background-color: var(--color-status-new-dot); }
.stat-card.card-contacted::after { background-color: var(--color-status-contacted-dot); }
.stat-card.card-closed::after { background-color: var(--color-status-closed-dot); }

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1.1;
  font-family: var(--font-mono);
}

.stat-footnote {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.icon-blue { background-color: #eff6ff; color: #1e40af; }
.icon-green { background-color: #ecfdf5; color: #047857; }
.icon-amber { background-color: #fffbeb; color: #b45309; }
.icon-slate { background-color: #f1f5f9; color: #475569; }

/* Action Toolbar */
.toolbar-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 900px) {
  .toolbar-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.625rem 2.25rem 0.625rem 2.375rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-subtle);
  color: var(--color-text-main);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(30, 82, 133, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 0.875rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  display: none;
}

.search-clear-btn.visible {
  display: block;
}

.search-clear-btn:hover {
  background-color: var(--color-border);
  color: var(--color-text-main);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.625rem 2rem 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-text-main);
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(30, 82, 133, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-subtle);
  border-color: var(--color-border-dark);
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
  box-shadow: 0 4px 10px rgba(30, 82, 133, 0.25);
}

.btn-refresh.spinning svg {
  animation: spin 0.8s linear infinite;
}

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

/* Alert Banners */
.alert-banner {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-banner.alert-error {
  background-color: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  color: var(--color-danger-text);
}

.alert-banner.alert-info {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 700;
  margin-bottom: 0.125rem;
}

/* Inquiries Table Card */
.table-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.table-header-bar {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table-count-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: var(--color-bg-subtle);
  color: var(--color-text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.inquiries-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.8125rem;
}

.inquiries-table th {
  background-color: #f8fafc;
  color: var(--color-text-subtle);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.inquiries-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: middle;
}

.inquiries-table tr:last-child td {
  border-bottom: none;
}

.inquiries-table tbody tr {
  transition: background-color 0.12s ease;
}

.inquiries-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Table Cell Styling */
.cell-timestamp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  white-space: nowrap;
}

.client-name-cell {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-brand-border);
}

.client-name-text {
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
}

.cell-contact-link {
  color: var(--color-brand-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}

.cell-contact-link:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

.cell-contact-link svg {
  width: 13px;
  height: 13px;
  color: var(--color-text-light);
}

.cell-message-preview {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-msg-btn {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  background: var(--color-brand-light);
  border: 1px solid var(--color-brand-border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.view-msg-btn:hover {
  background-color: #dbeafe;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-status.status-new {
  background-color: var(--color-status-new-bg);
  color: var(--color-status-new-text);
  border: 1px solid var(--color-status-new-border);
}
.badge-status.status-new::before { background-color: var(--color-status-new-dot); }

.badge-status.status-contacted {
  background-color: var(--color-status-contacted-bg);
  color: var(--color-status-contacted-text);
  border: 1px solid var(--color-status-contacted-border);
}
.badge-status.status-contacted::before { background-color: var(--color-status-contacted-dot); }

.badge-status.status-closed {
  background-color: var(--color-status-closed-bg);
  color: var(--color-status-closed-text);
  border: 1px solid var(--color-status-closed-border);
}
.badge-status.status-closed::before { background-color: var(--color-status-closed-dot); }

/* Quick Status Selector in table */
.status-select-wrap {
  position: relative;
  display: inline-block;
}

.status-quick-select {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text-main);
  cursor: pointer;
}

/* Empty State */
.empty-state {
  padding: 4rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-bg-subtle);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.empty-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.empty-desc {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  max-width: 360px;
}

/* Skeleton Loading State */
.skeleton-row td {
  padding: 1.125rem 1rem;
}

.skeleton-box {
  height: 16px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Details Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background-color 0.15s;
}

.modal-close-btn:hover {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-main);
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-field-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
}

.modal-field-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.modal-message-box {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  white-space: pre-wrap;
  max-height: 240px;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.2s ease forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer note */
.app-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  background-color: #ffffff;
}

.app-footer a {
  color: var(--color-brand-primary);
  font-weight: 600;
}

