﻿/* â”€â”€â”€ Design tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

:root {
  --bg:          #0f1117;
  --bg-surface:  #16181f;
  --bg-elevated: #1d2028;
  --bg-hover:    #22252e;
  --bg-input:    #1a1d25;

  --border:      #2a2d38;
  --border-focus:#4f6ef7;

  --text-primary:   #f0f2f8;
  --text-secondary: #8b91a8;
  --text-muted:     #555b70;

  --accent:        #4f6ef7;
  --accent-hover:  #3d5ee8;
  --accent-soft:   rgba(79, 110, 247, 0.12);
  --accent-glow:   rgba(79, 110, 247, 0.25);

  --success:     #22c55e;
  --danger:      #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --warning:     #f59e0b;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.5);

  --font-sans: 'DM Sans', 'SÃ¶hne', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

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

/* â”€â”€â”€ Reset & base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

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

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

html {
  scrollbar-color: var(--border) var(--bg);
  scrollbar-width: thin;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  padding: 40px 20px 80px;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.center-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

/* â”€â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.container {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

.container--narrow {
  max-width: 400px;
}

/* â”€â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-align: center;
}

h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 16px;
}

h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* â”€â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

/* â”€â”€â”€ Divider â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* â”€â”€â”€ Inputs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

input,
select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input {
  margin-bottom: 10px;
}

input:focus,
select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

input::placeholder {
  color: var(--text-muted);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555b70' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* â”€â”€â”€ Search â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.search-wrapper {
  position: relative;
  margin: 14px 0 6px;
}

.search-wrapper input {
  padding-left: 38px;
  background: var(--bg-input);
  margin-bottom: 0;
}

.search-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

/* â”€â”€â”€ Sort â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.sort-row {
  margin: 10px 0 8px;
}

/* â”€â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

button {
  width: 100%;
  padding: 11px 18px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 8px;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  background: var(--accent);
  color: #fff;
  letter-spacing: -0.1px;
}

button:hover:not(:disabled) {
  background: var(--accent-hover);
}

button:active:not(:disabled) {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#registerBtn,
#loginBtn,
#addMovieBtn,
#addTvShowBtn,
#addCarBtn,
#addBookBtn,
#showMoviesBtn,
#showTvShowsBtn,
#showCarsBtn,
#showBooksBtn,
#fetchCarModelsBtn,
#searchOpenLibraryBtn {
  background: var(--accent);
  color: #fff;
}

#showMoviesBtn,
#showTvShowsBtn,
#showCarsBtn,
#showBooksBtn {
  margin-bottom: 0;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

#showMoviesBtn:hover:not(:disabled),
#showTvShowsBtn:hover:not(:disabled),
#showCarsBtn:hover:not(:disabled),
#showBooksBtn:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--text-primary);
}

#googleLoginBtn {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#googleLoginBtn:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

#logoutBtn {
  width: auto;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 13px;
  margin-bottom: 0;
  border-radius: var(--radius-full);
}

#logoutBtn:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border-color: var(--text-muted);
}

#clearAuthorResultsBtn {
  width: auto;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  margin-bottom: 0;
}

#clearAuthorResultsBtn:hover:not(:disabled) {
  background: var(--bg-hover);
}

#connectSpotifyBtn {
  background: #1db954;
  color: #fff;
}
#connectSpotifyBtn:hover:not(:disabled) {
  background: #18a348;
}

/* â”€â”€â”€ User bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.user-bar h2 {
  margin-bottom: 0;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.user-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#userInfo {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.top-nav__link,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.top-nav__link {
  padding: 9px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.top-nav__link:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--text-primary);
}

.top-nav__link.is-active {
  background: var(--accent-soft);
  border-color: rgba(79, 110, 247, 0.4);
  color: var(--text-primary);
}

.card-link {
  width: 100%;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
}

.card-link:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
}

/* â”€â”€â”€ Dashboard â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 20px;
}

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

.mini-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color var(--transition);
}

.mini-card:hover {
  border-color: var(--text-muted);
}

.mini-card h3 {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mini-card > p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 4px 0 14px;
  line-height: 1.55;
}

/* â”€â”€â”€ Stats section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

#statsSection {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

#statsSection h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#statsSection .dashboard-grid {
  margin: 0;
  gap: 8px;
}

#statsSection .mini-card {
  background: var(--bg-surface);
  padding: 14px 16px;
}

#statsSection .mini-card h3 {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

#statsSection .mini-card p {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
}

.share-section {
  margin-bottom: 20px;
}

.share-intro,
.share-hint,
.share-meta,
.share-error-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.share-hint {
  margin-top: 8px;
  color: var(--text-muted);
}

.share-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.share-link-row input {
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 12px;
}

.share-link-row button {
  width: auto;
  margin-bottom: 0;
}

.share-page-header {
  margin-bottom: 20px;
}

.share-page-header h1 {
  margin-bottom: 8px;
}

.share-actions {
  margin-top: 20px;
}

/* â”€â”€â”€ Subsections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.subsection {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-header h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section-header--spaced {
  margin-top: 20px;
}

/* â”€â”€â”€ Add rows â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.add-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.add-row input,
.add-row select {
  margin-bottom: 0;
}

.add-row button {
  white-space: nowrap;
  width: auto;
  margin-bottom: 0;
  padding: 10px 16px;
}

.add-row--movie {
  grid-template-columns: 1fr auto;
}

.car-builder {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.add-row--cars-top {
  grid-template-columns: 1fr 1fr 1fr;
}

.add-row--cars-bottom {
  grid-template-columns: 1fr auto;
}

.manual-model-wrapper {
  margin-top: 4px;
}

.manual-model-wrapper label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.manual-model-wrapper input {
  margin-bottom: 0;
}

.author-results-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* â”€â”€â”€ List items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

li {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition);
}

li:hover {
  border-color: var(--text-muted);
}

li:last-child {
  margin-bottom: 0;
}

.item-content {
  flex: 1;
  min-width: 0;
}

.li-text {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.li-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.5;
}

li .btn-group {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
}

li button {
  width: auto;
  padding: 5px 12px;
  font-size: 12px;
  margin-bottom: 0;
  border-radius: 6px;
}

/* Button variants */
.btn-edit {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-edit:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-delete {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.btn-delete:hover:not(:disabled) {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.2);
}

.btn-move {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(79, 110, 247, 0.2);
}
.btn-move:hover:not(:disabled) {
  background: rgba(79, 110, 247, 0.2);
}

.btn-api {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-api:hover:not(:disabled) {
  background: var(--accent-hover);
}
.btn-api:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

li.no-results {
  font-size: 13px;
  color: var(--text-muted);
  justify-content: center;
  background: transparent;
  border: 1px dashed var(--border);
  font-style: normal;
  padding: 20px;
}

/* â”€â”€â”€ Progress bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.progress-wrap {
  margin-top: 10px;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
}

.progress-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: 0.02em;
}

/* â”€â”€â”€ Inline controls â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.inline-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  align-items: center;
}

.inline-select {
  width: auto;
  min-width: 120px;
  margin-bottom: 0;
  padding: 6px 30px 6px 10px;
  font-size: 12px;
  background-size: 10px;
  background-position: right 10px center;
}

.btn-small {
  padding: 6px 10px;
  font-size: 12px;
  width: auto;
  margin-bottom: 0;
}

/* â”€â”€â”€ Message â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

#message {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  margin-top: 20px;
  min-height: 20px;
  color: var(--text-secondary);
}

/* â”€â”€â”€ Loading overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  min-width: 200px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.loading-box p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border: 2.5px solid var(--border);
  border-top: 2.5px solid var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

/* â”€â”€â”€ Spotify section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

#spotifySection {
  opacity: 0.8;
}

#spotifySection .section-header h3::before {
  content: "â™«  ";
  opacity: 0.5;
}

/* â”€â”€â”€ Utility â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hidden {
  display: none !important;
}

/* â”€â”€â”€ Scrollbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* â”€â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 640px) {
  body {
    padding: 20px 16px 60px;
  }

  .user-bar-actions,
  .top-nav {
    width: 100%;
  }

  .add-row,
  .add-row--movie,
  .add-row--cars-top,
  .add-row--cars-bottom,
  .share-link-row {
    grid-template-columns: 1fr;
  }

  .add-row button,
  .add-row--movie button,
  .add-row--cars-top button,
  .add-row--cars-bottom button,
  .share-link-row button {
    width: 100%;
  }

  .author-results-actions {
    justify-content: stretch;
  }

  #clearAuthorResultsBtn {
    width: 100%;
  }

  li {
    flex-direction: column;
    align-items: stretch;
  }

  li .btn-group {
    justify-content: flex-start;
  }

  .inline-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-select,
  .btn-small {
    width: 100%;
  }

  #statsSection .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  #statsSection .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
