.fileupload-container {
    flex-direction: column; 
    margin-top: 150px;
    margin-bottom: 10%; 
    overflow: hidden;
}

.att-container {
    position: relative;
    width: 100%;
    color: #092540;
    z-index: 90;
    justify-content: center;
    align-items: center;
}

#live_transcript_att_container {
    margin-top: 5%;
}

.input_container {
    display: flex;
    justify-content: center; /* Center the container contents */
    gap: 15px; /* Space between elements */
    margin-bottom: 20px; /* Space below the container */
    align-items: center; /* Vertically align labels and inputs */
}

.fileupload_header {
    position: relative;
    left:25%;
    color:#092540;
    font-size: 35px;
    font-weight: 600;
    margin-top: 5%;
    letter-spacing: 2px;
}

.subtitle_description {
    position: relative;
    left:25%;
    color:#092540;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5%;
    margin-top: 10px;
    letter-spacing: 2px;
}

#audiototext {
    margin-top: 5%;
}

.fileupload_textarea {
    width: 75%;
    height: 250px;
    resize: none;
    border: 1px solid rgb(9, 37, 64, 0.5);
    outline: none;
    padding: 5px;
    border-radius: 3px;
    font-size: 18px;

    display: block;
    margin: 0 auto 20px;
}

#transcriptForm,
#noteFormBody {
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center;
}



input[type=file] {
    width: 350px;
    max-width: 100%;
    color: #092540;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #555;
}

input[type=file]::file-selector-button {
    border: none;
    background: rgb(13, 69, 165, 0.5);
    border: 1px solid #0d45a5;
    width: 140px;
    height: 40px;
    border-radius: 10px;
    color: #0d45a5;
    cursor: pointer;
    transition: background .2s ease-in-out;
    font-size: 12px;
    font-weight: 600;
}
  
input[type=file]::file-selector-button:hover {
    background: #0d45a5;
    color: white;
}

.fileupload_btn {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    border: none;
    background: rgb(99, 85, 218);
    box-shadow: 0px 2px 4px 0px rgb(99, 85, 218, 0.8);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease-in-out;
    z-index: 90;
    width: 50%; 
    max-width: 300px; 
}

#uploadBtn {
    width: 15%;
    color: #092540;
    background-color: white;
    border: 2px solid #092540;
    
}

#uploadBtn:hover {
    background-color: rgb(99, 85, 218, 0.05);
}

#recordButton {
    background: rgb(34, 168, 76, 0.75);
    border: 2px solid rgb(34, 168, 76);
}

#recordButton:hover {
    background: rgb(34, 168, 76);
}

#stopButton {
    background: rgb(168, 34, 34, 0.75);
    border: 2px solid rgb(168, 34, 34);
}

#stopButton:hover {
    background: rgb(168, 34, 34);
}

#downloadButton {
    cursor: default;
}

.flashingButton {
    width: 15px;
    margin-right: 5%;
    border-radius: 50%; /* Makes the button circular */
    animation: pulse 1s infinite;
}

#createnote_btn, #summarize_btn, #audioconvert_btn, #createnote_btn_demo, #convert_btn {
    display: block;
    margin: 0 auto; /* Center the buttons horizontally */
    padding: 10px 40px;
}

#summarize_btn, #audioconvert_btn, #convert_btn {
    margin-top: 20px;
}

#audioconvert_btn {
    margin-bottom: 40px;
}
#summarize_btn, #convert_btn {
    margin-bottom: 10%;
}

#textForm, #docForm, #createNoteForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fileupload_btn:hover {
    background: rgb(99, 85, 218, 0.75);
}

.note_title, .folder_select {
    font-size: 18px;
}

.note_titleinput, .folder_select {
    width: 200px;
    font-size: 18px;
    outline: none;
}

.drop-container {
    position: relative;
    display: flex;
    left: 17%;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 65%;
    height: 200px;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed #555;
    color: #444;
    cursor: pointer;
    transition: background .2s ease-in-out, border .2s ease-in-out;
  }
  
  .drop-container:hover {
    background: #eee;
    border-color: #111;
  }
  
  .drop-container:hover .drop-title {
    color: #222;
  }
  
  .drop-title {
    color: #444;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: color .2s ease-in-out;
  }

  .recording_container {
    display: flex;
    justify-content: space-between; /* Space evenly between buttons */
    gap: 10px; /* Space between buttons */
    margin: 0 auto; /* Center the container if needed */
    width: 80%; /* Adjust the width to fit the buttons */
}

