:root {
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --color-primary-50: #fef2f2;
  --color-primary-100: #fee2e2;
  --color-primary-200: #fecaca;
  --color-primary-300: #fca5a5;
  --color-primary-400: #f87171;
  --color-primary-500: #ef4444;
  --color-primary-600: #dc3545;
  --color-primary-700: #bb2d3b;
  --color-primary-800: #991b1b;
  --color-primary-900: #7f1d1d;
  --color-primary-950: #450a0a;

  --color-dark-50: #f8fafc;
  --color-dark-100: #f1f5f9;
  --color-dark-200: #e2e8f0;
  --color-dark-300: #cbd5e1;
  --color-dark-400: #94a3b8;
  --color-dark-500: #64748b;
  --color-dark-600: #475569;
  --color-dark-700: #334155;
  --color-dark-800: #1e293b;
  --color-dark-900: #1a1a2e;
  --color-dark-950: #0f172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0f172a;
  background: var(--color-dark-50);
}

img {
  max-width: 100%;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--color-primary-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-700);
}

.btn-secondary {
  background: var(--color-dark-600);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-dark-700);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
}

.btn-outline-primary {
  color: var(--color-primary-600);
  border-color: var(--color-primary-600);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--color-primary-50);
}

.btn-outline-dark {
  color: var(--color-dark-800);
  border-color: var(--color-dark-800);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--color-dark-100);
}

.btn-success {
  background: #16a34a;
  color: #fff;
}

.btn-success:hover {
  background: #15803d;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #0f172a;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-select {
  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.5rem center;
  background-size: 1.5em 1.5em;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.form-checkbox,
.form-radio {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary-600);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
}

.form-help {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.card-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.7);
}

.card-body {
  padding: 1rem;
}

.card-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.7);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

.badge-primary {
  background: var(--color-primary-100);
  color: var(--color-primary-800);
}

.badge-success {
  background: #dcfce7;
  color: #166534;
}

.badge-warning {
  background: #fef9c3;
  color: #854d0e;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.badge-gray {
  background: #f1f5f9;
  color: #334155;
}

