@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.wav-file-converter-tool,
.wav-file-converter-tool * {
  box-sizing: border-box;
}

.wav-file-converter-tool {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  border-radius: 0 !important;
  margin: 0;
  padding: 32px 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: #f8fbff;
  background:
    radial-gradient(circle at 14% 18%, rgba(56, 189, 248, 0.34), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(244, 114, 182, 0.26), transparent 28%),
    linear-gradient(135deg, #08111f 0%, #10233f 48%, #251433 100%);
  line-height: 1.5;
}

.wav-file-converter-tool h1,
.wav-file-converter-tool h2,
.wav-file-converter-tool h3,
.wav-file-converter-tool p,
.wav-file-converter-tool span,
.wav-file-converter-tool label,
.wav-file-converter-tool button,
.wav-file-converter-tool input,
.wav-file-converter-tool audio,
.wav-file-converter-tool section,
.wav-file-converter-tool header,
.wav-file-converter-tool div {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 1rem;
}

.wav-file-converter-tool button,
.wav-file-converter-tool input {
  font-family: Arial, Helvetica, sans-serif;
}

.wav-file-converter-tool .wfc-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.wav-file-converter-tool .wfc-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 24px;
  text-align: center;
}

.wav-file-converter-tool .wfc-title {
  width: 100%;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffffff;
}

.wav-file-converter-tool .wfc-subtitle {
  width: 100%;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(232, 241, 255, 0.84);
}

.wav-file-converter-tool .wfc-grid {
  display: grid;
  width: 100%;
  gap: 16px;
  align-items: stretch;
}

.wav-file-converter-tool .wfc-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wav-file-converter-tool .wfc-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.38);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.34), 0 0 28px rgba(56, 189, 248, 0.12);
}

.wav-file-converter-tool .wfc-input-panel {
  gap: 16px;
}

.wav-file-converter-tool .wfc-output-panel {
  gap: 16px;
  justify-content: stretch;
}

.wav-file-converter-tool .wfc-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 176px;
  gap: 16px;
  padding: 20px;
  border: 1px dashed rgba(191, 219, 254, 0.58);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(255, 255, 255, 0.07));
  color: #ffffff;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wav-file-converter-tool .wfc-dropzone:hover,
.wav-file-converter-tool .wfc-dropzone.wfc-dragover {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16), 0 0 34px rgba(56, 189, 248, 0.2);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(255, 255, 255, 0.1));
}

.wav-file-converter-tool .wfc-dropzone:focus-visible,
.wav-file-converter-tool .wfc-dropdown-toggle:focus-visible,
.wav-file-converter-tool .wfc-option:focus-visible,
.wav-file-converter-tool .wfc-button:focus-visible,
.wav-file-converter-tool .wfc-download:focus-visible,
.wav-file-converter-tool .wfc-quality-slider:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.95);
  outline-offset: 3px;
}

.wav-file-converter-tool .wfc-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0;
  cursor: pointer;
}

.wav-file-converter-tool .wfc-drop-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 800;
  color: #06111f;
  background: linear-gradient(135deg, #a7f3d0, #38bdf8);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.24);
}

.wav-file-converter-tool .wfc-drop-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.wav-file-converter-tool .wfc-drop-title {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  color: #ffffff;
}

.wav-file-converter-tool .wfc-drop-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(232, 241, 255, 0.78);
}

.wav-file-converter-tool .wfc-file-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(4, 12, 24, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wav-file-converter-tool .wfc-file-row,
.wav-file-converter-tool .wfc-quality-head,
.wav-file-converter-tool .wfc-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 12px;
}

.wav-file-converter-tool .wfc-file-label,
.wav-file-converter-tool .wfc-result-label {
  flex: 0 0 auto;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(191, 219, 254, 0.82);
}

.wav-file-converter-tool .wfc-file-name,
.wav-file-converter-tool .wfc-result-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 700;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wav-file-converter-tool .wfc-file-meta {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 8px;
}

.wav-file-converter-tool .wfc-file-meta span {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #eaf4ff;
  background: rgba(255, 255, 255, 0.09);
  overflow-wrap: anywhere;
}

.wav-file-converter-tool .wfc-audio-preview {
  display: block;
  width: 100%;
  height: 38px;
}

.wav-file-converter-tool .wfc-controls {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}

.wav-file-converter-tool .wfc-control-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.wav-file-converter-tool .wfc-label {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 800;
  color: #f8fbff;
}

