/* ============================================================
   VISYUM HUB — Design System
   Fonte: Figtree | Paleta: Preto & Branco | UI/UX Avançado
   ============================================================ */

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

:root {
  /* Colors */
  --black: #000000;
  --black-deep: #050505;
  --black-rich: #0a0a0a;
  --black-soft: #111111;
  --black-muted: #1a1a1a;
  --gray-900: #222222;
  --gray-800: #2a2a2a;
  --gray-700: #333333;
  --gray-600: #555555;
  --gray-500: #777777;
  --gray-400: #999999;
  --gray-300: #bbbbbb;
  --gray-200: #dddddd;
  --gray-100: #eeeeee;
  --gray-50: #f5f5f5;
  --white: #ffffff;
  --white-soft: #fafafa;

  /* Functional */
  --bg-primary: var(--black-deep);
  --bg-secondary: var(--black-rich);
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(10, 10, 10, 0.8);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text-primary: var(--white);
  --text-secondary: var(--gray-400);
  --text-muted: var(--gray-600);

  /* Status Colors */
  --status-pending: var(--gray-500);
  --status-progress: var(--white);
  --status-presented: var(--gray-300);
  --status-converted: var(--white);
  --status-rejected: var(--gray-700);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(255,255,255,0.03);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Layout */
  --header-height: 72px;
  --max-width: 1400px;
  --sidebar-width: 280px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- Noise Texture Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 9999;
}

/* ---- Gradient Mesh Background ---- */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255,255,255,0.015) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.01) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-800);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-700);
}

/* ---- Selection ---- */
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.header__separator {
  width: 1px;
  height: 20px;
  background: var(--border-medium);
}

.header__subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */

