/* Modalità cartella: sorgente → destinazione, conversione uno a uno */
.folder-batch {
  max-width: 480px;
  margin: 0 auto 36px;
  background: rgba(30, 0, 0, 0.85);
  border-radius: 18px;
  box-shadow: 0 8px 32px #0006;
  padding: 28px 24px 22px;
  text-align: center;
  color: #fff;
}
.folder-batch h2 {
  margin: 0 0 8px;
  font-size: 1.35em;
  color: #f33;
  letter-spacing: 0.5px;
}
.folder-batch .fb-hint {
  margin: 0 0 18px;
  font-size: 0.92em;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.folder-batch .fb-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  text-align: left;
}
.folder-batch .fb-row label {
  font-size: 0.9em;
  font-weight: 600;
}
.folder-batch .fb-path {
  font-size: 0.85em;
  color: #ffb3b3;
  word-break: break-all;
  min-height: 1.2em;
}
.folder-batch .fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 8px 0 14px;
}
.folder-batch button {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  background: linear-gradient(to right, #ff3333, #b30000);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #0006;
}
.folder-batch button:hover:not(:disabled) {
  background: linear-gradient(to right, #fff, #ff3333);
  color: #b30000;
}
.folder-batch button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.folder-batch select {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #ff3333;
  background: #222;
  color: #fff;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}
.folder-batch .fb-progress-wrap {
  margin-top: 12px;
  text-align: left;
}
.folder-batch .fb-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 51, 51, 0.35);
}
.folder-batch .fb-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff3333, #ffcc00);
  transition: width 0.2s ease;
}
.folder-batch .fb-status {
  margin-top: 8px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.9);
  min-height: 2.6em;
  white-space: pre-wrap;
}
.folder-batch .fb-unsupported {
  color: #ffd1d1;
  font-size: 0.95em;
  line-height: 1.45;
}
.folder-batch .fb-divider {
  margin: 0 auto 22px;
  max-width: 480px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85em;
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .folder-batch {
    max-width: 98vw;
    margin: 0 1vw 18px;
    padding: 18px 4vw 16px;
  }
  .folder-batch button {
    width: 100%;
  }
}