.wav-file-converter-tool .wfc-dropdown {
  position: relative;
  width: 100%;
}

.wav-file-converter-tool .wfc-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(191, 219, 254, 0.26);
  border-radius: 12px;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 800;
  color: #ffffff;
  background: rgba(6, 18, 34, 0.76);
  cursor: pointer;
}

.wav-file-converter-tool .wfc-format-value,
.wav-file-converter-tool .wfc-chevron {
  font-size: 0.96rem;
  line-height: 1.4;
  color: #ffffff;
}

.wav-file-converter-tool .wfc-chevron {
  flex: 0 0 auto;
  font-weight: 900;
}

.wav-file-converter-tool .wfc-options {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 14px;
  background: #071527;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

.wav-file-converter-tool .wfc-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 800;
  color: #f8fbff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.wav-file-converter-tool .wfc-option:hover,
.wav-file-converter-tool .wfc-option[aria-selected="true"] {
  color: #04111f;
  background: linear-gradient(135deg, #a7f3d0, #7dd3fc);
}

.wav-file-converter-tool .wfc-quality-value {
  flex: 0 0 auto;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 800;
  color: #a7f3d0;
}

.wav-file-converter-tool .wfc-quality-slider {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  accent-color: #38bdf8;
  cursor: pointer;
}

.wav-file-converter-tool .wfc-quality-slider:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.wav-file-converter-tool .wfc-quality-note {
  width: 100%;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(232, 241, 255, 0.72);
}

.wav-file-converter-tool .wfc-actions {
  display: flex;
  width: 100%;
  gap: 12px;
}

.wav-file-converter-tool .wfc-button,
.wav-file-converter-tool .wfc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wav-file-converter-tool .wfc-button {
  flex: 1 1 0;
}

.wav-file-converter-tool .wfc-convert,
.wav-file-converter-tool .wfc-download {
  color: #06111f;
  background: linear-gradient(135deg, #a7f3d0, #38bdf8);
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.25);
}

.wav-file-converter-tool .wfc-clear {
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.wav-file-converter-tool .wfc-button:hover,
.wav-file-converter-tool .wfc-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.34);
}

.wav-file-converter-tool .wfc-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.wav-file-converter-tool .wfc-message {
  min-height: 24px;
  width: 100%;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(232, 241, 255, 0.82);
  overflow-wrap: anywhere;
}

.wav-file-converter-tool .wfc-message.wfc-error {
  color: #fecaca;
}

.wav-file-converter-tool .wfc-message.wfc-success {
  color: #bbf7d0;
}

.wav-file-converter-tool .wfc-result-empty,
.wav-file-converter-tool .wfc-result-panel {
  width: 100%;
  min-height: 100%;
}

.wav-file-converter-tool .wfc-result-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 8px;
}

.wav-file-converter-tool .wfc-result-kicker {
  width: 100%;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #a7f3d0;
}

.wav-file-converter-tool .wfc-result-placeholder {
  width: 100%;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(232, 241, 255, 0.76);
}

.wav-file-converter-tool .wfc-result-panel {
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  animation: wfcFadeIn 220ms ease both;
}

.wav-file-converter-tool .wfc-result-panel:not([hidden]) {
  display: flex;
}

.wav-file-converter-tool .wfc-result-details {
  display: grid;
  flex: 1 1 auto;
  width: 100%;
  gap: 12px;
}

