/* mixer.css — Mixer, channel strips, transport, export */

/* ─── MIXER SCROLLABLE LAYOUT ─────────────────────────────────────── */
.mixer-container {
  display: flex;
  gap: 0;
  margin-top: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.mixer-scroll-area {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
}
.mixer-board {
  display: flex;
  gap: 4px;
  min-width: min-content;
}
.channel-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 86px;
    flex-shrink: 0;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 6px 6px;
    gap: 5px;
    position: relative;
}
.channel-strip.muted {
  opacity: 0.45;
}
.channel-strip.soloed {
  border-color: var(--amber);
}
.strip-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  max-width: 64px;
}
.strip-type {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.strip-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.strip-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.strip-stat-lbl {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.strip-stat-val {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--text-2);
  text-align: right;
}
.strip-stat-val.positive {
  color: var(--green);
}
.strip-stat-val.negative {
  color: var(--amber);
}
.strip-meter {
  display: flex;
  gap: 3px;
  min-height: 68px;
  width: 100%;
  align-items: flex-end;
}
.meter-col {
  flex: 1;
  min-width: 0;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.meter-fill {
  width: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: height 0.05s ease-out;
  height: 0%;
}
.strip-pan-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  margin-bottom: 16px;
}
.pan-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-3);
  margin-bottom: 8px;
}
input[type="range"].pan-slider {
  width: 100%;
  height: 3px;
  -webkit-appearance: none;
  background: var(--bg-4);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"].pan-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-2);
  cursor: pointer;
}
.strip-fader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

/* dB scale marks alongside the fader */
.fader-scale {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  pointer-events: none;
}
.fader-scale-mark {
  position: absolute;
  right: 100%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--text-3);
  white-space: nowrap;
  line-height: 1;
  padding-right: 3px;
}
.fader-scale-mark.unity {
  color: var(--text-2);
  font-weight: 600;
}
.fader-scale-mark::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1px;
  background: var(--border-bright);
}
.fader-scale-mark.unity::after {
  background: var(--text-2);
  width: 4px;
}
input[type="range"].fader-vertical {
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 28px;
  background: transparent;
  outline: none;
  cursor: pointer;
  padding: 0;
}
input[type="range"].fader-vertical::-webkit-slider-runnable-track {
  width: 4px;
  background: var(--bg-4);
  border-radius: 2px;
}
input[type="range"].fader-vertical::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 14px;
  background: var(--bg-4);
  border: 1px solid var(--border-bright);
  border-radius: 3px;
  cursor: pointer;
  margin-left: -12px;
  transition: border-color 0.15s;
}
input[type="range"].fader-vertical:hover::-webkit-slider-thumb {
  border-color: var(--text-2);
}
.fader-db {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-1);
    width: 44px;
    background-color: var(--accent);
    text-align: center;
    border-radius: 2px;
}
.strip-buttons {
  display: flex;
  gap: 3px;
}
.btn-mute,
.btn-solo {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 6px;
  background: var(--bg-3);
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.1s;
  line-height: 1;
}
.btn-mute:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-solo:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn-mute.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-solo.active {
  background: var(--amber);
  color: #000;
  border-color: var(--amber);
}

/* ── Edit button ─────────────────────────────────────── */
.btn-edit {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid var(--accent-dim);
  border-radius: 3px;
  padding: 3px 6px;
  background: var(--bg-3);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.1s;
  line-height: 1;
}
.btn-edit:hover {
  background: rgba(58, 143, 255, 0.12);
  border-color: var(--accent);
}
.btn-edit-full {
  width: 100%;
  padding: 5px 0;
  text-align: center;
}

/* Κάθετο Master Strip */
.master-strip-vertical {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  border-top: 2px solid #e91e63;
  border-bottom: 2px solid #e91e63;
  gap: 16px;
}
.master-label-v {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.monitor-label,
.monitor-value {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.monitor-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: var(--bg-4);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.monitor-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-2);
  border: 1px solid var(--border-bright);
}
.master-vu-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.vu-meter-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 24px;
  height: 100%;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.vu-fill-v {
  width: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: height 0.05s ease-out;
  height: 0%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.vu-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-3);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* ── Master genre selector ───────────────────────────── */