.badge-premium {
  background: linear-gradient(90deg, #facc15, #f59e0b);
  color: #1f2937;
  font-weight: 700;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  display: inline-block;
}

.status-available {
  background: #22c55e;
}

.status-busy {
  background: #eab308;
}

.status-offline {
  background: #94a3b8;
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.alert-success {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.alert-danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert-warning {
  background: #fef9c3;
  border-color: #fde047;
  color: #854d0e;
}

.alert-info {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
}

.htmx-indicator {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
}

.glass {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Color tokens. */
:root {
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1f2937;
  --gray-900: #0f172a;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --yellow-500: #eab308;
  --yellow-600: #ca8a04;
  --red-400: #f87171;
  --red-600: #dc2626;
  --sky-500: #0ea5e9;
  --white: #ffffff;
  --black: #000000;
}

.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.03%22%3E%3Cpath%20d%3D%22M36%2034v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6%2034v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6%204V0H4v4H0v2h4v4h2V6h4V4H6z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.cursor-wait { cursor: wait; }

/* Layout and navigation */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gray-50);
  font-family: var(--font-sans);
  color: var(--gray-900);
}

.site-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-main {
  flex: 1 1 auto;
}

.site-nav {
  background: var(--color-dark-900);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.12);
}

.nav-container {
  padding: 0 1rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-logo:hover {
  color: var(--color-primary-400);
}

.nav-logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary-500);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-right {
  display: none;
  align-items: center;
  gap: 1rem;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-dropdown {
  position: relative;
}

.nav-menu {
  position: absolute;
  left: 0;
  margin-top: 0.5rem;
  width: 12rem;
  background: #fff;
  color: var(--gray-900);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0;
  z-index: 50;
}

.nav-menu-right {
  left: auto;
  right: 0;
}

.nav-menu-wide {
  width: 14rem;
}

.nav-menu-item {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-menu-item:hover {
  background: var(--gray-100);
}

.nav-menu-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu-link {
  font-weight: 600;
  color: var(--color-primary-600);
}

.nav-menu-danger {
  color: var(--red-600);
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.nav-divider {
  border: 0;
  border-top: 1px solid var(--gray-200);
  margin: 0.5rem 0;
}

.nav-divider-inverse {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.nav-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link-sub {
  padding-left: 1.5rem;
}

.mobile-nav-auth {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.75rem;
}

.mobile-nav-lang {
  padding: 0 0.75rem;
}

.mobile-nav-label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.mobile-nav-lang-actions {
  display: flex;
  gap: 0.5rem;
}

.mobile-nav-lang-link {
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-nav-lang-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-link-danger {
  color: var(--red-400);
  background: transparent;
  border: 0;
}

.flash-container {
  margin-top: 1rem;
}

.flash-message {
  border-radius: 0.5rem;
}

.flash-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flash-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flash-dismiss {
  padding: 0.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.flash-dismiss:hover {
  opacity: 0.6;
}

.site-footer {
  background: var(--color-dark-900);
  color: #fff;
  margin-top: auto;
}

.footer-container {
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary-500);
}

.footer-text {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #374151;
  margin: 2rem 0;
}

.footer-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-note-line {
  margin-top: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-right {
    display: flex;
  }

  .nav-mobile-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: var(--font-sans);
  background: linear-gradient(135deg, var(--color-dark-900), var(--color-dark-800), var(--color-dark-900));
}

.auth-wrapper {
  width: min(28rem, 100%);
}

.auth-wrapper-lg {
  width: min(32rem, 100%);
}

.auth-card {
  padding: 2rem;
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-logo-link:hover {
  color: var(--color-primary-600);
}

.auth-logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary-500);
}

.auth-subtitle {
  margin-top: 0.5rem;
  color: var(--gray-500);
}

.auth-language {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-language-link {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-language-link-active {
  background: var(--color-primary-600);
  color: #fff;
}

.auth-language-link-idle {
  background: var(--gray-100);
  color: var(--gray-600);
}

.auth-language-link-idle:hover {
  background: var(--gray-200);
}

.auth-alert {
  margin-bottom: 1rem;
}

.auth-alert-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  position: relative;
}

.auth-field-icon {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  pointer-events: none;
  color: var(--gray-400);
}

.auth-field-toggle {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 0.75rem;
  background: transparent;
  border: 0;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.2s ease;
}

.auth-field-toggle:hover {
  color: var(--gray-600);
}

.auth-input {
  padding-left: 2.5rem;
}

.auth-input-with-toggle {
  padding-right: 2.5rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-remember-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.auth-submit {
  width: 100%;
}

.auth-forgot {
  text-align: center;
}

.auth-link {
  color: var(--color-primary-600);
  text-decoration: none;
  font-size: 0.875rem;
}

.auth-link:hover {
  color: var(--color-primary-700);
  text-decoration: underline;
}

.auth-divider {
  border: 0;
  border-top: 1px solid var(--gray-200);
  margin: 1.5rem 0;
}

.auth-footer {
  text-align: center;
}

.auth-footer-text {
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.auth-back {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-back-link:hover {
  color: #fff;
}

.auth-loading {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.auth-loading svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary-600);
}

.auth-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auth-account-option {
  position: relative;
  cursor: pointer;
}

.auth-account-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.auth-account-label {
  font-weight: 600;
  color: var(--gray-700);
}

.auth-account-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--gray-400);
}

.auth-account-option .auth-account-input:checked + .auth-account-card {
  border-color: var(--color-primary-500);
  background: var(--color-primary-50);
}

.auth-account-option .auth-account-input:checked + .auth-account-card svg {
  color: var(--color-primary-600);
}

.auth-account-card:hover {
  border-color: var(--gray-300);
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.auth-check-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.auth-success {
  text-align: center;
  padding: 2rem 0;
}

.auth-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.auth-success-check {
  width: 2rem;
  height: 2rem;
  color: var(--green-600);
}

.auth-success-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.auth-success-text {
  color: var(--gray-500);
}

/* Home page */
.home-hero {
  position: relative;
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark-900), var(--color-dark-800), var(--color-dark-950));
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.home-hero-inner {
  position: relative;
}

.home-hero-text {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.home-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.home-search {
  max-width: 56rem;
  margin: 0 auto;
}

.home-search-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-search-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.home-search-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  appearance: none;
}

.home-search-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4);
}

.home-search-option {
  color: var(--gray-900);
}

.home-search-button {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.home-section {
  padding: 4rem 0;
}

.home-section-muted {
  background: var(--gray-50);
}

.home-section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.home-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-section-title-center {
  justify-content: center;
  margin-bottom: 2.5rem;
  text-align: center;
}

.home-section-icon {
  color: var(--color-primary-600);
}

.home-section-icon-warning {
  color: var(--yellow-500);
}

.home-section-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-section-action svg {
  transition: transform 0.2s ease;
}

.home-section-action:hover svg {
  transform: translateX(0.25rem);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
}

.home-empty-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.home-empty-icon-svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-400);
}

.home-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.home-empty-text {
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.home-empty-action {
  display: inline-flex;
}

.home-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-city-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  color: #fff;
  text-decoration: none;
}

.home-city-card-primary {
  background: linear-gradient(135deg, #dc3545, #991b1b);
}

.home-city-card-blue {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.home-city-card-purple {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
}

.home-city-card-green {
  background: linear-gradient(135deg, #10b981, #065f46);
}

.home-city-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.home-city-card:hover .home-city-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.home-city-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.home-city-icon {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.home-city-title {
  font-weight: 600;
  font-size: 1.125rem;
}

.home-city-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.home-cta {
  padding: 5rem 0;
  color: #fff;
  background: linear-gradient(135deg, var(--color-dark-900), var(--color-dark-950));
}

.home-cta-inner {
  text-align: center;
}

.home-cta-content {
  max-width: 42rem;
  margin: 0 auto;
}

.home-cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.home-cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.home-cta-button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .home-section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .home-hero-title {
    font-size: 3rem;
  }

  .home-search-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .home-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-city-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Ads list */
.ads-page {
  padding: 2rem 0;
}

.ads-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ads-sidebar {
  flex-shrink: 0;
}

.ads-filter-toggle {
  width: 100%;
  margin-bottom: 1rem;
}

.ads-filter-card {
  padding: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.ads-filter-title {
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ads-filter-form {
  display: grid;
  gap: 1rem;
}

.ads-filter-label {
  font-weight: 600;
}

.ads-filter-input {
  font-size: 0.875rem;
}

.ads-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ads-filter-list {
  max-height: 12rem;
  overflow-y: auto;
  display: grid;
  gap: 0.5rem;
  padding-right: 0.5rem;
}

.ads-filter-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.ads-filter-item-text {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.ads-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.ads-filter-button {
  justify-content: center;
}

.ads-results {
  flex: 1 1 auto;
}

.ads-loading {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.ads-loading-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary-600);
}

.ads-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ads-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.ads-subtitle {
  color: var(--gray-500);
}

.ads-sort {
  width: auto;
  font-size: 0.875rem;
}

.ads-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.ads-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
}

.ads-empty-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ads-empty-icon-svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-400);
}

.ads-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.ads-empty-text {
  color: var(--gray-400);
}

.ads-pagination {
  margin-top: 2.5rem;
}

.ads-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ads-page-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ads-page-link:hover {
  background: var(--gray-50);
}

.ads-page-link-disabled {
  border-color: var(--gray-100);
  color: var(--gray-300);
  cursor: not-allowed;
}

.ads-page-link-number {
  font-size: 0.875rem;
  font-weight: 600;
}

.ads-page-link-active {
  background: var(--color-primary-600);
  color: #fff;
  border-color: var(--color-primary-600);
}

@media (min-width: 640px) {
  .ads-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .ads-layout {
    flex-direction: row;
  }

  .ads-sidebar {
    width: 18rem;
  }

  .ads-filter-toggle {
    display: none;
  }
}

@media (min-width: 768px) {
  .ads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .ads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Ad detail */
.ad-hero {
  background: linear-gradient(135deg, var(--color-dark-900), var(--color-dark-950));
  color: #fff;
  padding: 3rem 0;
}

.ad-hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.ad-hero-photo {
  flex-shrink: 0;
}

.ad-hero-image {
  width: 10rem;
  height: 10rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 20px 25px rgba(15, 23, 42, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.ad-hero-info {
  text-align: center;
  flex: 1 1 auto;
}

.ad-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ad-hero-title {
  font-size: 1.875rem;
  font-weight: 700;
}

.ad-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.ad-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.ad-hero-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary-400);
}

.ad-hero-price-unit {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.ad-section {
  padding: 2.5rem 0;
}

.ad-layout {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

.ad-main {
  display: grid;
  gap: 1.5rem;
}

.ad-card-title {
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ad-card-text {
  color: var(--gray-700);
  white-space: pre-line;
}

.ad-attrs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ad-attr-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.ad-attr-value {
  font-weight: 600;
  color: var(--gray-900);
}

.ad-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ad-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ad-gallery-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ad-gallery-photo:hover {
  opacity: 0.8;
}

.ad-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
}

.ad-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.2s ease;
}

.ad-modal-close:hover {
  color: #fff;
}

.ad-modal-close svg {
  width: 2rem;
  height: 2rem;
}

.ad-modal-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

.ad-side {
  display: block;
}

.contact-card {
  position: sticky;
  top: 5rem;
}

.contact-card-header {
  background: var(--color-primary-600);
  color: #fff;
}

.contact-card-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card-body {
  display: grid;
  gap: 0.75rem;
}

.contact-button {
  width: 100%;
}

.contact-button-telegram {
  background: var(--sky-500);
  color: #fff;
}

.contact-button-telegram:hover {
  background: #0284c7;
}

.contact-button-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-empty {
  text-align: center;
  padding: 1.5rem 0;
}

.contact-empty-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-300);
  margin: 0 auto 0.5rem;
}

.contact-empty-text {
  color: var(--gray-500);
}

.contact-divider {
  border: 0;
  border-top: 1px solid var(--gray-200);
}

.contact-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  padding: 0.5rem 0;
}

.contact-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-600);
}

.contact-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.contact-report {
  text-align: center;
}

.contact-report-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.contact-report-button:hover {
  color: var(--gray-600);
}

.contact-report-button svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 768px) {
  .ad-hero-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .ad-hero-info {
    text-align: left;
  }

  .ad-hero-badges {
    justify-content: flex-start;
  }

  .ad-hero-meta {
    justify-content: flex-start;
  }

  .ad-hero-image {
    width: 12rem;
    height: 12rem;
  }

  .ad-attrs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ad-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-main {
    grid-column: span 2 / span 2;
  }
}

.badge-icon {
  width: 1rem;
  height: 1rem;
}

/* Profile page */
.profile-page {
  padding: 2rem 0;
}

.profile-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-sidebar {
  flex-shrink: 0;
}

.profile-card {
  padding: 1.5rem;
}

.profile-sidebar-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  border: 4px solid var(--gray-100);
}

.profile-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-200);
}

