@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(20, 20, 30, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --accent-primary: #f59e0b;
  --accent-secondary: #d97706;
  --accent-gradient: linear-gradient(135deg, #f59e0b, #ef4444);
  --accent-gradient-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.08));

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-accent: #fbbf24;

  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(245, 158, 11, 0.3);

  --transfer-color: #3b82f6;
  --transfer-bg: rgba(59, 130, 246, 0.12);
  --yuk-color: #10b981;
  --yuk-bg: rgba(16, 185, 129, 0.12);

  --danger: #ef4444;
  --success: #10b981;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(239, 68, 68, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-accent);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.navbar-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-links a,
.navbar-links button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.navbar-links a:hover,
.navbar-links button:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.navbar-links .btn-create {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.navbar-links .btn-create:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
  color: #fff;
}

.navbar-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  padding: 6rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ============================================
   SEARCH BOX (Home)
   ============================================ */

.search-box {
  max-width: 700px;
  margin: 0 auto 4rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.search-box-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.search-box-row .field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.search-box-row .field select,
.search-box-row .field input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  appearance: none;
  cursor: pointer;
}

.search-box-row .field select:focus,
.search-box-row .field input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-box-row .field select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.search-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

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

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

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

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.section-header a {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   LISTING CARDS GRID
   ============================================ */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: block;
}

.listing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.listing-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.listing-card-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-tertiary);
}

.listing-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.listing-card-badge.transfer {
  background: var(--transfer-bg);
  color: var(--transfer-color);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.listing-card-badge.yuk {
  background: var(--yuk-bg);
  color: var(--yuk-color);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.listing-card-body {
  padding: 1.25rem;
}

.listing-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.listing-card-route .arrow {
  color: var(--text-tertiary);
}

.listing-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.listing-card-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   PAGE LAYOUT
   ============================================ */

.page {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ============================================
   FILTER BAR (Listings page)
   ============================================ */

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.filter-bar .filter-group {
  flex: 1;
  min-width: 180px;
}

.filter-bar .filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.filter-bar .filter-group select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  cursor: pointer;
}

.filter-bar .filter-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.filter-bar .filter-group select option {
  background: var(--bg-secondary);
}

.filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.filter-actions .btn-filter {
  padding: 10px 20px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-actions .btn-clear {
  padding: 10px 20px;
  background: var(--bg-glass);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-actions .btn-clear:hover {
  background: var(--bg-glass-hover);
}

/* ============================================
   FORMS (Auth, Create Listing, Profile)
   ============================================ */

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

.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-card .form-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-group select option {
  background: var(--bg-secondary);
}

.form-group .form-hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

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

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary {
  width: 100%;
  padding: 14px;
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

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

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.form-footer a {
  color: var(--accent-primary);
  font-weight: 500;
}

/* ============================================
   TYPE SELECTOR (Transfer / Yük)
   ============================================ */

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

.type-option {
  padding: 1.25rem;
  background: var(--bg-glass);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.type-option:hover {
  border-color: var(--border-hover);
}

.type-option.active.transfer {
  border-color: var(--transfer-color);
  background: var(--transfer-bg);
}

.type-option.active.yuk {
  border-color: var(--yuk-color);
  background: var(--yuk-bg);
}

.type-option .type-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.type-option .type-label {
  font-weight: 600;
  font-size: 1rem;
}

.type-option .type-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ============================================
   IMAGE UPLOADER
   ============================================ */

.image-uploader {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.image-uploader:hover {
  border-color: var(--accent-primary);
  background: var(--accent-gradient-soft);
}

.image-uploader input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.image-uploader .upload-icon {
  font-size: 2.5rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.image-uploader .upload-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.image-uploader .upload-hint {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  margin-top: 4px;
}

.image-previews {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.image-preview {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   LISTING DETAIL PAGE
   ============================================ */

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

.detail-images {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}

.detail-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.detail-main-image-placeholder {
  width: 100%;
  height: 400px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--text-tertiary);
}

.detail-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.detail-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.detail-thumbnails img:hover,
.detail-thumbnails img.active {
  border-color: var(--accent-primary);
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
}

.detail-info h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.detail-type-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.detail-type-badge.transfer {
  background: var(--transfer-bg);
  color: var(--transfer-color);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.detail-type-badge.yuk {
  background: var(--yuk-bg);
  color: var(--yuk-color);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.detail-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--accent-gradient-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.detail-route .route-arrow {
  color: var(--text-tertiary);
  font-size: 1.25rem;
}

.detail-description {
  margin-bottom: 1.5rem;
}

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

.detail-description p {
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-wrap;
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.detail-spec {
  padding: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.detail-spec .spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.detail-spec .spec-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact sidebar */
.detail-sidebar {
  position: sticky;
  top: 90px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.contact-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.contact-user-info .contact-name {
  font-weight: 600;
  font-size: 1rem;
}

.contact-user-info .contact-date {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--success);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.contact-phone:hover {
  background: #0d9e6f;
  transform: translateY(-2px);
  color: #fff;
}

.vehicle-info-card {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.vehicle-info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vehicle-info-card .vehicle-detail {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
}

.vehicle-info-card .vehicle-detail .vd-label {
  color: var(--text-tertiary);
}

.vehicle-info-card .vehicle-detail .vd-value {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============================================
   PROFILE PAGE
   ============================================ */

.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
}

.profile-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.25);
}

.profile-sidebar-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.profile-sidebar-card .profile-email {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.profile-main h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.profile-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.profile-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-inner > p {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text-accent);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

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

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}

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

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================
   TABS
   ============================================ */

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  background: var(--bg-glass);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  width: fit-content;
}

.tab {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: inherit;
}

.tab.active {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
}

.tab:not(.active):hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

/* ============================================
   DELETE BUTTON
   ============================================ */

.btn-danger {
  padding: 10px 20px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

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

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

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a,
  .navbar-links button {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .navbar-mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

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

  .detail-sidebar {
    position: static;
  }

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

  .profile-sidebar-card {
    position: static;
  }

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

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

  .type-selector {
    grid-template-columns: 1fr;
  }

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

  .stats-section {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .navbar {
    padding: 0 1rem;
  }

  .page {
    padding: 1rem;
  }

  .form-card {
    padding: 1.5rem;
  }
}
