
.qc_voice_stt_audio_upload_file_main {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    height: 100%;
    align-items: center;
    position: relative;
}

.qc_voice_stt_audio_upload_file_main .stt_audio_upload_file {
  margin: auto;
  padding: 1.5em;
  border: 2px dashed #bbb;
  background-color: #fff;
  transition: border-color 0.25s ease-in-out;
}
.qc_voice_stt_audio_upload_file_main .stt_audio_upload_file::file-selector-button {
  padding: 1em 1.5em;
  border-width: 0;
  border-radius: 2em;
  background-color: #174d82;
  color: #dbe6f0;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  margin-right: 1em;
}
.qc_voice_stt_audio_upload_file_main .stt_audio_upload_file:hover {
  border-color: #888;
}
.qc_voice_stt_audio_upload_file_main .stt_audio_upload_file:hover::file-selector-button {
  background-color: #1f66ad;
}




.stt_audio_upload_file {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.stt_audio_upload_file_label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  padding: 10px 12px;
  background-color: #4245a8;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
}

.stt_audio_upload_file_label span.dashicons.dashicons-format-audio {
    margin-right: 8px;
}

.qc_voice_stt-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #555;
}

/* The Spinner */
.qc_voice_stt-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db; /* Match your brand color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Optional: Pulse effect for the text */
.qc_voice_stt-loading span {
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}