/* Drop zone */
.vc-dropzone {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  margin-bottom: 1rem;
}
.vc-dropzone:hover, .vc-dropzone.drag-over {
  border-color: rgba(96,213,250,0.5);
  background: rgba(96,213,250,0.04);
}
.vc-file-input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.vc-drop-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.vc-drop-text { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.vc-drop-sub { font-size: 0.83rem; opacity: 0.5; }

/* Panel */
.vc-panel { display: flex; flex-direction: column; gap: 1rem; }

/* Info bar */
.vc-info-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1.25rem;
}
.vc-info-file { display: flex; align-items: center; gap: 0.85rem; }
.vc-info-icon { font-size: 1.5rem; }
.vc-info-name { font-weight: 600; font-size: 0.95rem; }
.vc-info-meta { font-size: 0.8rem; opacity: 0.55; margin-top: 0.15rem; }
.vc-change-btn { font-size: 0.82rem; padding: 0.35rem 0.9rem; }

/* Settings row */
.vc-settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 720px) { .vc-settings-row { grid-template-columns: 1fr; } }

.vc-settings { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.vc-settings-title { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.5rem; }

.vc-field-label {
  font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 700; opacity: 0.5; margin-top: 0.25rem;
}

/* Preset buttons */
.vc-preset-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
.vc-preset-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 0.5rem 0.4rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: inherit; font-family: inherit; cursor: pointer;
  font-size: 0.8rem; font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}
.vc-preset-btn span { font-size: 0.68rem; font-weight: 400; opacity: 0.55; }
.vc-preset-btn:hover { background: rgba(255,255,255,0.09); }
.vc-preset-btn.active {
  background: rgba(96,213,250,0.12); border-color: rgba(96,213,250,0.45); color: #60d5fa;
}

/* Segmented control */
.vc-seg { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.vc-seg-btn {
  flex: 1; min-width: 0;
  padding: 0.38rem 0.5rem; border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: inherit; font-family: inherit; cursor: pointer;
  font-size: 0.82rem; font-weight: 500; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.vc-seg-btn:hover { background: rgba(255,255,255,0.08); }
.vc-seg-btn.active {
  background: rgba(96,213,250,0.14); border-color: rgba(96,213,250,0.5); color: #60d5fa;
}

.vc-quality-hint { font-size: 0.73rem; opacity: 0.45; }

/* Trim */
.vc-trim-row { display: flex; align-items: center; gap: 0.5rem; }
.vc-trim-field { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.vc-trim-field label { font-size: 0.68rem; opacity: 0.5; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.vc-time-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px; padding: 0.4rem 0.6rem;
  color: inherit; font-family: inherit; font-size: 0.88rem; outline: none;
  width: 100%;
}
.vc-time-input:focus { border-color: rgba(96,213,250,0.4); }
.vc-trim-sep { opacity: 0.4; font-size: 0.9rem; flex-shrink: 0; }

.vc-check-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; cursor: pointer; opacity: 0.8;
}
.vc-check-label input { cursor: pointer; }

.vc-estimate { font-size: 0.82rem; color: var(--muted); text-align: center; padding: 9px 12px; margin-top: 4px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); font-variant-numeric: tabular-nums; }
.vc-estimate b { color: var(--text); font-weight: 700; }
.vc-est-save { color: #5cd98a; font-weight: 600; }
.vc-est-warn { color: #ffce5c; font-weight: 600; }
.vc-compress-btn { width: 100%; padding: 0.75rem; font-size: 0.95rem; font-weight: 700; margin-top: 0.25rem; }

/* Video preview */
.vc-preview-col { display: flex; flex-direction: column; gap: 0.5rem; }
.vc-video-wrap {
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.vc-video { width: 100%; height: 100%; display: block; object-fit: contain; }

/* Progress */
.vc-progress-card { padding: 1.5rem 1.75rem; text-align: center; }
.vc-progress-label { font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.vc-progress-bar-wrap {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 0.75rem;
}
.vc-progress-bar {
  height: 100%; width: 0%; border-radius: 4px;
  background: linear-gradient(90deg, #60d5fa, #c08bff);
  transition: width 0.3s ease;
}
.vc-progress-sub { font-size: 0.78rem; opacity: 0.45; }

/* Result */
.vc-result-card {
  padding: 2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
}
.vc-result-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(92,217,138,0.15);
  border: 2px solid rgba(92,217,138,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #5cd98a;
}
.vc-result-title { font-size: 1.2rem; font-weight: 700; }
.vc-result-stats { font-size: 0.88rem; opacity: 0.65; line-height: 1.6; }
.vc-dl-btn { padding: 0.75rem 2.5rem; font-size: 0.95rem; font-weight: 700; }
.vc-again-btn { font-size: 0.85rem; opacity: 0.7; }