.main {
  padding-top: calc(var(--header-height) + var(--space-xl));
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
  padding-bottom: var(--space-4xl);
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

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

.stat-card:hover::before {
  opacity: 1;
}

.stat-card__label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-card--active {
  border-color: var(--border-medium);
}

/* ============================================================
   TOOLBAR
   ============================================================ */

.toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.search {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search__icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.search__input {
  width: 100%;
  padding: var(--space-sm) var(--space-md) var(--space-sm) 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.search__input::placeholder {
  color: var(--text-muted);
}

.search__input:focus {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

/* Filter & View Buttons */
.btn-group {
  display: flex;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.btn-group__item {
  padding: var(--space-sm) var(--space-md);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-group__item:hover {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
}

.btn-group__item--active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.btn-group__item svg {
  width: 16px;
  height: 16px;
}

/* Icon Button */
.btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-icon:hover {
  border-color: var(--border-hover);
  color: var(--text-secondary);
  background: var(--bg-card-hover);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* Primary Button */
.btn-primary {
  height: 44px;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transform: scale(0);
  animation: ripple-anim 600ms linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================================
   PROSPECT GRID
   ============================================================ */

.prospect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

/* ============================================================
   PROSPECT CARD
   ============================================================ */

.prospect-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  /* Animation entry */
  opacity: 0;
  transform: translateY(20px);
}

.prospect-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.prospect-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Card Glow on Hover */
.prospect-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.prospect-card:hover .prospect-card__glow {
  opacity: 1;
}

/* Card Preview Area */
.prospect-card__preview {
  position: relative;
  height: 200px;
  background: var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prospect-card__preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
}

.prospect-card__preview-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}

.prospect-card__preview-placeholder span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
}

.prospect-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.prospect-card:hover .prospect-card__preview img {
  transform: scale(1.05);
}

/* Card gradient overlay */
.prospect-card__preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--black-rich), transparent);
  pointer-events: none;
}

/* Card Body */
.prospect-card__body {
  position: relative;
  padding: var(--space-lg);
  z-index: 2;
}

.prospect-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.prospect-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.prospect-card__segment {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.prospect-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.prospect-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Status Variants */
.status-badge--pending {
  background: rgba(119, 119, 119, 0.15);
  color: var(--gray-400);
}
.status-badge--pending .status-badge__dot {
  background: var(--gray-500);
}

.status-badge--in_progress {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.status-badge--in_progress .status-badge__dot {
  background: var(--white);
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-badge--presented {
  background: rgba(187, 187, 187, 0.15);
  color: var(--gray-300);
}
.status-badge--presented .status-badge__dot {
  background: var(--gray-300);
}

.status-badge--converted {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.status-badge--converted .status-badge__dot {
  background: var(--white);
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.status-badge--rejected {
  background: rgba(51, 51, 51, 0.4);
  color: var(--gray-600);
}
.status-badge--rejected .status-badge__dot {
  background: var(--gray-700);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ============================================================
   PROSPECT LIST VIEW
   ============================================================ */

.prospect-list {
  display: none;
  flex-direction: column;
  gap: 2px;
}

.prospect-list.active {
  display: flex;
}

.prospect-grid.hidden {
  display: none;
}

.prospect-list-item {
  display: grid;
  grid-template-columns: 1fr 160px 140px 120px 44px;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  opacity: 0;
  transform: translateX(-10px);
}

.prospect-list-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.prospect-list-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.prospect-list-item__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.prospect-list-item__segment {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.prospect-list-item__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.prospect-list-item__arrow {
  color: var(--text-muted);
  transition: transform var(--duration-fast) var(--ease-out);
}

.prospect-list-item:hover .prospect-list-item__arrow {
  transform: translateX(4px);
  color: var(--text-secondary);
}

.prospect-list-item__arrow svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  padding: var(--space-xl);
}

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

.modal {
  background: var(--black-soft);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.modal__title {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.modal__close:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.modal__close svg {
  width: 16px;
  height: 16px;
}

.modal__body {
  padding: var(--space-xl);
}

.modal__section {
  margin-bottom: var(--space-xl);
}

.modal__section:last-child {
  margin-bottom: 0;
}

.modal__section-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.modal__info-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.modal__info-row + .modal__info-row {
  border-top: 1px solid var(--border-subtle);
}

.modal__info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 100px;
}

.modal__info-value {
  font-size: 0.875rem;
  color: var(--text-primary);
  word-break: break-all;
}

.modal__info-value a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gray-600);
  transition: text-decoration-color var(--duration-fast) var(--ease-out);
}

.modal__info-value a:hover {
  text-decoration-color: var(--white);
}

.modal__notes {
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal__footer {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.modal__footer .btn-primary {
  flex: 1;
  justify-content: center;
}

.btn-secondary {
  height: 44px;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  flex: 1;
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.btn-secondary svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   ADD/EDIT MODAL
   ============================================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.form-textarea {
  height: auto;
  min-height: 80px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-700);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  color: var(--gray-800);
  margin-bottom: var(--space-lg);
}

.empty-state__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.empty-state__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: var(--space-xl);
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--bg-card-hover) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton-card {
  height: 320px;
  border-radius: var(--radius-lg);
}

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

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */

.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: var(--space-md) var(--space-lg);
  background: var(--black-soft);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .prospect-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header {
    padding: 0 var(--space-md);
  }

  .main {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats .stat-card:last-child {
    grid-column: span 2;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    min-width: unset;
  }

  .toolbar__right {
    display: flex;
    gap: var(--space-sm);
  }

  .prospect-grid {
    grid-template-columns: 1fr;
  }

  .prospect-list-item {
    grid-template-columns: 1fr auto;
  }

  .prospect-list-item__segment,
  .prospect-list-item__date {
    display: none;
  }

  .modal {
    max-width: 100%;
    margin: var(--space-md);
    max-height: 90vh;
  }

  .modal-overlay {
    padding: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-primary span.hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .stat-card {
    padding: var(--space-md);
  }

  .stat-card__value {
    font-size: 1.5rem;
  }

  .header__subtitle {
    display: none;
  }

  .header__separator {
    display: none;
  }
}