.wav-file-converter-tool .wfc-result-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(4, 12, 24, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wav-file-converter-tool .wfc-result-detail span:last-child {
  min-width: 0;
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 900;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.wav-file-converter-tool .wfc-download {
  width: 100%;
}

@keyframes wfcFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .wav-file-converter-tool {
    border-radius: 0 !important;
    padding: 24px 10px;
  }

  .wav-file-converter-tool .wfc-shell {
    width: 100%;
  }

  .wav-file-converter-tool .wfc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .wav-file-converter-tool .wfc-subtitle {
    font-size: 0.92rem;
  }

  .wav-file-converter-tool .wfc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wav-file-converter-tool .wfc-panel {
    padding: 14px;
  }

  .wav-file-converter-tool .wfc-dropzone {
    min-height: 160px;
    flex-direction: column;
    padding: 16px;
    text-align: center;
  }

  .wav-file-converter-tool .wfc-actions {
    flex-direction: column;
  }

  .wav-file-converter-tool .wfc-button,
  .wav-file-converter-tool .wfc-dropdown-toggle,
  .wav-file-converter-tool .wfc-download {
    width: 100%;
    min-height: 46px;
    font-size: 0.92rem;
  }

  .wav-file-converter-tool .wfc-file-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .wav-file-converter-tool .wfc-file-name {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .wav-file-converter-tool {
    border-radius: 0 !important;
    padding: 28px 12px;
  }

  .wav-file-converter-tool .wfc-shell {
    width: 100%;
  }

  .wav-file-converter-tool .wfc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .wav-file-converter-tool .wfc-subtitle {
    font-size: 0.95rem;
  }

  .wav-file-converter-tool .wfc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wav-file-converter-tool .wfc-panel {
    padding: 16px;
  }

  .wav-file-converter-tool .wfc-dropzone {
    min-height: 168px;
    flex-direction: column;
    padding: 18px;
    text-align: center;
  }

  .wav-file-converter-tool .wfc-button,
  .wav-file-converter-tool .wfc-dropdown-toggle,
  .wav-file-converter-tool .wfc-download {
    width: 100%;
    min-height: 48px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .wav-file-converter-tool {
    border-radius: 0 !important;
    padding: 32px 16px;
  }

  .wav-file-converter-tool .wfc-shell {
    width: 100%;
  }

  .wav-file-converter-tool .wfc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .wav-file-converter-tool .wfc-subtitle {
    font-size: 1rem;
  }

  .wav-file-converter-tool .wfc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wav-file-converter-tool .wfc-panel {
    padding: 18px;
  }

  .wav-file-converter-tool .wfc-dropzone {
    min-height: 176px;
    padding: 20px;
  }

  .wav-file-converter-tool .wfc-button,
  .wav-file-converter-tool .wfc-dropdown-toggle,
  .wav-file-converter-tool .wfc-download {
    width: 100%;
    min-height: 48px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wav-file-converter-tool {
    border-radius: 0 !important;
    padding: 40px 24px;
  }

  .wav-file-converter-tool .wfc-shell {
    width: 100%;
  }

  .wav-file-converter-tool .wfc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .wav-file-converter-tool .wfc-subtitle {
    font-size: 1.05rem;
  }

  .wav-file-converter-tool .wfc-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wav-file-converter-tool .wfc-panel {
    padding: 22px;
  }

  .wav-file-converter-tool .wfc-dropzone {
    min-height: 188px;
    padding: 24px;
  }

  .wav-file-converter-tool .wfc-button,
  .wav-file-converter-tool .wfc-dropdown-toggle,
  .wav-file-converter-tool .wfc-download {
    width: 100%;
    min-height: 50px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .wav-file-converter-tool {
    border-radius: 0 !important;
    padding: 44px 28px;
  }

  .wav-file-converter-tool .wfc-shell {
    width: 100%;
  }

  .wav-file-converter-tool .wfc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .wav-file-converter-tool .wfc-subtitle {
    font-size: 1.06rem;
  }

  .wav-file-converter-tool .wfc-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 20px;
    align-items: stretch;
  }

  .wav-file-converter-tool .wfc-panel {
    height: 100%;
    padding: 24px;
  }

  .wav-file-converter-tool .wfc-dropzone {
    min-height: 190px;
    padding: 24px;
  }

  .wav-file-converter-tool .wfc-button,
  .wav-file-converter-tool .wfc-dropdown-toggle,
  .wav-file-converter-tool .wfc-download {
    min-height: 50px;
  }
}

@media (min-width: 1200px) {
  .wav-file-converter-tool {
    border-radius: 0 !important;
    padding: 48px 32px;
  }

  .wav-file-converter-tool .wfc-shell {
    width: 100%;
  }

  .wav-file-converter-tool .wfc-title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
  }

  .wav-file-converter-tool .wfc-subtitle {
    font-size: 1.08rem;
  }

  .wav-file-converter-tool .wfc-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: stretch;
  }

  .wav-file-converter-tool .wfc-panel {
    height: 100%;
    padding: 26px;
  }

  .wav-file-converter-tool .wfc-dropzone {
    min-height: 196px;
    padding: 24px;
  }

  .wav-file-converter-tool .wfc-button,
  .wav-file-converter-tool .wfc-dropdown-toggle,
  .wav-file-converter-tool .wfc-download {
    min-height: 52px;
  }
}