:root {
  --purple-dark:   #2f2046;
  --purple-main:   #5f3f8d;
  --purple-mid:    #764fb0;
  --purple-light:  #b6a1d5;
  --purple-pale:   #ede8f4;
  --white:         #ffffff;
  --text-dark:     #1a1025;
  --text-mid:      #4f3575;
  --bg-page:       #f0edf8;
  --border:        #e4dcef;
  --danger:        #c0392b;
  --danger-bg:     #fce8e8;
  --success:       #2e7d32;
  --success-bg:    #e8f5e9;

  --font-display:  'Unbounded', sans-serif;
  --font-body:     'Geologica', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-card: 0 4px 24px #5f3f8d10;
  --shadow-hover: 0 12px 32px #5f3f8d18;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-page);
  min-height: 100vh;
}

/* ════════════════════════════════════════════════
   УТИЛИТЫ
════════════════════════════════════════════════ */
.hidden { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary   { background: var(--purple-main); color: var(--white); }
.btn-primary:hover { background: var(--purple-mid); box-shadow: 0 8px 24px #764fb033; }
.btn-secondary { background: var(--purple-pale); color: var(--text-mid); }
.btn-secondary:hover { background: #dbd0ea; }
.btn-danger    { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: #f5c6c6; }
.btn-sm { padding: 7px 14px; font-size: 11px; }
.btn-full { width: 100%; justify-content: center; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: #faf9fc;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 4px #764fb018;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 80px; }

.msg {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  border-left: 3px solid;
}
.msg-error   { background: var(--danger-bg);  color: var(--danger);  border-color: #e05252; }
.msg-success { background: var(--success-bg); color: var(--success); border-color: #4caf50; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  background: var(--purple-pale);
  color: var(--text-mid);
}
.tag-green  { background: #e8f5e9; color: #2e7d32; }
.tag-orange { background: #fff3e0; color: #e65100; }
.tag-blue   { background: #e3f2fd; color: #1565c0; }
.tag-yellow { background: #f8f8bf; color: #836d0c;}
.tag-purple { background: #f3e5f5; color: #7b1fa2; }

.page-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* Таблица */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 16px;
  border-bottom: 2px solid var(--border);
}
td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #faf9fc; }

/* Модальное окно */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #1a102566;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px #00000044;
  animation: slideUp 0.2s cubic-bezier(.16,1,.3,1);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Чекбокс список */
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 14px;
}
.check-item:hover { border-color: var(--purple-light); background: #faf9fc; }
.check-item.selected { border-color: var(--purple-main); background: var(--purple-pale); }

.check-item input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  accent-color: var(--purple-main) !important;
  cursor: pointer;
}

/* Пустое состояние */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--purple-light);
}
.empty-state-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state-text { font-size: 14px; }

/* Лоадер */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--purple-pale);
  border-top-color: var(--purple-main);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed; inset: 0;
  background: var(--bg-page);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  flex-direction: column; gap: 16px;
}
.loading-overlay .spinner { width: 32px; height: 32px; border-width: 3px; }
.loading-text {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--purple-light);
  letter-spacing: 1px;
}

/* ════════════════════════════════════════════════
   СТРАНИЦА ЛОГИНА
════════════════════════════════════════════════ */
#page-login {
  min-height: 100vh;
  background: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
#page-login::before {
  content: '';
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #472f6a44 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
#page-login::after {
  content: '';
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #764fb033 0%, transparent 70%);
  bottom: -100px; left: -50px;
  pointer-events: none;
}
.login-wrap {
  display: flex;
  width: 820px;
  min-height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px #00000055;
  position: relative;
  z-index: 1;
  animation: slideUp 0.5s cubic-bezier(.16,1,.3,1) both;
}
.login-left {
  width: 320px;
  background: var(--purple-main);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.login-left::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 36px solid #ffffff11;
  bottom: -70px; right: -70px;
}
.login-left::after {
  content: '';
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 26px solid #ffffff0d;
  top: 36px; right: 16px;
}
.logo-box {
  background: var(--white);
  padding: 9px 16px;
  border-radius: 8px 8px 8px 0;
  position: relative;
  display: inline-block;
}
.logo-box::after {
  content: '';
  position: absolute;
  bottom: -9px; left: 0;
  border-width: 9px 9px 0 0;
  border-style: solid;
  border-color: var(--white) transparent transparent transparent;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-main);
  letter-spacing: -0.5px;
}
.login-tagline {
  color: #ffffffcc;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  margin-top: auto;
  padding-top: 40px;
}
.login-tagline strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 8px;
  line-height: 1.3;
}
.login-right {
  flex: 1;
  background: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.login-sub {
  color: var(--purple-light);
  font-size: 13px;
  margin-bottom: 32px;
}

/* ════════════════════════════════════════════════
   ТОПБАР
════════════════════════════════════════════════ */
#topbar {
  height: 56px;
  background: var(--purple-dark);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px #00000033;
}
.topbar-logo {
  background: var(--white);
  padding: 7px 13px;
  border-radius: 7px 7px 7px 0;
  position: relative;
  display: inline-block;
  margin-right: 8px;
  cursor: pointer;
  text-decoration: none;
}
.topbar-logo::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 0;
  border-width: 7px 7px 0 0;
  border-style: solid;
  border-color: var(--white) transparent transparent transparent;
}
.topbar-logo .logo-text {
  font-size: 13px;
  color: var(--purple-main);
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-btn {
  color: #ffffffaa;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.nav-btn:hover, .nav-btn.active {
  background: #ffffff15;
  color: var(--white);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.topbar-user {
  color: #ffffffaa;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-role-badge {
  background: #ffffff15;
  color: #ffffffcc;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.topbar-logout {
  color: #ffffff55;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  transition: background 0.15s, color 0.15s;
}
.topbar-logout:hover { background: #ff444422; color: #ff8888; }

/* ════════════════════════════════════════════════
   ОСНОВНОЙ LAYOUT
════════════════════════════════════════════════ */
#app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.app-content {
  flex: 1;
  padding: 28px 32px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════
   ПРОЕКТЫ
════════════════════════════════════════════════ */
.projects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.projects-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  transition: all 0.15s;
  font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--purple-main);
  background: var(--purple-pale);
  color: var(--purple-main);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.project-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}
.project-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lang-pair {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-main);
  background: var(--purple-pale);
  padding: 3px 10px;
  border-radius: 20px;
}
.project-card-footer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--purple-light);
  flex-wrap: wrap;
}
.project-stats { display: flex; gap: 14px; }

