.qc_voice_to_speech_stt-card { background: #fff; padding: 20px; border: 1px solid #ccd0d4; max-width: 100%; margin-top: 20px; }
.qc_voice_to_speech_stt-section { border-bottom: 1px solid #eee; padding: 15px 0; }
.or-divider { margin: 0 15px; font-weight: bold; color: #888; }
.is-recording { background: #d63638 !important; color: white !important; border-color: #a00 !important; }
#qc_voice_to_speech_stt-result { width: 100%; height: 250px; font-family: monospace; padding: 10px; border-radius: 4px; }
#recording-timer { margin-left: 10px; font-family: monospace; font-size: 16px; }

.qc_voice_to_speech_stt-section .upload-options{
	display: flex;
    justify-content: flex-start;
    align-items: center;
}

#qc_voice_to_speech_stt-result {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Tooltip/Feedback Style */
#btn-copy.copied {
    background-color: #46b450 !important; /* WordPress Green */
    color: white !important;
    border-color: #317a36 !important;
}

/* Force the spinner to be visible when we want it */
#qc_voice_to_speech_stt-loader.is-active {
    visibility: visible;
    display: inline-block;
}

/* Optional: Make it larger or center it */
#qc_voice_to_speech_stt-loader {
    margin: 0 10px;
    vertical-align: middle;
}

#qc_voice_to_speech_stt-loader.is-active {
    visibility: visible;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #2271b1; /* WordPress Blue */
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.button-link-delete {
    color: #d63638 !important; /* WP Red */
    text-decoration: none;
    padding-left: 0 !important;
}

.button-link-delete:hover {
    color: #af0b0e !important;
    text-decoration: none;
}

/* Optional: Add a subtle border to the preview container for better grouping */
#audio-preview-container {
    background: #f6f7f7;
    padding: 10px;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}

.qc_voice_pro{
	background: indianred;
    color: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 10px;
}



/* AI Rewritten Style */
#qc_voice_to_speech_stt-rewrite-result {
    background-color: #fff;
    border: 2px solid #2271b1; /* Highlight with WP Blue */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%; 
    height: 300px; 
    font-family: monospace; 
    padding: 10px; 
    border-radius: 4px; 
    margin-top: 15px;
}

.qc_voice_to_speech_stt-section.result-area h3,
#rewrite-container h3 {
    color: #2271b1;
}

.qc_voice_to_speech_stt-result-wrap{
    display: flex;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: row;
}


/* Base Container */
.qc_voice_to_speech_stt-container { 
    max-width: 100%;
    margin: 0px auto; 
}

/* Desktop Navigation (Tabs) */
.qc_voice_to_speech_stt-list { display: flex; list-style: none; padding: 0; margin: 0; border-bottom: 2px solid #ddd; }
.qc_voice_to_speech_stt-list li { padding: 12px 24px; cursor: pointer; border: 1px solid transparent; border-bottom: none; transition: 0.3s; }
.qc_voice_to_speech_stt-list li.active { background: #fff; border-color: #ddd; border-bottom: 2px solid #fff; margin-bottom: -2px; font-weight: bold; color: #007bff; }

/* Content Area */
.qc_voice_to_speech_stt-content { display: none; padding: 20px; border: 1px solid #ddd; border-top: none; }
.qc_voice_to_speech_stt-content.active { display: block; }

/* Mobile Accordion Headers (Hidden on Desktop) */
.qc_voice_to_speech_stt-header { display: none; padding: 15px; background: #f8f9fa; border: 1px solid #ddd; cursor: pointer; margin-top: 5px; font-size: 1.1rem; }
.qc_voice_to_speech_stt-header.active { background: #007bff; color: white; }


.qc_voice_to_speech_stt-section #qc_voice_to_speech_stt-lang{
  max-width: 200px;
}
.qc_voice_to_speech_stt-section .rewrite-prompt-content{

  width:100%;
  padding-bottom: 15px;

}
.qc_voice_to_speech_stt-section .rewrite-prompt-content label,
.qc_voice_to_speech_stt-section .rewrite-prompt-content input{
  width:100%;

}

/* Responsive Breakpoint (e.g., 768px for tablets/phones) */
@media (max-width: 767px) {
    .qc_voice_to_speech_stt-list { display: none; } /* Hide horizontal tabs */
    .qc_voice_to_speech_stt-header { display: block; } /* Show vertical headers */
    .qc_voice_to_speech_stt-content { border: 1px solid #ddd; border-top: none; }
}




.qc_voice_to_speech_stt-card {
    position: relative;
}

.qc_voice_to_speech_stt-card h3 {
    margin: 0;
    padding: 0 0 12px 0;
    font-size: 18px;
    font-weight: bold;
}
.qc_voice_to_speech_stt-section.result-area h3, #rewrite-container h3 {
    color: #1e293b;
}
.qc_voice_to_speech_stt-section.result-area {
    margin: 0 !important;
}
button#btn-transcribe {
    background-image: linear-gradient(to right, #C3BAEF 0%, #87ABE7 100%) !important;
    padding-top: 15px;
    padding-right: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1em;
}

div#qc_voice_to_speech_stt-1 .qc_voice_to_speech_stt-section {
    margin: 0;
    padding: 0;
    border-radius: 8px;
}
.qc_voice_to_speech_stt-content {
    border-radius: 8px;
}

.qc_voice_to_speech_stt-content {
    border: 1px solid #174d82;
    border-top: 0px solid #174d82;
    border-radius: 0 8px 8px 8px;
    background: #f9f9f9;
}

.qc_voice_to_speech_stt-section p {
    margin: 0;
    padding: 4px 0 10px 0;
    font-size: 12px;
}
.qc_voice_stt_audio_wrapper {
    background: #fff;
    padding: 20px 15px;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.qc_voice_to_speech_stt-file-content {
    display: flex;
    align-items: center;
}
.qc_voice_stt_audio_upload_file_main {
    justify-content: space-between;
}
.qc_voice_stt_audio_upload_file_main {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-direction: row;
  height: 100%;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
}
.qc_voice_stt_audio_upload_file_main .stt_audio_upload_file::file-selector-button {
  padding: 1em 1.5em;
  border-width: 0;
  border-radius: 4px;
  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;
}
select#qc_voice_to_speech_stt-lang {
  width: 100%;
  max-width: 160px;
  padding: .5em .8em;
  line-height: normal;
  padding-right: 2em;
  appearance: none;
  background-position: 98% 50%;
  border-radius: 3px;
  box-shadow: none;
}
.qc_voice_stt_audio_upload_file_main {
    background: #eee;
    padding: 10px;
}

.qc_voice_to_speech_stt-card button#btn-transcribe {
    background-image: linear-gradient(to right, #C3BAEF 0%, #87ABE7 100%) !important;
}
.qc_voice_to_speech_stt-lan label {
    display: none;
}
.or-divider {
    color: #fff;
}
input#stt_audio_upload_file {
    color: #fff;
}

button#qc_voice_stt_youtube_subtitle_generate {
    background-image: linear-gradient(to right, #C3BAEF 0%, #87ABE7 100%) !important;
}

button#qc_voice_stt_vimeo_subtitle_generate {
    background-image: linear-gradient(to right, #C3BAEF 0%, #87ABE7 100%) !important;
}

button#btn-rewrite {
    background-image: linear-gradient(to right, #C3BAEF 0%, #87ABE7 100%) !important;
    color: #fff !important;
    font-weight: bold;
}
.qc_voice_to_speech_stt-content {
    border: 1px solid #e0c3fc;
    border-top: 1px solid #e0c3fc;
    border-radius: 0 8px 8px 8px;
    background: #f9f9f9;
    background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
}


.qc_voice_stt_audio_upload_file_main {
    margin-bottom: 0;
}

  
input#qcld_youtube_video_id {
    background: #fbfbfb8c;
    border: 1px solid #00000026;
    border-radius: 6px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding: 8px 16px;
}

textarea#qc_voice_to_speech_stt-result {
    min-height: 140px;
    height: 140px;
}