#progressBarOverlay {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  background: radial-gradient(120% 120% at 50% 20%, rgba(99,85,218,0.85), rgba(9,37,64,0.75));
  backdrop-filter: blur(4px);
}

#progressBarContainer {
  width: min(420px, 90vw);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 22px 20px 18px;
  text-align: center;
}

#progressTitle { margin: 0 0 10px; color: #0a2240; font-size: 18px; }

.progress-shell {
  position: relative;
  width: 100%;
  height: 14px;
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1e90ff, #6ea8fe);
  border-radius: 999px;
  transition: width .15s linear;
}

/* Indeterminate animation */
.indeterminate {
  position: relative;
  overflow: hidden;
}
.indeterminate .indeterminate-stripe {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 12px, transparent 12px 24px),
    linear-gradient(90deg, #1e90ff, #6ea8fe);
  transform: translateX(-100%);
  animation: slide 1.1s infinite linear;
}
@keyframes slide {
  to { transform: translateX(100%); }
}

#progressText { margin: 10px 0 4px; font-size: 15px; color: #092540; }
#progressPercent { margin: 0 0 8px; font-size: 13px; color: #5b6b7a; }

.btn-cancel {
  display: inline-block;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  background: #f2f4f8;
  color: #0a2240;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  cursor: pointer;
}
.btn-cancel:hover { background: #e9edf3; }


/* Make dropzone look like a file is already selected */
.drop-container.demo-has-file {
    background: #f7faff;
    border-color: #0d45a5;
}
  
.fake-file-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 6px 12px;
    border: 1px solid #0d45a5;
    border-radius: 9999px;
    color: #0d45a5;
    font-weight: 600;
    font-size: 14px;
}

.drop-title {
    margin-bottom: 6px;
}

#coachmark, #coachmark-file {
    position: absolute;
    z-index: 95; 
    pointer-events: none;
}

/* Speech bubble */
.coach-bubble {
    background: #092540;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    font-weight: 600;
    font-size: 14px;
    max-width: 260px;
}

.coach-arrow {
    width: 140px;
    height: 70px;
    display: block;
    margin-top: 6px;
}

.coach-arrow path { 
    stroke: #092540; 
    stroke-width: 3; 
    fill: none; 
}

#arrowhead polygon { fill: #092540; }

.coach-target-ring {
    position: relative;
    z-index: 1100;
    box-shadow: 0 0 0 0 rgba(99,85,218,0.55);
    animation: coachPulse 1.2s ease-out infinite;
    border-radius: 12px;
}

@keyframes coachPulse {
0%   { box-shadow: 0 0 0 0 rgba(99,85,218,0.55); }
70%  { box-shadow: 0 0 0 12px rgba(99,85,218,0); }
100% { box-shadow: 0 0 0 0 rgba(99,85,218,0); }
}

.coach-arrow.long {
  height: 100px;
}

/* Info button */
.info-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #007bff;
    margin-left: 8px;
    vertical-align: middle;
}

.info-button:hover {
    color: hsl(211, 100%, 22%);
}

.info-popup {
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.info-popup-content {
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    position: relative;
    text-align: left;
}

.info-popup-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.info-popup-content ol {
    margin-top: 5px;   
    padding-left: 8px;    
}

.info-popup-content li {
    margin-bottom: 10px;     
    line-height: 1.5;      
}

.close-popup {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 20px;
    cursor: pointer;
}

#createnote_btn_demo {
    display: inline-flex;    
    align-items: center;    
    justify-content: center;    
    text-align: center;
}

  
  
@media (max-width: 625px) {
    .input_container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 10%;
    }

    .fileupload_textarea {
        width: 90%;
    }

    .drop-container {
        width: 90%;
        left: 0%;
        margin-left: 5%;
    }

    .fileupload_header, .subtitle_description {
        left: 0%;
        text-align: center; /* Centers the text */
    }

    .recording_container {
        width: 95%; /* Adjust the width to fit the buttons */
    }
}

@media (max-width: 530px) {
    .recording_container {
        flex-direction: column;
        width: 100%; /* Full width for smaller screens */
        gap: 10px; /* Maintain gap between stacked buttons */
        align-items: center; /* Center the buttons when stacked */
    }

    #downloadButton {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .fileupload_btn {
        width: 95%;
    }

    .flashingButton {
        width: 15px;
        height: 15px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    
}


