#uvr-app-en {
  max-width: 100%;
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  background: #215F88;
  color: #fff;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  --control-height: 44px;
  --control-padding-x: 16px;
  --gap: 14px;
}

/* Desktop: full width inside Elementor */
@media (min-width: 768px) {
  #uvr-app-en {
    max-width: 100%;
    width: 100%;
  }
}

/* Mobile devices */
@media (max-width: 767px) {
  #uvr-app-en {
    margin: 10px;
    padding: 15px;
    border-radius: 8px;
    --control-height: 48px;
    --gap: 12px;
  }
  
  #uvr-app-en h2 {
    font-size: 1.3em;
  }
  
  #uvr-app-en input[type="file"],
  #uvr-app-en button {
    font-size: 15px;
  }
  
  #uvr-app-en input[type="file"]::file-selector-button {
    font-size: 14px;
  }
}

#uvr-app-en h2 {
  margin-top: 0;
  color: #fff;
  text-align: center;
}

#uvr-app-en #file-wrap {
  width: 100%;
  height: var(--control-height);
  position: relative;
  box-sizing: border-box;
}

#uvr-app-en #file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

#uvr-app-en #file-display {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--control-padding-x);
  background: #fff;
  color: #215F88;
  border: 2px solid #215F88;
  border-radius: 6px;
  box-sizing: border-box;
  pointer-events: none;
}

#uvr-app-en #file-btn {
  background: #215F88;
  color: #fff;
  height: calc(var(--control-height) - 14px);
  padding: 0 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  flex-shrink: 0;
}

#uvr-app-en #file-name {
  font-size: 16px;
  color: #215F88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


#uvr-app-en button {
  width: 100%;
  height: var(--control-height);
  padding: 0 var(--control-padding-x);
  margin-top: var(--gap);
  background: #ff3b3b;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  box-sizing: border-box;
}

#uvr-app-en button:hover:not(:disabled) {
  background: #ff5555;
}

#uvr-app-en button:disabled {
  background: #666;
  cursor: not-allowed;
}

#progress {
  width: 100%;
  height: 10px;
  background: #222;
  margin-top: var(--gap);
  border-radius: 999px;
  overflow: hidden;
}

#bar {
  height: 100%;
  width: 0%;
  background: #ff3b3b;
  transition: width 0.3s;
  border-radius: 999px;
}

#status {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
}

#instructions {
  margin-top: 12px;
}

#help-list {
  font-size: 16px;
  line-height: 1.5;
  color: #eaf3fb;
}

#help-list > div + div {
  margin-top: 8px;
}

#result {
  margin-top: var(--gap);
}

#result audio {
  width: 100%;
  margin-bottom: var(--gap);
  height: var(--control-height);
  border-radius: 0;
}

#download {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  height: var(--control-height);
  line-height: var(--control-height);
  padding: 0 var(--control-padding-x);
  background: #ff3b3b;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 0;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s;
}

#download:hover {
  background: #ff5555;
}
