@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
[data-bg-video-invalid="true"] {
  outline: 2px dashed var(--ub-danger);
  outline-offset: -2px;
}

#convert {
  display: block;
  height: 0;
  scroll-margin-top: 90px;
}

#tool-video-to-mp3 {
  padding: 24px;
  background: #fff;
  scroll-margin-top: 90px;
  box-sizing: border-box;
}

#video-mp3-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff4c4;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  box-sizing: border-box;
}

#video-mp3-back {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1e;
  text-decoration: none;
}

#video-mp3-category {
  margin-top: 16px;
}

#video-mp3-label {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1e;
}

#video-mp3-title {
  font-family: var(--ub-font-display);
  font-size: clamp(28px, 5vw, 40px);
  margin: 12px 0 8px;
  color: #1c1c1e;
  line-height: 1.15;
}

#video-mp3-description {
  margin: 0 0 24px;
  max-width: 620px;
  color: #2c2c34;
  font-size: 17px;
  line-height: 1.6;
}

#video-mp3-dropzone {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  border: 2px dashed #1c1c1e55;
  text-align: center;
  margin-bottom: 20px;
}

#video-mp3-formats {
  font-size: 14px;
  color: #555a6a;
  margin: 4px 0 12px;
}

body,
body * {
  font-family: var(--ub-font-display) !important;
}

#tool-video-to-mp3 #video-mp3-dropzone {
  background: transparent;
  border: none;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

#vtm-pick {
  width: 130px;
  height: 130px;
  font-size: 64px;
}

#vtm-replace {
  background-color: #efc64e !important;
}

#vtm-convert {
  background-color: #efc64e !important;
}

#vtm-download {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 18px;
}

#tool-video-to-mp3 #video-mp3-formats {
  margin: 0;
}

#vtm-workspace {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

#vtm-video {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #1c1c1e;
  border-radius: 16px;
}

#vtm-filename {
  margin: 0;
  font-size: 20px;
  overflow-wrap: anywhere;
}

#vtm-details {
  margin: 0;
  font-size: 14px;
  color: #555a6a;
  overflow-wrap: anywhere;
}

#vtm-status {
  margin: 0;
  font-size: 14px;
  color: #555a6a;
  overflow-wrap: anywhere;
}

#vtm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#vtm-progress {
  width: 100%;
  max-width: 400px;
  accent-color: #e8b82c;
}

#vtm-audio {
  width: 100%;
  max-width: 400px;
}

#tool-video-to-mp3 [hidden] {
  display: none !important;
}

#tool-video-to-mp3 button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#tool-video-to-mp3 #vtm-pick,
#tool-video-to-mp3 #video-mp3-droptext {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ffdf75 !important;
  color: #1c1c1e !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer;
  font-weight: 700;
  box-sizing: border-box;
  text-align: center;
}

#tool-video-to-mp3 #vtm-pick {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px;
  min-height: 130px;
  padding: 0 !important;
  font-size: 64px !important;
}

#tool-video-to-mp3 #video-mp3-droptext {
  background-color: #ffdf75 !important;
  transition: background-color 0.2s ease !important;
}

#tool-video-to-mp3 #vtm-replace,
#tool-video-to-mp3 #vtm-convert,
#tool-video-to-mp3 #vtm-download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  padding: 16px 28px !important;
  background: #ffdf75 !important;
  color: #1c1c1e !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
}

#tool-video-to-mp3 #vtm-status {
  display: block;
  width: 100%;
  margin: 24px auto 0;
  padding: 0;
  text-align: center !important;
  font-size: 14px;
  line-height: 1.6;
  color: #555a6a;
  box-sizing: border-box;
}

#tool-video-to-mp3 #vtm-status:empty {
  display: none;
}

#tool-video-to-mp3 #vtm-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

#tool-video-to-mp3 #vtm-replace,
#tool-video-to-mp3 #vtm-convert {
  width: 100%;
  min-width: 0;
  padding: 14px 12px !important;
  white-space: normal;
}

#tool-video-to-mp3 #vtm-download {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 190px;
  margin-top: 10px;
}

