:root {
  color-scheme: light;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
}

body {
  margin: 0;
  background: #f8fafc;
}

header {
  background: #0f172a;
  color: #ffffff;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #ffffff;
}

main {
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

/* --- Chat Page Specifics --- */
.chat-page main {
  padding: 0;
  max-width: none;
  height: calc(100vh - 64px);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.chat-container {
  max-width: 900px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 24px;
}

.chat-header-title {
  text-align: center;
  padding: 16px 0 8px;
  flex-shrink: 0;
}

.chat-header-title h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.chat-header-title p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

/* Messages start from top, scroll naturally */

.chat-message {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 85%;
  position: relative;
  animation: messageSlide 0.2s ease-out;
}

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

.chat-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.chat-message.assistant {
  align-self: flex-start;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-message.assistant ul {
  margin: 12px 0 0 0;
  padding-left: 20px;
}

.chat-message.assistant li {
  margin: 8px 0;
  color: #475569;
}

.chat-message.assistant li::marker {
  color: #2563eb;
}

/* Welcome message specific styling */
.chat-message.assistant:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chat-message.assistant:first-child ul {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 12px 12px 32px;
  margin-top: 16px;
}

.chat-message.assistant:first-child li {
  color: #1e40af;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.chat-message.assistant:first-child li:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Thinking/loading indicator */
.chat-message.assistant.thinking {
  color: #64748b;
  font-style: italic;
}

.chat-message.assistant.thinking::after {
  content: '...';
  animation: thinking-dots 1.4s infinite ease-in-out;
  margin-left: 2px;
}

@keyframes thinking-dots {
  0%, 20% { opacity: 0.2; }
  50% { opacity: 1; }
  80%, 100% { opacity: 0.2; }
}

/* Live logs during thinking */
.thinking-text {
  display: inline;
}

.live-logs {
  margin-top: 12px;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}

.live-log-item {
  padding: 6px 10px;
  background: #f1f5f9;
  border-radius: 6px;
  margin-top: 6px;
  color: #475569;
  animation: logFadeIn 0.3s ease-out;
  word-break: break-word;
}

@keyframes logFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tool call logs */
.chat-tool-logs {
  margin-bottom: 16px;
  font-size: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.chat-tool-logs summary {
  padding: 8px 12px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  font-weight: 500;
}

.chat-tool-logs summary:hover {
  background: #f1f5f9;
}

.chat-tool-logs-content {
  padding: 12px;
  background: #fafbfc;
  max-height: 300px;
  overflow-y: auto;
}

.chat-tool-log {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: #475569;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
  word-break: break-all;
}

.chat-tool-log:last-child {
  border-bottom: none;
}

/* Sources label */
.chat-sources-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}

.chat-form {
  padding: 12px 16px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  position: relative;
}

.chat-input-wrapper {
  position: relative;
  width: 100%;
}

.chat-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 48px 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  resize: none;
  min-height: 44px;
  height: 44px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s;
}

.chat-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}

.chat-form textarea::placeholder {
  color: #94a3b8;
}

.chat-form button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-form button:hover {
  background: #1d4ed8;
}

.chat-form button:active {
  transform: scale(0.98);
}

.chat-sources {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chat-source-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px 8px 8px;
  gap: 12px;
  text-decoration: none;
  color: #475569;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.chat-source-card:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  color: #0f172a;
}

.chat-source-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.chat-source-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-source-addr {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.875rem;
}

.chat-source-ts {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --- Utility / Shared --- */
.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

button {
  font-family: inherit;
}

/* --- Filters --- */
.filters {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.filters label {
  font-size: 0.875rem;
  color: #475569;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filters input,
.filters select {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  color: #0f172a;
  min-width: 120px;
  transition: border-color 0.2s;
}

.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filters .button {
  padding: 9px 16px;
  border-radius: 8px;
  border: 0;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.filters .button:hover {
  background: #1d4ed8;
}

.filters .button.secondary {
  background: #f1f5f9;
  color: #475569;
}

.filters .button.secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* --- Layout Grid --- */
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  position: relative;
  align-items: start;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.stat-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
}

.stat-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 8px;
  color: #0f172a;
  line-height: 1;
}

/* --- Listings List --- */
.listings-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

a.listing-card {
  text-decoration: none;
  color: inherit;
}

.listing-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.card-image-wrapper {
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.listing-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.card-address {
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #0f172a;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

.card-badge.sale { color: #026aa2; }
.card-badge.rent { color: #047857; }
.card-badge.sold { color: #b45309; }

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}

.pagination button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
}

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

/* --- Drawer (Slide-Over) --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.close-btn:hover { color: #0f172a; }

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}
.detail-section:first-child { border-top: 0; padding-top: 0; }

.detail-section h3 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Tables in drawer */
.detail-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 400px; /* Force scroll on small screens */
}
th, td {
  border: 1px solid #e2e8f0;
  padding: 8px;
  text-align: left;
  border: none; /* Reset individual borders if using wrapper, or keep for grid */
  border-bottom: 1px solid #e2e8f0;
}
th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
  position: sticky;
  top: 0;
}
tr:last-child td { border-bottom: none; }

.snapshot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.snapshot-list li {
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.snapshot-list li strong {
  color: #0f172a;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 1024px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile responsive for chat */
@media (max-width: 768px) {
  header {
    padding: 0 16px;
    height: 56px;
  }

  .brand {
    font-size: 1.1rem;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 0.875rem;
  }

  .chat-page main {
    height: calc(100vh - 56px);
  }

  .chat-log {
    padding: 20px 16px;
    gap: 16px;
  }

  .chat-message {
    max-width: 90%;
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .chat-message.assistant:first-child {
    max-width: 95%;
  }

  .chat-form {
    padding: 16px;
  }

  .chat-form textarea {
    padding: 14px 50px 14px 16px;
    min-height: 50px;
    height: 50px;
    font-size: 0.9rem;
    border-radius: 14px;
  }

  .chat-form button {
    width: 36px;
    height: 36px;
    right: 7px;
    bottom: 7px;
    border-radius: 10px;
  }

  .chat-sources {
    gap: 8px;
  }

  .chat-source-card {
    padding: 6px 10px 6px 6px;
    gap: 8px;
    border-radius: 10px;
  }

  .chat-source-card img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  .chat-source-addr {
    font-size: 0.8rem;
  }

  .chat-source-ts {
    font-size: 0.7rem;
  }

  /* Browse page mobile */
  main {
    padding: 16px;
  }

  .filters {
    padding: 12px;
    gap: 12px;
  }

  .filters label {
    font-size: 0.8rem;
  }

  .filters input,
  .filters select {
    min-width: 100px;
    padding: 6px 10px;
    font-size: 0.875rem;
  }

  .listings-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-card .value {
    font-size: 1.25rem;
  }
}

/* --- Login Page --- */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.login-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
}

.login-header p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.95rem;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.login-form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-bottom: 16px;
  min-height: 1.25em;
}

.login-button {
  width: 100%;
  padding: 14px;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.login-button:hover {
  background: #2563eb;
}

/* --- Chat Sidebar --- */
.chat-page-with-sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.chat-page-with-sidebar > header {
  flex-shrink: 0;
}

.chat-page-with-sidebar > .chat-sidebar,
.chat-page-with-sidebar > .chat-main-area {
  /* These are wrapped in a flex container below header */
}

/* Wrapper for sidebar + main (below header) */
.chat-page-with-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 280px 1fr;
  height: 100vh;
}

.chat-page-with-sidebar > header {
  grid-column: 1 / -1;
}

.chat-sidebar {
  width: 280px;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid #1e293b;
}

.new-chat-btn {
  width: 100%;
  padding: 12px 16px;
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.new-chat-btn:hover {
  background: #334155;
}

.conversation-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.conversation-item {
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #94a3b8;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 4px;
}

.conversation-item:hover {
  background: #1e293b;
  color: #e2e8f0;
}

.conversation-item.active {
  background: #1e40af;
  color: #ffffff;
}

.conversation-title {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-date {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 4px;
}

.sidebar-user {
  padding: 12px 16px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.85rem;
}

.logout-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.logout-btn:hover {
  color: #ef4444;
}

.chat-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Adjust chat page for sidebar */

.chat-page-with-sidebar .chat-container {
  height: 100%;
}

/* Share button */
.share-btn {
  background: none;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* --- Bookmark Heart Icon --- */
.bookmark-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.bookmark-btn:hover {
  transform: scale(1.1);
}

.bookmark-btn svg {
  width: 24px;
  height: 24px;
  stroke: #64748b;
  fill: none;
  transition: fill 0.2s, stroke 0.2s;
}

.bookmark-btn.bookmarked svg {
  stroke: #ef4444;
  fill: #ef4444;
}

/* --- Bookmarks Page --- */
.bookmarks-page main {
  max-width: 1200px;
}

.bookmarks-header {
  margin-bottom: 24px;
}

.bookmarks-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
}

.bookmarks-header p {
  margin: 8px 0 0;
  color: #64748b;
}

.bookmarks-empty {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.bookmarks-empty h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #334155;
}

/* Nav user info */
nav .user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav .user-name {
  color: #94a3b8;
  font-size: 0.875rem;
}

nav .nav-logout {
  color: #94a3b8;
  font-size: 0.875rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

nav .nav-logout:hover {
  color: #ef4444;
}