.qc_voice_stt_audio_upload_file_main {
background: #FFFFFF;
padding: 10px;
border: 1px solid #eeeeee00;
background-image: linear-gradient(to right, #C3BAEF 0%, #87ABE7 100%);
border-radius: 8px;
box-shadow: rgb(0 0 0 / 18%) 0px 25px 20px -20px;
}

button#record-btn {
  background: #fff;
  color: #000;
  padding-top: 15px;
  padding-right: 30px;
  padding-bottom: 15px;
  padding-left: 30px;
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1em;
}
.qc_voice_to_speech_stt-transcribe-section{
    text-align: center;
    border: 1px solid #eee;
    margin: 25px 0;
    border-radius: 6px;
    border-radius: 8px;
    background: #f9f9f9;
    background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%)palevioletred;
    background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
}

input#qcld_vimeo_video_id {
    background: #fbfbfb8c;
    border: 1px solid #00000026;
    border-radius: 6px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding: 8px 16px;
}
.qc_voice_to_speech_stt-section.qc_voice_to_speech_stt-transcribe-section h3 {
    margin: 0;
    padding: 0;
}
.qc_voice_to_speech_stt-section.qc_voice_to_speech_stt-transcribe-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
div#qc_voice_to_speech_stt-2 .qc_voice_to_speech_stt-section {
    padding: 0;
}

















ul.qc_voice_to_speech_stt-list{
  display: inline-flex;
  background: #e9e9e9;
  padding: 6px;
    border-radius: 0 0 25px;
  gap: 0px;
}

ul.qc_voice_to_speech_stt-list li {
  border: none;
  padding: 8px 18px;
  border-radius: 25px;
  background: transparent;
  font-size: 14px;
  color: #555;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
}

ul.qc_voice_to_speech_stt-list li:hover {
  background: rgba(255, 255, 255, 0.6);
}

ul.qc_voice_to_speech_stt-list li.active {
  background: #ffffff;
  color: #000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
ul.qc_voice_to_speech_stt-list li {
    border-radius: 0 0 25px;
}
.qc_voice_to_speech_stt-list li.active {
    border-bottom: 0px solid #fff;
}


.qc_voice_to_speech_stt-list li.active {
    font-weight: normal;
}


ul.qc_voice_to_speech_stt-list li i {
    padding: 0 8px 0 0;
}
ul.qc_voice_to_speech_stt-list li:hover {
    background: rgb(255 255 255 / 0%);
}


ul.qc_voice_to_speech_stt-list {
  border-radius: 0 0 0;
  width: 100%;
  padding: 0px 0px;
}

.qc_voice_to_speech_stt-content {
    border-top: 0px solid #e0c3fc;
    border-radius: 0 0 8px 8px;
}


.qcld-accordion-box {
    position: relative;
    margin-top:30px;
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

.text_to_speech_wrap {
    width: 96%;
    height: auto;
    background: #e9f9ff;
    padding: 2%;
    border-radius: 4px;
    margin-bottom: 15px;
}