#sr-convert,
#tool-audio-converter :is(#converter-upload-icon, #converter-start),
#tool-audio-compressor :is(#compressor-upload-icon, #bc-compress),
#tool-video-to-mp3 :is(#vtm-pick, #vtm-download),
#tool-sample-rate-converter :is(#sr-pick, #sr-download) {
  background-color: #ffdf75 !important;
  transition: background-color 0.2s ease;
}

#sr-convert,
#tool-audio-converter :is(#converter-upload-icon, #converter-start):not(:disabled):hover,
#tool-audio-compressor :is(#compressor-upload-icon, #bc-compress):not(:disabled):hover,
#tool-video-to-mp3 :is(#vtm-pick, #vtm-download):not(:disabled):hover,
#tool-sample-rate-converter :is(#sr-pick, #sr-download):not(:disabled):hover {
  background-color: #efc64e !important;
}

#tool-video-to-mp3 #video-mp3-droptext:hover {
  background-color: #efc64e !important;
}

#tool-audio-compressor #compressor-droptext,
#tool-video-to-mp3 #video-mp3-droptext,
#tool-mp3-tag-editor .beatelo-upload-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: fit-content !important;
  min-width: 260px !important;
  max-width: 100% !important;
  min-height: 56px !important;
  padding: 16px 28px !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer;
}

#tool-audio-compressor #compressor-droptext,
#tool-video-to-mp3 #video-mp3-droptext {
  background-color: #ffdf75 !important;
  color: #1c1c1e !important;
  transition: background-color 0.2s ease !important;
}

#tool-audio-compressor #compressor-droptext:hover,
#tool-video-to-mp3 #video-mp3-droptext:hover {
  background-color: #efc64e !important;
}

@media (max-width: 480px) {
#vtm-actions {
    flex-direction: column;
  }
}

:root {
  --ub-font-display: 'Poppins', Arial, sans-serif;
  --ub-font-body: 'Poppins', Arial, sans-serif;
  --ub-font-display-color: #1c1c1e;
  --ub-font-body-color: #2c2c34;
  --ub-bg: #ffffff;
  --ub-surface: #ffffff;
  --ub-border: #ececf3;
  --ub-section-bg: #ffffff;
  --ub-max-width: 1200px;
  --ub-section-padding-v: 32px;
  --ub-heading-h1-size: clamp(32px, 5vw, 56px);
  --ub-heading-h1-line-height: 1.15;
  --ub-heading-h1-weight: 700;
  --ub-heading-h2-size: clamp(28px, 4vw, 38px);
  --ub-heading-h2-line-height: 1.2;
  --ub-heading-h2-weight: 600;
  --ub-heading-h3-size: 24px;
  --ub-heading-h3-weight: 600;
  --typography-paragraph-font-size-level-1: 16px;
  --typography-paragraph-line-height-level-1: 1.6;
  --ub-paragraph-weight: 400;
  --ub-paragraph-letter-spacing: 0;
  --ub-link-color: #3158ad;
  --ub-link-color-hover: #22438c;
  --ub-link-color-active: #19336b;
  --ub-link-md-font-size: 14px;
  --ub-button-primary-font: var(--ub-font-display);
  --ub-button-primary-default-fill: #292b32;
  --ub-button-primary-default-text: #ffffff;
  --ub-button-primary-default-border: #292b32;
  --ub-button-primary-default-radius: 10px;
  --ub-button-primary-hover-fill: #41444e;
  --ub-button-primary-hover-text: #ffffff;
  --ub-button-primary-hover-border: #41444e;
  --ub-button-primary-active-fill: #17191f;
  --ub-button-primary-active-text: #ffffff;
  --ub-button-primary-active-border: #17191f;
  --ub-button-primary-font-weight: 600;
  --ub-button-primary-lg-padding-x: 24px;
  --ub-button-primary-lg-padding-y: 14px;
  --r-lg: 20px;
}
body { margin: 0; font-family: var(--ub-font-body); color: var(--ub-font-body-color); }
button, input, select, textarea { font-family: inherit; }
