/* Spotify Pages — Dark Theme */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --bg: #121212;
  --surface: #181818;
  --card: #282828;
  --text: #fff;
  --text-muted: #b3b3b3;
  --green: #1db954;
  --green-hover: #1ed760;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5
}

/* Header */
header {
  background: var(--surface);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 10
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto
}

nav h1 {
  font-size: 1.25rem;
  font-weight: 700
}

.back-link {
  color: var(--green);
  text-decoration: none;
  font-weight: 600
}

.back-link:hover {
  color: var(--green-hover)
}

/* ── Homepage Collage Hero ── */
.collage-hero {
  position: relative;
  overflow: hidden;
  max-height: 340px;
  min-height: 200px;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
}

.collage-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  opacity: .7;
  transition: opacity .3s;
}

.collage-grid img:hover {
  opacity: 1
}

.collage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, .55);
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

.collage-overlay h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5)
}

.collage-overlay p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5)
}

/* ── Project Description ── */
.project-description {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px
}

.description-inner {
  background: var(--surface);
  border-radius: 12px;
  padding: 32px;
  border-left: 4px solid var(--green)
}

.description-inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--green)
}

.description-inner p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.95rem
}

.description-inner p:last-child {
  margin-bottom: 0
}

.description-inner strong {
  color: var(--text)
}

.tech-highlight {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--card);
  font-size: 0.875rem !important;
  color: var(--text-muted)
}

.tech-highlight strong {
  color: var(--green) !important
}

/* ── Navigation Cards ── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
}

.spotify-nav-card {
  background: var(--card);
  border-radius: 10px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, transform .15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spotify-nav-card:hover {
  background: #333;
  transform: translateY(-4px)
}

.nav-card-icon {
  font-size: 2rem;
  margin-bottom: 4px
}

.spotify-nav-card h3 {
  font-size: 1.05rem;
  font-weight: 700
}

.spotify-nav-card p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0
}

/* ── Main Content (Sub-pages) ── */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px
}

.page-subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 24px
}

#status {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 1.1rem
}

/* ── Album / Track Grid ── */
#album-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.album-card,
.track-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, transform .15s;
  display: flex;
  flex-direction: column;
}

.album-card:hover,
.track-card:hover {
  background: #333;
  transform: translateY(-4px)
}

.album-card img,
.track-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover
}

.album-info,
.track-info {
  padding: 12px
}

.album-info h3,
.track-info h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.album-info .artist,
.track-info .artist {
  font-size: .85rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.album-info .release-date,
.track-info .meta {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 6px
}

/* ── Artist Grid ── */
.artist-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, transform .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  gap: 8px;
}

.artist-card:hover {
  background: #333;
  transform: translateY(-4px)
}

.artist-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 4px
}

.artist-card h3 {
  font-size: .95rem;
  font-weight: 600
}

.artist-card .genres {
  font-size: .75rem;
  color: var(--green);
  font-weight: 500
}

.artist-card .popularity {
  font-size: .75rem;
  color: var(--text-muted)
}

/* ── Genre Grid ── */
.genre-card {
  background: var(--card);
  border-radius: 8px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.genre-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: capitalize
}

.genre-card .count {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green)
}

.genre-card .artists-list {
  font-size: .8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: .85rem
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.footer-links span {
  margin: 0 6px;
  color: var(--text-muted)
}

/* ── Cross-link CTA ── */
.your-spotify-cta {
  text-align: center;
  padding: 40px 24px;
  font-size: 1rem;
  color: var(--text-muted)
}

.your-spotify-cta a {
  font-weight: 600
}

/* ── Admin Panel ── */
.admin-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 16px;
}

.admin-login-btn {
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid var(--green);
  color: var(--green);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-login-btn:hover {
  background: var(--green);
  color: #000;
  transform: scale(1.02);
}

.admin-status {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-status-connected {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Policy Banner ── */
.policy-banner {
  background: rgba(29, 185, 84, .12);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 16px 24px;
  margin: 16px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap
}

.policy-banner p {
  color: var(--text);
  font-size: .95rem;
  margin: 0
}

.policy-ack-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: background .25s ease;
  white-space: nowrap
}

.policy-ack-btn:hover {
  background: #1ed760
}

/* ── Auth Error Banner ── */
.auth-error-banner {
  background: rgba(220, 53, 69, .15);
  border: 1px solid #dc3545;
  border-radius: 8px;
  padding: 12px 24px;
  margin: 16px 24px 0;
  color: #ff6b7a;
  font-size: .95rem;
  text-align: center
}

/* ── Data Management ── */
.data-management {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.data-management h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--heading)
}

.data-management p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .95rem
}

.delete-data-btn {
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: background .25s ease
}

.delete-data-btn:hover {
  background: #c82333
}

/* ── Responsive ── */
@media(max-width:768px) {
  .collage-grid {
    grid-template-columns: repeat(6, 1fr)
  }

  .collage-overlay h2 {
    font-size: 1.8rem
  }

  .nav-cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px
  }
}

@media(max-width:600px) {

  #album-grid,
  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px
  }

  .collage-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .collage-overlay h2 {
    font-size: 1.4rem
  }

  .nav-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .album-info,
  .track-info {
    padding: 8px
  }

  .album-info h3,
  .track-info h3 {
    font-size: .85rem
  }

  .artist-card img {
    width: 90px;
    height: 90px
  }
}

/* ── Auth Controls ───────────────────────────────── */
.auth-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.spotify-login-btn {
  display: inline-block;
  background: var(--green);
  color: #000;
  padding: 8px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s;
}

.spotify-login-btn:hover {
  background: var(--green-hover);
}