/* ════════════════════════════════════════════════
   СТРАНИЦА ПРОЕКТА
════════════════════════════════════════════════ */
.project-header {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.project-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.project-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}
.project-header-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.project-header-actions { display: flex; gap: 8px; }
.project-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.project-info-item label {
  font-size: 11px;
  font-weight: 500;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 4px;
}
.project-info-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Файлы в проекте */
.files-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: box-shadow 0.15s;
}
.file-row:hover { box-shadow: var(--shadow-card); }
.file-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--purple-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.file-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}
.file-meta {
  font-size: 12px;
  color: var(--purple-light);
}
.file-actions { display: flex; gap: 6px; }
.progress-bar-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--purple-main);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ════════════════════════════════════════════════
   РЕДАКТОР СЕГМЕНТОВ
════════════════════════════════════════════════ */
.editor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.editor-sidebar {
  position: sticky;
  top: 76px;
}
.segment-list { display: flex; flex-direction: column; gap: 6px; }
.segment-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--white);
}
.segment-item:hover { border-color: var(--purple-light); }
.segment-item.active { border-color: var(--purple-main); background: var(--purple-pale); }
.segment-item.status-approved { border-left: 3px solid #4caf50; }
.segment-item.status-draft { border-left: 3px solid var(--purple-main); }
.segment-source {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.segment-target {
  font-size: 12px;
  color: var(--purple-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}
.segment-badges { display: flex; gap: 4px; margin-top: 6px; }

/* Панель перевода */
.translate-panel { display: flex; flex-direction: column; gap: 12px; }
.translate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.translate-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.source-text-box {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  padding: 14px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
}
.target-textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #faf9fc;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.target-textarea:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 4px #764fb018;
  background: var(--white);
}
.translate-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-match-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 8px;
}
.tm-match-card:hover { border-color: var(--purple-main); background: var(--purple-pale); }
.tm-match-score {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-main);
  margin-bottom: 4px;
}
.tm-match-source { font-size: 12px; color: var(--text-mid); margin-bottom: 3px; }
.tm-match-target { font-size: 12px; color: var(--text-dark); font-weight: 500; }

/* ════════════════════════════════════════════════
   TM СТРАНИЦА
════════════════════════════════════════════════ */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.tm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.tm-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tm-card-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.tm-card-meta { font-size: 12px; color: var(--purple-light); margin-bottom: 12px; }
.tm-card-count {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--purple-main);
}
.tm-card-count-label { font-size: 11px; color: var(--purple-light); }

/* ════════════════════════════════════════════════
   ГЛОССАРИИ
════════════════════════════════════════════════ */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

/* ════════════════════════════════════════════════
   ПОЛЬЗОВАТЕЛИ (admin)
════════════════════════════════════════════════ */
.users-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Бейджи ролей */
.role-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.role-admin      { background: #fce8e8; color: #c0392b; }
.role-pm         { background: #e3f2fd; color: #1565c0; }
.role-translator { background: #e8f5e9; color: #2e7d32; }

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.filter-select {
    padding: 7px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dark);
    background: #faf9fc;
    outline: none;
}

.upload-drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    color: var(--purple-light);
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    margin-bottom: 16px;
}

.upload-queue {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
}