/* mobile.css */
@media (max-width: 768px) {

  /* Stack layout vertically instead of side-by-side */
  body {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  /* Sidebar moves to the top and goes full width */
  .sidebar {
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: none; /* Slide-in from right looks wrong on top */
  }

  /* Shrink the sidebar header a bit */
  .sidebar-header {
    padding: 16px 20px;
    font-size: 1.2rem;
  }

  /* Account tab: no longer needs to be pinned to the bottom */
  .bottom-tab {
    margin-top: 0;
  }

  /* Main content fills the screen */
  .content {
    padding: 20px 16px;
    align-items: stretch;
  }

  /* Card takes full width with tighter padding */
  .content-card {
    padding: 24px 20px;
    border-radius: 12px;
    max-width: 100%;
  }

  .content-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .description {
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* Stack labels and selects vertically */
  .content-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    margin: 14px 0;
  }

  /* Selects go full width so they're easy to tap */
  .select {
    width: 100%;
    font-size: 1rem;
    padding: 12px 42px 12px 12px;
  }

  /* Remove the left margin on the second label (City / Location row) */
  label[style*="margin-left"] {
    margin-left: 0 !important;
  }

  /* Language dropdown — keep it from overlapping anything */
  .lang-dropdown {
    position: static;
    padding: 10px 16px;
    background: #1f2937;
    display: flex;
    justify-content: flex-end;
  }
}