.spotify-logout-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .85rem;
  padding: 6px 14px;
  border: 1px solid var(--text-muted);
  border-radius: 20px;
  transition: color .2s, border-color .2s;
}

.spotify-logout-btn:hover {
  color: var(--text);
  border-color: var(--text);
}

#user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

#user-name {
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
}

.login-hint {
  display: block;
  font-size: .75rem;
  color: var(--green);
  margin-top: 4px;
  font-style: italic;
}

.auth-error-banner {
  background: #e74c3c;
  color: #fff;
  padding: 12px 24px;
  text-align: center;
  font-size: .9rem;
  border-radius: 6px;
  margin: 16px 24px 0;
}

/* ── Auth Prompt (subpages) ──────────────────────── */
.auth-prompt {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}

.auth-prompt p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.auth-prompt .spotify-login-btn {
  font-size: 1rem;
  padding: 12px 32px;
}

/* ── Invite Notice + Demo Counter ─────────────── */
.invite-notice {
  padding: 32px 24px;
  text-align: center;
}

.invite-notice-inner {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #333;
}

.invite-notice h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.invite-notice p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.demo-counter {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
}

.counter-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Access Request Form ──────────────────────── */
.access-request-section {
  padding: 24px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.access-request-section h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.access-request-section>p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 20px;
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #444;
  background: var(--card);
  color: var(--text);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
}

.form-group select option {
  background: var(--card);
  color: var(--text);
}

.form-message {
  font-size: .9rem;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 4px;
}

.form-message.success {
  background: rgba(29, 185, 84, .15);
  color: var(--green);
  border: 1px solid var(--green);
}

.form-message.error {
  background: rgba(231, 76, 60, .15);
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

/* ── Playlist Suggestions ─────────────────────── */
.playlist-section {
  padding: 32px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.playlist-section h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.playlist-section>p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 24px;
}

.playlists-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.playlist-group {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #333;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.playlist-header h4 {
  font-size: 1.1rem;
  color: var(--text);
}

.playlist-desc {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: 2px;
}

.save-playlist-btn {
  background: var(--green);
  color: #000;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}

.save-playlist-btn:hover {
  background: var(--green-hover);
  transform: scale(1.03);
}

.save-playlist-btn.saved {
  background: #333;
  color: var(--green);
}

.save-playlist-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.playlist-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
}

.playlist-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .2s;
}

.playlist-track:hover {
  background: var(--card);
}

.track-thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.track-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.track-name {
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-link {
  color: var(--green);
  text-decoration: none;
  font-size: 1.1rem;
  flex-shrink: 0;
  padding: 4px 8px;
}

.track-link:hover {
  color: var(--green-hover);
}

/* ── Country Stats ────────────────────────────── */
.country-stats-section {
  padding: 32px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.country-stats-section h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.country-stats-section>p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 24px;
}

.country-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.country-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #333;
}

.country-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.country-users {
  font-size: .8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.country-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.genre-tag {
  background: var(--card);
  color: var(--green);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 500;
}

.muted-text {
  color: var(--text-muted);
  font-size: .9rem;
}

.loading-text {
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
}

/* ── Playlist Preferences ────────────────────────── */
.playlist-prefs {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #333;
}

.pref-group {
  margin-bottom: 20px;
}

.pref-group.pref-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pref-label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pref-inline .pref-label {
  margin-bottom: 0;
}

.pref-hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: .8rem;
}

/* Timeframe pills */
.timeframe-pills {
  display: flex;
  gap: 8px;
}

.timeframe-pill {
  background: var(--card);
  color: var(--text-muted);
  border: 1px solid #444;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.timeframe-pill:hover {
  border-color: var(--green);
  color: var(--text);
}

.timeframe-pill.active {
  background: var(--green);
  color: #000;
  border-color: var(--green);
  font-weight: 600;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #555;
  border-radius: 26px;
  transition: .3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .3s;
}

.toggle-switch input:checked+.toggle-slider {
  background: var(--green);
}

.toggle-switch input:checked+.toggle-slider::before {
  transform: translateX(22px);
}

/* Genre selector */
.genre-selector {
  position: relative;
}

.genre-search {
  width: 100%;
  background: var(--card);
  color: var(--text);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .85rem;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}

.genre-search:focus {
  border-color: var(--green);
}

.genre-search::placeholder {
  color: var(--text-muted);
}

.genre-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid #444;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
}

.genre-option {
  padding: 8px 14px;
  font-size: .85rem;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}

.genre-option:hover {
  background: var(--surface);
  color: var(--green);
}

.selected-genres-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.genre-tag.removable {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: .8rem;
  font-weight: 500;
}

.genre-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 2px;
  line-height: 1;
}

.genre-remove:hover {
  color: #ff6b6b;
}

/* Pref action buttons */
.pref-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.save-prefs-btn {
  background: var(--green);
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.save-prefs-btn:hover {
  background: var(--green-hover);
  transform: scale(1.03);
}

.save-prefs-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.regenerate-btn {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.regenerate-btn:hover {
  background: rgba(29, 185, 84, 0.1);
}

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

/* Playlist stats */
.playlist-stats {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #333;
}

.stats-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--text-muted);
}

.stat-item strong {
  color: var(--text);
}

.stat-supplement {
  color: var(--green);
  font-style: italic;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
  .demo-counter {
    gap: 24px;
  }

  .counter-number {
    font-size: 1.6rem;
  }

  .playlist-header {
    flex-direction: column;
  }

  .country-cards {
    grid-template-columns: 1fr;
  }

  .timeframe-pills {
    flex-wrap: wrap;
  }

  .pref-group.pref-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .pref-actions {
    flex-direction: column;
  }

  .save-prefs-btn,
  .regenerate-btn {
    width: 100%;
    text-align: center;
  }
}