.profile-avatar-icon {
  width: 3rem;
  height: 3rem;
  color: var(--gray-400);
}

.profile-username {
  font-weight: 600;
  color: var(--gray-900);
}

.profile-email {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.profile-divider {
  border: 0;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 1rem;
}

.profile-nav {
  display: grid;
  gap: 0.25rem;
}

.profile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-nav-link:hover {
  background: var(--gray-50);
}

.profile-nav-link-active {
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  font-weight: 600;
}

.profile-content {
  flex: 1 1 auto;
}

.profile-alert {
  margin-bottom: 1.5rem;
}

.profile-alert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.profile-alert-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-alert-dismiss {
  padding: 0.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.8;
}

.profile-alert-dismiss:hover {
  opacity: 0.6;
}

.profile-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.profile-warning-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.profile-warning-title {
  font-weight: 600;
}

.profile-warning-copy {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.profile-warning-action {
  margin-top: 0.75rem;
  background: var(--yellow-600);
  color: #fff;
}

.profile-warning-action:hover {
  background: #b45309;
}

.profile-card-title {
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-form {
  display: grid;
  gap: 2rem;
}

.profile-loading {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.profile-loading-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary-600);
}

.profile-section {
  display: grid;
  gap: 1rem;
}

.profile-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.profile-grid {
  display: grid;
  gap: 1rem;
}

.profile-grid-6 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.profile-grid-5 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-grid-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.profile-grid-span-1 {
  grid-column: span 1 / span 1;
}

.profile-grid-span-2 {
  grid-column: span 1 / span 1;
}

.profile-grid-span-3 {
  grid-column: span 1 / span 1;
}

.profile-inline-field {
  display: flex;
  align-items: stretch;
}

.profile-inline-prefix,
.profile-inline-suffix {
  padding: 0.5rem 0.75rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--gray-500);
}

.profile-inline-prefix {
  border-right: 0;
  border-radius: 0.5rem 0 0 0.5rem;
}

.profile-inline-suffix {
  border-left: 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

.profile-inline-input {
  border-radius: 0 0.5rem 0.5rem 0;
}

.profile-inline-input-left {
  border-radius: 0.5rem 0 0 0.5rem;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
}

.profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.profile-summary-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.profile-summary-label-tight {
  margin-bottom: 0.25rem;
}

.profile-summary-value {
  font-weight: 600;
  color: var(--gray-900);
}

.profile-summary-muted {
  color: var(--gray-400);
}

.profile-summary-span {
  grid-column: span 1 / span 1;
}

@media (min-width: 768px) {
  .profile-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .profile-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .profile-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-summary-span {
    grid-column: span 3 / span 3;
  }
}

@media (min-width: 1024px) {
  .profile-layout {
    flex-direction: row;
  }

  .profile-sidebar {
    width: 18rem;
  }

  .profile-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .profile-grid-span-1 {
    grid-column: span 1 / span 1;
  }

  .profile-grid-span-2 {
    grid-column: span 2 / span 2;
  }

  .profile-grid-span-3 {
    grid-column: span 3 / span 3;
  }
}

/* Ad card */
.ad-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ad-card:hover {
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.12);
}

.ad-card-media {
  position: relative;
  overflow: hidden;
}

.ad-card-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ad-card:hover .ad-card-image {
  transform: scale(1.05);
}

.ad-card-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.ad-card-status-available {
  background: var(--green-500);
}

.ad-card-status-busy {
  background: var(--yellow-500);
}

.ad-card-status-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: #fff;
}