.master-genre-selector {
  cursor: pointer;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-3);
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 4px;
}
.master-genre-selector:hover {
  border-color: var(--accent-dim);
}
.master-genre-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.master-genre-modal-info {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-3);
  border-radius: 5px;
  border: 1px solid var(--border);
  min-height: 48px;
}
.master-genre-modal-info p {
  font-size: 12px;
  color: var(--text-2);
  margin: 0 0 8px;
  line-height: 1.5;
}
.master-genre-modal-info p:last-child {
  margin-bottom: 0;
}
.master-genre-modal-info strong {
  color: var(--text-1);
}

/* ─── TRANSPORT BAR ─────────────────────────────────────── */
.transport-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-1);
  width: 46px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  padding: 0;
  flex-shrink: 0;
}
.transport-btn svg {
  display: block;
  flex-shrink: 0;
}
.transport-btn:hover:not(:disabled) {
  background: var(--bg-4);
  border-color: var(--border-bright);
}
.transport-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.transport-btn.playing {
  background: var(--amber);
  border-color: var(--amber);
  color: #000;
  padding-right: 5px;
}
.transport-btn.playing svg {
  display: none;
}
.transport-btn.playing::after {
  content: "";
  display: flex;
  width: 3px;
  height: 10px;
  background: #000;
  box-shadow: 5px 0 0 #000;
}
.transport-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  display: flex;
  gap: 2px;
  align-items: center;
  white-space: nowrap;
}
.transport-sep {
  color: var(--text-3);
}
.transport-waveform-wrap {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.transport-canvas {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.transport-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--accent);
  left: 0;
  pointer-events: none;
  z-index: 2;
}
.transport-playhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.transport-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  pointer-events: none;
  letter-spacing: 0.04em;
}
.transport-status.hidden {
  display: none;
}

/* ── Stale waveform overlay ──────────────────────────── */
#transportWaveformWrap .transport-canvas {
  transition: opacity 0.4s ease;
}
#transportWaveformWrap.stale .transport-canvas {
  opacity: 0.2 !important;
}
.transport-stale-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-2);
  letter-spacing: 0.06em;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  z-index: 3;
}

/* ─── EXPORT MODAL ───────────────────────────────────── */
.export-bitdepth-group {
  display: flex;
  gap: 8px;
}
.export-bit-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-2);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.15s;
}
.export-bit-btn:hover {
  border-color: var(--border-bright);
  color: var(--text-1);
}
.export-bit-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.export-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ─── FORMS ──────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-1);
  font-family: var(--font-main);
  font-size: 13px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
}
.form-select option {
  background: var(--bg-3);
}
.form-textarea {
  resize: vertical;
  min-height: 72px;
}

/* ─── EMPTY STATE ─────────────────────────────────────── */
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 32px;
  color: var(--text-3);
}
.empty-state p {
  margin-bottom: 16px;
  font-size: 14px;
}
.loading-text {
  color: var(--text-3);
  font-size: 13px;
  padding: 32px 0;
}

/* ─── ADMIN ──────────────────────────────────────────── */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.admin-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.admin-card h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.admin-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.admin-setting-row:last-child {
  border-bottom: none;
}
.admin-setting-key {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}
.admin-setting-val {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-1);
  padding: 4px 8px;
  width: 100px;
  text-align: right;
}

