/* ─── TownSwap App Styles ─────────────────────────────────── */
/* Matches the landing page design system */

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

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --red-400: #f87171;
  --red-500: #ef4444;
  --white: #ffffff;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--slate-900);
  color: var(--slate-100);
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: var(--amber-400);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Nav ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--amber-400), var(--emerald-400));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color: var(--slate-900);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
  text-decoration: none;
}

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

.nav-user-name {
  color: var(--slate-300);
  font-size: 0.85rem;
}

.nav-logout {
  color: var(--slate-600) !important;
  font-size: 0.8rem !important;
  cursor: pointer;
}

/* ─── Page Container ──────────────────────────────────────── */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  min-height: 100vh;
}

.page-narrow {
  max-width: 600px;
}

.page-medium {
  max-width: 800px;
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--slate-400);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ─── Forms ───────────────────────────────────────────────── */
.form-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-300);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--red-400);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  color: var(--slate-100);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--slate-600);
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--slate-800);
  color: var(--slate-100);
}

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

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

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

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.4rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--amber-400);
}

.form-checkbox span {
  font-size: 0.9rem;
  color: var(--slate-300);
}

.form-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--slate-600);
  margin-top: 0.3rem;
}

.tag-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  min-height: 44px;
  align-items: center;
  cursor: text;
}

.tag-input-container:focus-within {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.1);
}

.tag-input-container input {
  flex: 1;
  min-width: 120px;
  border: none;
  background: none;
  color: var(--slate-100);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  padding: 0.2rem 0.5rem;
}

.tag-input-container input::placeholder {
  color: var(--slate-600);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--amber-400);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tag-remove {
  cursor: pointer;
  opacity: 0.7;
  font-size: 1rem;
  line-height: 1;
}

.tag-remove:hover {
  opacity: 1;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color: var(--slate-900);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: var(--slate-300);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--white);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red-400);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ─── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}

.alert.show {
  display: block;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--red-400);
}

.alert-success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--emerald-400);
}

/* ─── Listing Cards ───────────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.listing-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.listing-card:hover {
  border-color: rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.listing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.listing-card-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-400);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}

.listing-card-beds {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.listing-card-beds span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--slate-400);
}

.listing-card-location {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.listing-card-postcode {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}

.listing-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-tag {
  font-size: 0.75rem;
  color: var(--emerald-400);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

.listing-card-looking {
  font-size: 0.85rem;
  color: var(--slate-400);
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.listing-card-looking strong {
  color: var(--slate-300);
}

.listing-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* ─── Match Badge ─────────────────────────────────────────── */
.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(52, 211, 153, 0.15));
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--emerald-400);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.match-badge-mutual {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(52, 211, 153, 0.2));
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--amber-400);
}

/* ─── Listing Detail ──────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.detail-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  padding: 2rem;
}

.detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.detail-location {
  color: var(--slate-400);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

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

.detail-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 10px;
}

.detail-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.detail-stat-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-section {
  margin-top: 1.5rem;
}

.detail-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.detail-description {
  color: var(--slate-400);
  line-height: 1.7;
  font-size: 0.95rem;
}

.swap-requirements {
  padding: 1.5rem;
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-radius: 12px;
}

.swap-requirements h3 {
  color: var(--amber-400);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.swap-req-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  font-size: 0.9rem;
}

.swap-req-item:last-child {
  border-bottom: none;
}

.swap-req-label {
  color: var(--slate-400);
}

.swap-req-value {
  color: var(--white);
  font-weight: 500;
}

/* ─── Search/Filter Bar ───────────────────────────────────── */
.search-bar {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: end;
}

.search-field {
  flex: 1;
  min-width: 150px;
}

.search-field label {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-field input, .search-field select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  color: var(--slate-100);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.search-field input:focus, .search-field select:focus {
  border-color: var(--amber-400);
}

.search-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.search-field select option {
  background: var(--slate-800);
}

/* ─── Empty State ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--slate-400);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* ─── Matches Section ─────────────────────────────────────── */
.matches-section {
  margin-top: 2.5rem;
}

.matches-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.matches-section .section-subtitle {
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.match-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber-400), var(--emerald-400));
  color: var(--slate-900);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-left: 0.5rem;
}

/* ─── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination button {
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  color: var(--slate-300);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--amber-400);
  color: var(--white);
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination .active {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--amber-400);
}

/* ─── Loading ─────────────────────────────────────────────── */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--slate-400);
}

.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(251, 191, 36, 0.2);
  border-top-color: var(--amber-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

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

/* ─── Footer ──────────────────────────────────────────────── */
.app-footer {
  padding: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.app-footer p {
  font-size: 0.8rem;
  color: var(--slate-700);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .page {
    padding: 5rem 1rem 3rem;
  }

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

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

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

  .search-row {
    flex-direction: column;
  }

  .search-field {
    min-width: 100%;
  }

  .btn-group {
    flex-direction: column;
  }

  .app-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ─── Business Directory ─────────────────────────────────── */

/* Category group header */
.directory-category-group {
  margin-bottom: 2.5rem;
}

.directory-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.directory-category-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.08);
  border-radius: 10px;
}

.directory-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
}

.directory-category-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-400);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

/* Business cards grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

/* Business card */
.business-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.15s;
}

.business-card:hover {
  border-color: rgba(251, 191, 36, 0.15);
  transform: translateY(-1px);
}

.business-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.business-card-icon {
  font-size: 1.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(52, 211, 153, 0.1));
  border-radius: 10px;
  flex-shrink: 0;
}

.business-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.1rem;
}

.business-card-category {
  font-size: 0.75rem;
  color: var(--amber-400);
  font-weight: 500;
}

.business-card-desc {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.business-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.business-card-detail {
  font-size: 0.8rem;
  color: var(--slate-300);
  background: rgba(15, 23, 42, 0.4);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.business-card-detail a {
  color: var(--slate-300);
  text-decoration: none;
}

.business-card-detail a:hover {
  color: var(--amber-400);
  text-decoration: none;
}

/* Status badges */
.status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.status-active {
  color: var(--emerald-400);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.status-pending {
  color: var(--amber-400);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-expired {
  color: var(--red-400);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Pricing badge */
.pricing-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
}

/* ─── Directory Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-category-header {
    flex-wrap: wrap;
  }
}

/* ─── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
