/* Artist Finder - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg-primary: #0a0b14;
  --bg-secondary: #0f1020;
  --bg-card: #13152a;
  --bg-card-hover: #1a1d35;
  --accent-purple: #7c3aed;
  --accent-purple-light: #9d5ff5;
  --accent-purple-glow: rgba(124, 58, 237, 0.3);
  --accent-teal: #0fd9b4;
  --accent-pink: #f472b6;
  --text-primary: #f0f0ff;
  --text-secondary: #8b8db8;
  --text-muted: #4a4a6a;
  --border: rgba(124, 58, 237, 0.2);
  --border-subtle: rgba(255,255,255,0.06);
  --grid-color: rgba(124, 58, 237, 0.07);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,11,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--accent-purple-light);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-purple-glow);
}
.btn-primary:hover {
  background: var(--accent-purple-light);
  box-shadow: 0 0 30px rgba(124,58,237,0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple-light);
}

.btn-teal {
  background: var(--accent-teal);
  color: #0a0b14;
  font-weight: 700;
}
.btn-teal:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

.btn-danger {
  background: #dc2626;
  color: #fff;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 4rem;
  overflow: hidden;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,217,180,0.15), transparent 70%);
  bottom: 0; right: -100px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244,114,182,0.15), transparent 70%);
  bottom: 100px; left: -100px;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-30px) translateX(-50%); }
}

.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border);
  color: var(--accent-purple-light);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero h1 .accent { color: var(--accent-purple-light); }
.hero h1 .accent-teal { color: var(--accent-teal); }

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.stat {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent-purple-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SECTIONS ============ */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-secondary);
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ============ FEATURES GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ ARTIST CARDS ============ */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.artist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.artist-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.artist-card-banner {
  height: 100px;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(15,217,180,0.2));
  position: relative;
}

.artist-card-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  position: absolute;
  bottom: -36px;
  left: 1.5rem;
  background: var(--bg-secondary);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-purple-light);
  overflow: hidden;
}

.artist-card-body {
  padding: 2.5rem 1.5rem 1.5rem;
}

.artist-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.artist-card-meta {
  font-size: 0.8rem;
  color: var(--accent-teal);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}
.artist-card-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border);
  color: var(--accent-purple-light);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin: 0.25rem 0.15rem 0 0;
}

.tag-teal {
  background: rgba(15,217,180,0.1);
  border-color: rgba(15,217,180,0.3);
  color: var(--accent-teal);
}

/* ============ CAST CALL CARDS ============ */
.cast-calls-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cast-call-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.cast-call-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.cast-call-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.cast-call-filmmaker {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}
.cast-call-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.cast-call-detail { display: flex; align-items: center; gap: 0.3rem; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.status-open {
  background: rgba(15,217,180,0.15);
  color: var(--accent-teal);
  border: 1px solid rgba(15,217,180,0.3);
}
.status-closed {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.status-open::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============ FORMS ============ */
.form-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-card);
}

.form-card.wide { max-width: 700px; }

.form-card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.form-card-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
}
.form-control::placeholder { color: var(--text-muted); }

select.form-control option { background: var(--bg-card); }

textarea.form-control { resize: vertical; min-height: 100px; }

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

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.role-option { position: relative; }
.role-option input { display: none; }
.role-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.role-option label .role-icon { font-size: 2rem; }
.role-option label .role-name { font-weight: 700; font-size: 0.95rem; }
.role-option label .role-desc { font-size: 0.78rem; color: var(--text-muted); }
.role-option input:checked + label {
  border-color: var(--accent-purple);
  background: rgba(124,58,237,0.1);
  box-shadow: 0 0 0 1px var(--accent-purple);
}
.role-option label:hover { border-color: var(--border); }

.form-footer { text-align: center; margin-top: 1.5rem; font-size: 0.88rem; color: var(--text-secondary); }
.form-footer a { color: var(--accent-purple-light); text-decoration: none; }

/* ============ DASHBOARD ============ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  padding-top: 64px;
}

.sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 2rem 0;
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  width: 240px;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-section {
  margin-bottom: 2rem;
}
.sidebar-section-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}

.sidebar-nav { list-style: none; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.sidebar-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.sidebar-nav a.active {
  color: var(--accent-purple-light);
  border-left-color: var(--accent-purple);
  background: rgba(124,58,237,0.08);
}
.sidebar-nav a .nav-icon { font-size: 1.1rem; width: 20px; }

.dashboard-content {
  margin-left: 240px;
  padding: 2rem 2.5rem;
  position: relative;
  z-index: 1;
}

.page-header {
  margin-bottom: 2rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.page-sub { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.25rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.stat-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-purple-light);
  line-height: 1;
}
.stat-card-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* ============ PROFILE PAGE ============ */
.profile-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.profile-banner {
  height: 160px;
  background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(15,217,180,0.3), rgba(244,114,182,0.2));
  position: relative;
}
.profile-avatar-wrap {
  position: absolute;
  bottom: -50px;
  left: 2rem;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  background: var(--bg-secondary);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent-purple-light);
  overflow: hidden;
}
.profile-body {
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.profile-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.profile-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.profile-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ============ PORTFOLIO GRID ============ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.portfolio-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
  cursor: pointer;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-video-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.2);
  font-size: 2.5rem;
}

/* ============ MESSAGES ============ */
.messages-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: calc(100vh - 64px);
  gap: 0;
}
.conversations-list {
  border-right: 1px solid var(--border-subtle);
  overflow-y: auto;
}
.conversation-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.conversation-item:hover, .conversation-item.active { background: var(--bg-card-hover); }
.conv-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(124,58,237,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-purple-light);
}
.conv-name { font-weight: 600; font-size: 0.9rem; }
.conv-preview { font-size: 0.8rem; color: var(--text-muted); }
.chat-area {
  display: flex;
  flex-direction: column;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.message-bubble {
  max-width: 65%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.message-mine {
  align-self: flex-end;
  background: var(--accent-purple);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.message-theirs {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}
.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.75rem;
}
.chat-input-area .form-control { margin: 0; }

/* ============ ALERTS / FLASH ============ */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.alert-success {
  background: rgba(15,217,180,0.1);
  border: 1px solid rgba(15,217,180,0.3);
  color: var(--accent-teal);
}
.alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-purple-light);
  margin-bottom: 1rem;
}
footer p { color: var(--text-muted); font-size: 0.85rem; }

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 1rem;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent-purple);
  background: rgba(124,58,237,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-purple-light);
  margin: 0 auto 1.25rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ============ SEARCH BAR ============ */
.search-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.search-bar .form-control { flex: 1; min-width: 200px; }
.search-bar select.form-control { flex: 0 0 180px; }

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 2rem 0;
}

/* ============ TABS ============ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.tab-btn.active {
  color: var(--accent-purple-light);
  border-bottom-color: var(--accent-purple);
}
.tab-btn:hover { color: var(--text-primary); }

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 0.95rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dashboard-content { margin-left: 0; padding: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .messages-layout { grid-template-columns: 1fr; }
  .profile-body { grid-template-columns: 1fr; }
}
