/* Video Trimmer: tool-specific styles. Global identity comes from ../assets/css/main.css. */
.vt-tool-panel {
  width: min(var(--tool-width), 100%);
  margin-inline: auto;
}
.vt-tool {
  padding: 2px;
}
.vt-hidden {
  display: none !important;
}
.vt-upload-section,
.vt-editor,
.vt-progress,
.vt-result {
  width: 100%;
}
.vt-dropzone {
  padding: 46px 24px;
  text-align: center;
  border: 1px dashed rgba(154, 98, 255, 0.58);
  border-radius: var(--radius);
  outline: none;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(116, 82, 255, 0.14), transparent 80%),
    rgba(16, 16, 18, 0.64);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.vt-dropzone:hover,
.vt-dropzone:focus-visible,
.vt-dropzone.dragover {
  border-color: var(--primary-2);
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(116, 82, 255, 0.22), transparent 80%),
    rgba(21, 21, 24, 0.88);
}
.vt-dropzone.dragover {
  transform: translateY(-2px);
}
.vt-drop-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  place-items: center;
  border: 1px solid rgba(182, 150, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(116, 82, 255, 0.35), rgba(154, 98, 255, 0.18));
  color: #fff;
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(116, 82, 255, 0.2);
}
.vt-dropzone h2,
.vt-result h2 {
  margin: 0 0 7px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.vt-dropzone p,
.vt-dropzone small,
.vt-file-info span,
.vt-help,
.vt-progress p,
.vt-result p,
.vt-privacy {
  color: var(--muted);
}
.vt-dropzone p {
  margin: 0 0 18px;
}
.vt-dropzone small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
}
.vt-button {
  min-width: 132px;
}
.vt-file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 2px 0;
}
.vt-file-info strong,
.vt-file-info span {
  display: block;
}
.vt-file-info strong {
  max-width: 560px;
  margin: 3px 0;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vt-label {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vt-change-button,
.vt-secondary,
.vt-quiet {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface-2);
}
.vt-change-button:hover,
.vt-secondary:hover,
.vt-quiet:hover {
  border-color: rgba(154, 98, 255, 0.72);
  background: var(--surface-3);
}
.vt-editor {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.vt-preview-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #000;
}
.vt-preview {
  display: block;
  width: 100%;
  max-height: 470px;
  background: #000;
}
.vt-duration-row,
.vt-range-head,
.vt-actions,
.vt-progress-title,
.vt-result-actions,
.vt-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.vt-duration-row {
  padding: 14px 2px 2px;
  color: var(--muted);
  font-size: 13px;
}
.vt-duration-row strong {
  color: var(--text);
}
.vt-range-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.vt-range-head {
  align-items: flex-end;
  margin-bottom: 17px;
}
.vt-range-head strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 16px;
}
.vt-range-end {
  text-align: right;
}
.vt-selected-duration {
  text-align: center;
}
.vt-selected-duration strong {
  color: var(--success);
}
.vt-slider-wrap {
  position: relative;
  height: 34px;
  margin: 5px 3px 17px;
}
.vt-slider-wrap::before {
  position: absolute;
  top: 14px;
  right: 0;
  left: 0;
  height: 6px;
  border-radius: 999px;
  content: "";
  background: #29292e;
}
.vt-selection-fill {
  position: absolute;
  z-index: 1;
  top: 14px;
  height: 6px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.vt-range {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 34px;
  margin: 0;
  appearance: none;
  pointer-events: none;
  background: transparent;
}
.vt-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  pointer-events: auto;
  cursor: grab;
  background: var(--primary);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}
.vt-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  pointer-events: auto;
  cursor: grab;
  background: var(--primary);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}
.vt-range::-webkit-slider-runnable-track,
.vt-range::-moz-range-track {
  height: 6px;
  background: transparent;
}
.vt-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.vt-input-grid label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.vt-input-grid input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--text);
  background: #0a0a0b;
}
.vt-input-grid input:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(116, 82, 255, 0.16);
}
.vt-input-grid small {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
}
.vt-help {
  margin: 13px 0 0;
  font-size: 12px;
  line-height: 1.55;
}
.vt-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}
.vt-progress,
.vt-result {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.vt-progress-title strong {
  color: var(--text);
  font-size: 14px;
}
.vt-progress-title span {
  color: #bbaaff;
  font-size: 13px;
  font-weight: 800;
}
.vt-progress-track {
  overflow: hidden;
  height: 8px;
  margin: 13px 0 10px;
  border-radius: 999px;
  background: #29292e;
}
.vt-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 0.2s ease;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.vt-progress p {
  margin: 0;
  font-size: 13px;
}
.vt-cancel-button {
  margin-top: 12px;
  padding: 0;
  border: 0;
  color: #ffacbb;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.vt-cancel-button:hover {
  color: #ffd2da;
}
.vt-error {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 128, 148, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(111, 25, 44, 0.25);
}
.vt-error strong {
  color: #ffd0d9;
}
.vt-error p {
  margin: 6px 0 0;
  color: #ffc2ce;
  line-height: 1.55;
}
.vt-result-top {
  justify-content: flex-start;
}
.vt-result-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(111, 224, 167, 0.35);
  border-radius: 50%;
  color: var(--success);
  background: rgba(111, 224, 167, 0.1);
  font-size: 20px;
  font-weight: 900;
}
.vt-result p {
  margin: 0;
}
.vt-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.vt-result-grid > div {
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #0b0b0d;
}
.vt-result-grid span,
.vt-result-grid strong {
  display: block;
}
.vt-result-grid span {
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 11px;
}
.vt-result-grid strong {
  color: var(--text);
  font-size: 14px;
}
.vt-result-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.vt-privacy {
  margin: 21px 2px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}
/* Shared Vamriko SEO-content styling for this tool page. */
.tool-seo-content {
  width: min(var(--tool-width), 100%);
  margin: 38px auto 0;
}
.tool-seo-section {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.tool-seo-section h2 {
  margin: 0 0 11px;
  color: var(--text);
  font-size: 19px;
  letter-spacing: -0.02em;
}
.tool-seo-section p {
  margin: 0 0 11px;
  color: var(--muted);
  line-height: 1.7;
}
.tool-seo-section p:last-child {
  margin-bottom: 0;
}
.tool-seo-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tool-seo-step {
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.tool-seo-step h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 14px;
}
.tool-seo-step p {
  margin: 0;
  font-size: 13px;
}
.tool-faq {
  display: grid;
  gap: 9px;
}
.tool-faq details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.tool-faq summary {
  padding: 14px 42px 14px 15px;
  color: var(--text);
  cursor: pointer;
  font-weight: 750;
}
.tool-faq details p {
  padding: 0 15px 15px;
  margin: 0;
  font-size: 13px;
}
.tool-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tool-related-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.tool-related-card:hover {
  border-color: rgba(154, 98, 255, 0.65);
  background: var(--surface-3);
  transform: translateY(-2px);
}
.tool-related-card h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 14px;
}
.tool-related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
@media (max-width: 660px) {
  .vt-file-info,
  .vt-range-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .vt-range-end,
  .vt-selected-duration {
    text-align: left;
  }
  .vt-input-grid,
  .vt-result-grid,
  .tool-seo-steps,
  .tool-related-grid {
    grid-template-columns: 1fr;
  }
  .vt-range-panel,
  .tool-seo-section {
    padding: 15px;
  }
  .vt-actions .btn,
  .vt-result-actions .btn {
    width: 100%;
  }
  .vt-file-info strong {
    max-width: calc(100vw - 64px);
  }
}