.ad-card-status-dot-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.ad-card-premium {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.ad-card-premium-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.ad-card-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ad-card-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
}

.ad-card-location svg {
  width: 1rem;
  height: 1rem;
}

.ad-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.ad-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-600);
}

.ad-card-price-unit {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-500);
}

.ad-card-price-muted {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.ad-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ad-card-action svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.ad-card-action:hover svg {
  transform: translateX(0.25rem);
}

.ad-card-skeleton {
  animation: pulse 2s ease-in-out infinite;
}

.ad-card-skeleton-media {
  height: 16rem;
  background: var(--gray-200);
}

.ad-card-skeleton-body {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.ad-card-skeleton-title {
  height: 1.25rem;
  background: var(--gray-200);
  border-radius: 0.25rem;
  width: 75%;
}

.ad-card-skeleton-tags {
  display: flex;
  gap: 0.5rem;
}

.ad-card-skeleton-tag {
  height: 1.25rem;
  background: var(--gray-200);
  border-radius: 0.25rem;
}

.ad-card-skeleton-tag-sm {
  width: 3rem;
}

.ad-card-skeleton-tag-md {
  width: 4rem;
}

.ad-card-skeleton-line {
  height: 1rem;
  background: var(--gray-200);
  border-radius: 0.25rem;
  width: 50%;
}

.ad-card-skeleton-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.ad-card-skeleton-price {
  height: 1.5rem;
  width: 4rem;
  background: var(--gray-200);
  border-radius: 0.25rem;
}

.ad-card-skeleton-button {
  height: 2rem;
  width: 6rem;
  background: var(--gray-200);
  border-radius: 0.5rem;
}

.nav-register {
  font-size: 0.875rem;
}

.mobile-nav-cta {
  width: 100%;
  justify-content: center;
}

.icon-default {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}

.icon-spinner-track {
  opacity: 0.25;
}

.icon-spinner-head {
  opacity: 0.75;
}

.form-required {
  color: var(--color-primary-500);
}

.auth-account-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ads-filter-card-hidden {
  display: none;
}

@media (min-width: 1024px) {
  .ads-filter-card-hidden {
    display: block;
  }
}

/* Icon sizing within components */
.nav-logo svg,
.footer-logo svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary-500);
}

.auth-logo-link svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary-500);
}

.home-section-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary-600);
}

.home-section-title-featured svg {
  color: var(--yellow-500);
}

.home-city-content svg {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.home-empty-icon svg,
.ads-empty-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-400);
}

.contact-empty svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-300);
}

.contact-report-button svg {
  width: 1rem;
  height: 1rem;
}

.ad-hero-meta svg {
  width: 1.25rem;
  height: 1.25rem;
}

.profile-warning svg {
  width: 1.25rem;
  height: 1.25rem;
}

.profile-alert svg {
  width: 1.25rem;
  height: 1.25rem;
}

.flash-text svg {
  width: 1.25rem;
  height: 1.25rem;
}

.badge svg {
  width: 1rem;
  height: 1rem;
}

.ads-loading svg,
.profile-loading svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary-600);
}

.auth-success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--green-600);
}

.profile-avatar-placeholder svg {
  width: 3rem;
  height: 3rem;
  color: var(--gray-400);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