/* ─── LOGIN ─────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-0);
}
.login-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 48px 40px;
  width: 360px;
  text-align: center;
}
.login-logo {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-1);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.login-logo span {
  color: var(--accent);
  font-weight: 500;
}
.login-tagline {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.login-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  color: var(--text-1);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.btn-google:hover {
  background: var(--bg-4);
  border-color: var(--text-3);
}
.login-note {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 20px;
  line-height: 1.6;
}

/* ─── MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  width: 560px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
}
.modal-close:hover {
  color: var(--text-1);
  background: var(--bg-3);
}
.modal-search {
  font-family: var(--font-main);
  font-size: 13px;
  background: var(--bg-3);
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
  padding: 12px 20px;
  outline: none;
  width: 100%;
}
.modal-search::placeholder {
  color: var(--text-3);
}
.modal-groups {
  overflow-y: auto;
  padding: 8px 0;
  flex: 1;
}
.modal-group-title {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px 4px;
}
.modal-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.1s;
}
.modal-option:hover {
  background: var(--bg-3);
}
.modal-option-name {
  font-size: 13px;
  color: var(--text-1);
}
.modal-option-ch {
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--font-mono);
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.modal-body {
  padding: 0 20px 18px;
}
.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-3);
}
.mixer-scroll-area::-webkit-scrollbar {
  height: 8px;
}
.mixer-scroll-area::-webkit-scrollbar-track {
  background: var(--bg-0);
  border-radius: 4px;
}
.mixer-scroll-area::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 4px;
}
.mixer-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--text-3);
}

/* ── Mixer channel strip group colors ───────────────── */
.channel-strip.track-group-drums {
  border-top: 2px solid #e05555;
  border-bottom: 2px solid #e05555;
}
.channel-strip.track-group-bass {
  border-top: 2px solid #e07c2a;
  border-bottom: 2px solid #e07c2a;
}
.channel-strip.track-group-guitars {
  border-top: 2px solid #c9a227;
  border-bottom: 2px solid #c9a227;
}
.channel-strip.track-group-keys {
  border-top: 2px solid #4caf7d;
  border-bottom: 2px solid #4caf7d;
}
.channel-strip.track-group-synths {
  border-top: 2px solid #3a8fff;
  border-bottom: 2px solid #3a8fff;
}
.channel-strip.track-group-vocals {
  border-top: 2px solid #9c6fe4;
  border-bottom: 2px solid #9c6fe4;
}
.channel-strip.track-group-orchestra {
  border-top: 2px solid #26a69a;
  border-bottom: 2px solid #26a69a;
}
.channel-strip.track-group-other {
  border-top: 2px solid #78909c;
  border-bottom: 2px solid #78909c;
}

/* ── Open Mixer button ───────────────────────────────── */
#btnOpenMixer:not(:disabled) {
  border-color: var(--accent-dim);
  color: var(--accent);
}
#btnOpenMixer:not(:disabled):hover {
  background: rgba(58, 143, 255, 0.08);
  border-color: var(--accent);
}

/* ── Mixer fullheight layout ─────────────────────────── */
.view-mixer-fullheight {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 24px;
  padding-bottom: 48px; /* ← άφησε χώρο για το fixed bottom bar */
  overflow: hidden;
  background: var(--bg-0);
  z-index: 50;
}

/* ── Mixer 3-part layout ─────────────────────────────── */
.mixer-waveform-bar {
  height: 150px;
  flex-shrink: 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.mixer-waveform-bar .transport-waveform-wrap {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.mixer-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  z-index: 60; /* πάνω από το .view-mixer-fullheight (z:50) */
}
.mixer-bottom-transport {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.mixer-bottom-monitor {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 180px;
  margin-left: auto;
}
.mixer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── AutoMix Progress Modal ──────────────────────────── */
.automix-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.automix-modal {
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  width: 460px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.automix-modal-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}
.automix-progress-bar-wrap {
  background: var(--bg-3);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
}
.automix-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
  width: 0%;
}
.automix-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.automix-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-3);
  transition: color 0.2s;
}
.automix-step.active {
  color: var(--text-1);
}
.automix-step.done {
  color: var(--green);
}
.automix-step-icon {
  font-size: 11px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.automix-step.active .automix-step-icon::before {
  content: "⟳";
  color: var(--accent);
  animation: spin 1s linear infinite;
  display: inline-block;
}
.automix-step.done .automix-step-icon::before {
  content: "✓";
}
.automix-step.pending .automix-step-icon::before {
  content: "○";
}
.automix-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.automix-time-est {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}