.converter-panel { display: grid; gap: 21px; overflow: visible; }
.converter-panel::before { content: none; }
.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  padding: 30px 22px;
  overflow: hidden;
  border: 1px dashed rgba(255, 191, 0, 0.58);
  border-radius: var(--radius-md);
  background: #0A0B0D;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--gcg-gold-outline-light); background: #0E0F11; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-icon, .upload-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 14px;
  border: 1px solid var(--line-gold);
  border-radius: 16px;
  background: rgba(255, 191, 0, 0.11);
  color: var(--gcg-gold-main);
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: none;
}
.drop-title { color: #FFFFFF; font-family: var(--font-title); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.drop-subtitle { margin: 8px 0 18px; color: var(--muted); font-size: 0.86rem; }
.choose-button { pointer-events: none; }
.settings-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.setting-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 140px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #15171A;
}
.setting-card label, .setting-card strong { color: #FFFFFF; font-weight: 800; }
.setting-card small { color: var(--muted); font-size: 0.72rem; }
.setting-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.setting-head output { color: var(--gcg-gold-main); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--gcg-gold-main); }
.text-input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); outline: none; background: #0E1012; color: var(--text); }
.text-input:focus { border-color: var(--line-gold-strong); box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.08); }
.transparency-setting { grid-template-columns: 1fr auto; align-items: center; cursor: pointer; }
.transparency-setting > span:first-child { display: flex; flex-direction: column; }
.switch { position: relative; flex: 0 0 auto; width: 50px; height: 28px; }
.switch input { position: absolute; opacity: 0; }
.switch-slider { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 999px; background: rgba(140, 151, 154, 0.22); transition: 0.2s ease; }
.switch-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gcg-grey-light); transition: 0.2s ease; }
.switch input:checked + .switch-slider { border-color: var(--gcg-gold-main); background: var(--gcg-gold-main); }
.switch input:checked + .switch-slider::after { transform: translateX(22px); background: var(--gcg-black); }
.actions-row { display: flex; flex-wrap: wrap; gap: 11px; }
.queue-section { padding: 28px 0 18px; }
.queue-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.queue-heading h2 { margin: 0; color: #FFFFFF; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1; }
.count-pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.75rem; font-weight: 800; }
.empty-state { display: grid; place-items: center; min-height: 180px; padding: 28px; border-radius: var(--radius-md); text-align: center; background: #101214; }
.empty-state span { color: var(--gcg-gold-main); font-family: var(--font-title); font-size: 2.4rem; }
.empty-state p { margin: 7px 0 0; color: var(--muted); }
.results { display: grid; gap: 13px; }
.file-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  background: #111316;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.preview-wrap { position: relative; width: 160px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #08090A; }
.preview-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.file-main { min-width: 0; }
.file-name { margin: 0 0 7px; overflow-wrap: anywhere; color: #FFFFFF; font-weight: 800; }
.file-status { margin: 0 0 9px; color: var(--muted); font-size: 0.8rem; }
.file-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.meta-chip { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.69rem; }
.meta-chip.saving { border-color: rgba(255, 191, 0, 0.50); color: var(--gcg-gold-light); }
.file-actions { display: flex; flex-direction: column; gap: 8px; min-width: 130px; }
.file-actions .secondary-button, .file-actions .primary-button { min-height: 40px; padding: 8px 12px; font-size: 0.77rem; }
.progress-bar { height: 6px; margin-top: 11px; overflow: hidden; border-radius: 999px; background: rgba(140, 151, 154, 0.20); }
.progress-bar > span { display: block; width: 35%; height: 100%; border-radius: inherit; background: var(--gcg-gold-main); animation: convert-progress 1.05s linear infinite; }
.error-card { border-color: var(--gcg-gold-outline-light); }
@keyframes convert-progress { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
@media (max-width: 900px) { .settings-grid { grid-template-columns: 1fr 1fr; } .transparency-setting { grid-column: 1 / -1; } }
@media (max-width: 720px) { .file-card { grid-template-columns: 120px minmax(0, 1fr); } .preview-wrap { width: 120px; } .file-actions { grid-column: 1 / -1; flex-direction: row; } }
@media (max-width: 560px) {
  .settings-grid { grid-template-columns: 1fr; }
  .transparency-setting { grid-column: auto; }
  .actions-row { flex-direction: column; }
  .actions-row button { width: 100%; }
  .queue-heading { align-items: flex-start; flex-direction: column; }
  .file-card { grid-template-columns: 1fr; }
  .preview-wrap { width: 100%; }
  .file-actions { grid-column: auto; flex-direction: column; }
}
