/* ============================================================
   EventPro Platform – Main Stylesheet
   ============================================================ */

:root {
  --primary:     #6c63ff;
  --primary-dark:#5a52d5;
  --secondary:   #e040fb;
  --success:     #28a745;
  --warning:     #ffc107;
  --danger:      #dc3545;
  --info:        #17a2b8;
  --dark:        #1a1a2e;
  --darker:      #16213e;
  --card-bg:     #ffffff;
  --body-bg:     #f0f2f5;
  --sidebar-bg:  #1a1a2e;
  --sidebar-w:   260px;
  --text-main:   #333;
  --text-muted:  #6c757d;
  --border:      #e9ecef;
  --radius:      10px;
  --shadow:      0 2px 15px rgba(0,0,0,0.08);
  --transition:  0.25s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ── Layout Wrapper ──────────────────────────────────────────────────────── */
.app-wrapper { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 1000;
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.sidebar-brand {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  text-align: center;
}
.sidebar-brand .brand-logo {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.sidebar-brand h5 { color: #fff; font-size: 1.1rem; margin: 0; }
.sidebar-brand small { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

.sidebar-nav { flex: 1; padding: 1rem 0; }
.sidebar-nav .nav-section {
  padding: 0.5rem 1.5rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  color: rgba(255,255,255,0.7);
  border-left: 3px solid transparent;
  transition: all var(--transition);
  font-size: 0.9rem;
  gap: 0.75rem;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--primary);
}
.sidebar-nav a .badge-count {
  margin-left: auto;
  background: var(--secondary);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}
.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
}
.sidebar-user img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.sidebar-user .user-name { font-size: 0.85rem; font-weight: 600; }
.sidebar-user .user-role { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* ── Main Content ────────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top Navbar ──────────────────────────────────────────────────────────── */
.top-navbar {
  background: #fff;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.top-navbar .page-title { font-size: 1.1rem; font-weight: 700; flex: 1; }
.top-navbar .nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.notification-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.notification-btn:hover { background: var(--body-bg); color: var(--primary); }
.notification-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.3rem;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: background var(--transition);
}
.user-avatar-btn:hover { background: var(--body-bg); }
.user-avatar-btn img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* ── Page Content ────────────────────────────────────────────────────────── */
.page-content { flex: 1; padding: 1.5rem; }
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.6rem; }
.page-header p { color: var(--text-muted); margin-top: 0.25rem; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}
.card-header h5, .card-header h6 { margin: 0; font-size: 0.95rem; }
.card-body { padding: 1.25rem; }
.card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

/* ── Stat Cards ──────────────────────────────────────────────────────────── */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-icon.purple  { background: rgba(108,99,255,0.12); color: var(--primary); }
.stat-icon.green   { background: rgba(40,167,69,0.12);  color: var(--success); }
.stat-icon.orange  { background: rgba(255,165,0,0.12);  color: #ff9800; }
.stat-icon.blue    { background: rgba(23,162,184,0.12); color: var(--info); }
.stat-icon.red     { background: rgba(220,53,69,0.12);  color: var(--danger); }
.stat-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.15rem; }
.stat-change { font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary   { background: var(--primary);  color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary { background: #6c757d; color: #fff; border-color: #6c757d; }
.btn-success   { background: var(--success);  color: #fff; border-color: var(--success); }
.btn-danger    { background: var(--danger);   color: #fff; border-color: var(--danger); }
.btn-warning   { background: var(--warning);  color: #212529; border-color: var(--warning); }
.btn-info      { background: var(--info);     color: #fff; border-color: var(--info); }
.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-outline-secondary { background: transparent; color: #6c757d; border-color: #6c757d; }
.btn-outline-secondary:hover { background: #6c757d; color: #fff; }
.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.875rem; }
.form-control {
  width: 100%;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-main);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.form-control::placeholder { color: #adb5bd; }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: 0.8rem; margin-top: 0.25rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-check-input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right 0.75rem center; background-repeat: no-repeat; background-size: 1.25rem; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid var(--success); }
.alert-danger   { background: #f8d7da; color: #721c24; border-left: 4px solid var(--danger); }
.alert-warning  { background: #fff3cd; color: #856404; border-left: 4px solid var(--warning); }
.alert-info     { background: #d1ecf1; color: #0c5460; border-left: 4px solid var(--info); }
.alert-dismissible { position: relative; }
.btn-close {
  background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 0.2rem 0.4rem;
  border-radius: 4px; opacity: 0.6;
  font-size: 1.1rem; line-height: 1;
}
.btn-close:hover { opacity: 1; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table th, .table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.table th { font-weight: 700; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; background: #f8f9fa; }
.table tbody tr:hover { background: #f8f9fb; }
.table-striped tbody tr:nth-child(even) { background: #f8f9fa; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-success  { background: rgba(40,167,69,0.12);  color: #155724; }
.badge-danger   { background: rgba(220,53,69,0.12);  color: #721c24; }
.badge-warning  { background: rgba(255,193,7,0.15);  color: #856404; }
.badge-info     { background: rgba(23,162,184,0.12); color: #0c5460; }
.badge-primary  { background: rgba(108,99,255,0.12); color: #4a3f9f; }
.badge-secondary{ background: rgba(108,117,125,0.12);color: #495057; }

/* ── Public Navbar ───────────────────────────────────────────────────────── */
.public-navbar {
  background: #fff;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-links { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.navbar-links a { color: var(--text-main); font-weight: 500; font-size: 0.9rem; }
.navbar-links a:hover { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 50%);
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; position: relative; }
.hero h1 span { color: var(--secondary); }
.hero p  { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; position: relative; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Search Bar ──────────────────────────────────────────────────────────── */
.search-bar {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.search-bar input, .search-bar select {
  flex: 1;
  min-width: 160px;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-main);
}
.search-divider { width: 1px; height: 28px; background: var(--border); }

/* ── Vendor Cards ────────────────────────────────────────────────────────── */
.vendor-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vendor-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.vendor-card-img { height: 180px; overflow: hidden; position: relative; }
.vendor-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vendor-card:hover .vendor-card-img img { transform: scale(1.05); }
.vendor-card-body { padding: 1rem; }
.vendor-card-type { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--primary); letter-spacing: 0.05em; }
.vendor-card h5 { font-size: 1rem; margin: 0.25rem 0; }
.vendor-card-location { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem; }
.vendor-card-rating { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.stars { color: #ffc107; font-size: 0.85rem; }
.featured-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}
.verified-badge {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-size: 0.72rem; color: var(--primary); font-weight: 600;
}

/* ── Category Pills ──────────────────────────────────────────────────────── */
.category-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pill {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 2px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: #fff;
  color: var(--text-main);
  text-decoration: none;
}
.pill:hover, .pill.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ── Grids ───────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 1.25rem; gap: 0; }
.tab-btn {
  padding: 0.65rem 1.25rem;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  margin-bottom: -2px;
}
.tab-btn:hover, .tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Avatar ──────────────────────────────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 96px; height: 96px; }

/* ── Chat ────────────────────────────────────────────────────────────────── */
.chat-container { display: flex; flex-direction: column; height: calc(100vh - 180px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-bubble {
  max-width: 70%;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-bubble.sent {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-bubble.received {
  background: #f0f2f5;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-bubble .time { font-size: 0.7rem; opacity: 0.7; margin-top: 0.25rem; }
.chat-input-bar {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: #fff;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.chat-input-bar input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}
.chat-input-bar input:focus { border-color: var(--primary); }
.chat-attachment { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.chat-attachment img { max-height: 120px; border-radius: 8px; }

/* ── Calendar ────────────────────────────────────────────────────────────── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.cal-day:hover          { border-color: var(--primary); }
.cal-day.available      { background: rgba(40,167,69,0.1); color: var(--success); }
.cal-day.booked         { background: rgba(220,53,69,0.1); color: var(--danger); cursor: default; }
.cal-day.blocked        { background: rgba(108,117,125,0.1); color: var(--text-muted); cursor: default; }
.cal-day.today          { border-color: var(--primary) !important; font-weight: 700; }
.cal-day.other-month    { opacity: 0.3; }
.cal-day.selected       { background: var(--primary) !important; color: #fff !important; }

/* ── Star Rating ─────────────────────────────────────────────────────────── */
.star-rating { display: flex; gap: 0.25rem; }
.star-rating .star {
  font-size: 1.5rem;
  cursor: pointer;
  color: #ddd;
  transition: color 0.1s;
}
.star-rating .star.filled, .star-rating .star:hover ~ .star { color: #ffc107; }
.star-rating:hover .star { color: #ffc107; }
.star-rating .star:hover ~ .star { color: #ddd; }

/* ── Progress Bar ────────────────────────────────────────────────────────── */
.progress { background: var(--border); border-radius: 10px; height: 8px; overflow: hidden; }
.progress-bar { background: var(--primary); height: 100%; border-radius: 10px; transition: width 0.6s ease; }
.progress-bar.green  { background: var(--success); }
.progress-bar.orange { background: #ff9800; }
.progress-bar.red    { background: var(--danger); }

/* ── Checklist ───────────────────────────────────────────────────────────── */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  transition: all var(--transition);
}
.checklist-item.done     { background: rgba(40,167,69,0.05); border-color: rgba(40,167,69,0.2); }
.checklist-item.pending  { background: rgba(255,193,7,0.05); border-color: rgba(255,193,7,0.2); }
.checklist-item.not_started { background: #fafafa; }
.checklist-status-icon { font-size: 1.2rem; flex-shrink: 0; }
.checklist-item.done .checklist-status-icon     { color: var(--success); }
.checklist-item.pending .checklist-status-icon  { color: var(--warning); }
.checklist-item.not_started .checklist-status-icon { color: #adb5bd; }

/* ── Auth Pages ──────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  padding: 2rem;
}
.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-card.wide { max-width: 650px; }
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo h2 {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
}
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height: 1px; background: var(--border); }
.auth-divider span { color: var(--text-muted); font-size: 0.8rem; }

/* ── Portfolio Gallery ───────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.gallery-item { aspect-ratio: 1; border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .remove-btn {
  position: absolute; top: 4px; right: 4px;
  background: rgba(220,53,69,0.9); color: #fff;
  border: none; border-radius: 50%; width: 22px; height: 22px;
  cursor: pointer; font-size: 0.7rem; display: none;
  align-items: center; justify-content: center;
}
.gallery-item:hover .remove-btn { display: flex; }

/* ── Map Container ───────────────────────────────────────────────────────── */
.map-container { height: 300px; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); }

/* ── Pricing Cards ───────────────────────────────────────────────────────── */
.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(108,99,255,0.05), rgba(224,64,251,0.05));
  transform: scale(1.02);
}
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.pricing-card .price sup { font-size: 1rem; vertical-align: top; margin-top: 0.5rem; }
.pricing-card .price-period { color: var(--text-muted); font-size: 0.85rem; }
.pricing-features { list-style: none; text-align: left; margin: 1.5rem 0; }
.pricing-features li { padding: 0.4rem 0; font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 0.25rem; list-style: none; flex-wrap: wrap; }
.page-item .page-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-item .page-link:hover  { border-color: var(--primary); color: var(--primary); }

/* ── Timeline ────────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:''; position: absolute; left: 0.5rem; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-dot {
  position: absolute;
  left: -1.65rem;
  top: 0.25rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-dot.success { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-dot.warning { background: var(--warning); box-shadow: 0 0 0 2px var(--warning); }
.timeline-dot.danger  { background: var(--danger);  box-shadow: 0 0 0 2px var(--danger);  }
.timeline-content { background: #fff; border-radius: 8px; padding: 0.75rem 1rem; border: 1px solid var(--border); }

/* ── Dropdown ────────────────────────────────────────────────────────────── */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%; right: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  padding: 0.5rem;
  z-index: 1100;
  display: none;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition);
}
.dropdown-item:hover { background: var(--body-bg); color: var(--primary); }
.dropdown-item.danger:hover { background: rgba(220,53,69,0.08); color: var(--danger); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.25rem 0; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition);
}
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }

/* ── Event Builder Steps ─────────────────────────────────────────────────── */
.step-progress { display: flex; align-items: center; gap: 0; margin-bottom: 2rem; }
.step-item { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  width: 100%; height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item.done::after { background: var(--primary); }
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 1;
  position: relative;
  border: 3px solid var(--border);
  transition: all var(--transition);
}
.step-item.active .step-circle { background: var(--primary); color: #fff; border-color: var(--primary); }
.step-item.done .step-circle   { background: var(--success); color: #fff; border-color: var(--success); }
.step-label { font-size: 0.75rem; margin-top: 0.4rem; color: var(--text-muted); font-weight: 600; }
.step-item.active .step-label  { color: var(--primary); }
.step-item.done .step-label    { color: var(--success); }

/* ── Service Selection Cards ─────────────────────────────────────────────── */
.service-select-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  background: #fff;
  user-select: none;
}
.service-select-card:hover { border-color: var(--primary); background: rgba(108,99,255,0.03); }
.service-select-card.selected { border-color: var(--primary); background: rgba(108,99,255,0.08); }
.service-select-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.service-select-card h6 { font-size: 0.875rem; margin: 0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .sidebar-overlay {
    display: block !important;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .search-bar { flex-direction: column; }
  .auth-card { padding: 1.5rem; }
  .page-content { padding: 1rem; }
  .top-navbar { padding: 0 1rem; }
  .stat-card { padding: 1rem; }
  .stat-value { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .vendor-card-img { height: 150px; }
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-muted) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger)  !important; }
.text-warning { color: #856404 !important; }
.fw-bold      { font-weight: 700; }
.fw-600       { font-weight: 600; }
.d-flex       { display: flex; }
.d-none       { display: none; }
.d-block      { display: block; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.mt-1   { margin-top: 0.25rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-3   { margin-top: 0.75rem; }
.mt-4   { margin-top: 1rem; }
.mb-1   { margin-bottom: 0.25rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-5   { margin-bottom: 1.5rem; }
.p-0    { padding: 0; }
.w-100  { width: 100%; }
.rounded { border-radius: var(--radius); }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
