/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/


/* Style for expanded toggle-indicator */
.expanded-indicator {
    color: #007bff; /* Toggle indicator color when expanded (blue) */
}

/* Unique color when the main section is expanded */
.expanded-title {
    color: #ff5733; /* Your unique color for expanded titles */
}

.no-bullets {
    list-style-type: none; /* Remove bullets */
    padding-left: 0; /* Remove padding */
}



#main-ai-multiprompter-section .section-title {
    cursor: pointer;
    
}

#main-ai-multiprompter-section .dropdown-content {
    display: none;
   
}

#main-ai-multiprompter-section .expanded > .dropdown-content {
    display: block;
}

#main-ai-multiprompter-section .subsection h2 {
    cursor: pointer;
    
}

#main-ai-multiprompter-section .subsection .dropdown-content {
    display: none;
}

#main-ai-multiprompter-section .subsection.expanded .dropdown-content {
    display: block;
}

.toggle-indicator {
    font-size: 12px;
}


.assistant-widget {
    position: fixed;
    bottom: 3%;
    right: 3%;
    width: 50px;
    height: 50px;
    background-color: #DAA469;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.assistant-widget:hover {
    transform: scale(1.1);
}

.assistant-widget i {
    color: #fff;
    font-size: 24px;
}

.assistant-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 30vw;
    height: 100vh;
    z-index: 100000;
    justify-content: flex-end;
    pointer-events: none; /* Allow interaction with elements behind the modal */
}

.assistant-modal-content {
    background-color: #fff;
    padding: 20px;
    width: 100%;
    height: calc(100vh - 55px); /* Adjust height to exclude widget size */
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    pointer-events: auto; /* Allow interaction with modal content */
}

/* Media query for mobile viewports */
@media (max-width: 767px) {
    .assistant-widget {
        top: 5%;
        right: 5%;
        bottom: auto; /* Override bottom position */
    }

    .assistant-modal {
        width: 100vw;
        height: 50vh; /* Adjust height to 25% of the viewport height */
        top: 5%;
        bottom: auto; /* Override bottom position */
        left: 0; /* Override right position */
        justify-content: center;
        align-items: flex-start; /* Align items at the top of the modal */
        z-index: 5000; /* High z-index value */
    }

    .assistant-modal-content {
        height: 100%; /* Ensure the content only takes up the modal height */
    }
}


.camera-upload-label {
  display: inline-flex; /* Use inline-flex to center content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  padding: 1.5vw; /* Use viewport width for responsive padding */
  cursor: pointer;
  margin: 1vw; /* Responsive margin */
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #dcdcdc;
  text-align: center;
  font-size: 1.6vw; /* Responsive font size */
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; /* Prevent text selection */
  width: 2vw;
}


.camera-upload-label:hover {
  background-color: #e8e8e8;
}

.camera-upload-label:active {
  background-color: #ddd;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}


.document-upload-label {
  display: inline-flex; /* Use inline-flex to center content */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  padding: 1.5vw; /* Use viewport width for responsive padding */
  cursor: pointer;
  margin: 1vw; /* Responsive margin */
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #dcdcdc;
  text-align: center;
  font-size: 1.6vw; /* Responsive font size */
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; /* Prevent text selection */
  width: 2vw;
}

.document-upload-label:hover {
  background-color: #e8e8e8;
}

.document-upload-label:active {
  background-color: #ddd;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}

/* Default icon size */
.camera-upload-label i, 
.document-upload-label i {
  font-size: 1.6vw; /* Adjust icon size */
}

/* On mobile devices, make the icon size twice as large */
@media (max-width: 768px) {
  .camera-upload-label i, 
  .document-upload-label i {
    font-size: 5.2vw; /* Double the size for mobile devices */
  }
}

/* On mobile devices, set the width to 4vw */
@media (max-width: 768px) {
  .document-upload-label, 
  .camera-upload-label {
    width: 4vw; /* Set width to 4vw on mobile */
  }
}


.admin-only {
    display: none;
}


.custom-model-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.custom-model-title h2 {
    text-align: center;
    color: #333;
}

.custom-model-step {
    margin-bottom: 20px;
}


.custom-model-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.custom-model-button:hover {
    background-color: #0056b3;
}

#custom-question-response-pairs input {
    margin-bottom: 5px;
}

#custom-public-options {
    margin-top: 10px;
}


  .automate-settings-subtitles {
            display: flex;
            justify-content: space-between;
            padding: 0 1.33%; /* Left and right padding of one-third */
            box-sizing: border-box; /* Includes padding in the width calculation */
            width: 100%; /* Full width */
            align-items: center; /* Center items vertically */
            height: 5vh; /* Fixed height for the bar */
            box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Subtle shadow for depth */
        }

.section-title h2 {
    color: #DAA469; /* Setting the text color to a golden shade */
	    cursor: pointer;

}

.section-title h2.expanded-title {
    color: #ff5733 !important; /* Title color when expanded, using !important to ensure it overrides */
}



.import-Zaps {
    
}

.dynamic-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dynamic-input label,
.dynamic-input input {
    margin: 0 5px;
}

.input-variable-name {
    flex-grow: 1;
}


.time-container {
  display: flex;
  justify-content: space-around; /* Adjust this as needed */
  align-items: center;
}

.time-container > div {
  padding: 10px; /* Provides spacing around each input group */
}




#steps-container {
  max-width: 85vw;
  margin: auto; /* Center the container */
  overflow: hidden; /* Ensure the content does not overflow */
}


.steps {
    width: 50vw; /* Sets the width of elements with class "steps" to 50% of the viewport width */
}

.step-select-container {
  text-align: center; /* Centers inline-block or inline elements horizontally */
}

.steps {
  display: inline-block; /* Makes the .steps block-level but able to respect text-align from its container */
  /* Other styles as needed */
}


#step-input {
    width: 15vw; /* Sets the width of the element to be 25% of the viewport width */
}



#ai-connect-convo {
    width: 80%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2vw;
    text-align: center; /* Center text horizontally */
}


/* styles.css */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 1000; /* Ensure it's above everything else */
}

.app-logo {
    -webkit-animation: flashLogo 1s infinite;
            animation: flashLogo 1s infinite; /* Flash every second */
}

@-webkit-keyframes flashLogo {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes flashLogo {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


#visualization-container {
  width: 100%;
  height: 200px;
  background-color: #fceccd;
  overflow: hidden; /* Hide overflow to clip the waves */
}

#visualization-canvas {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 600px) {
    #responseMode {
        width: 100%;
    }
}


.coming-soon-button {
    position: relative;
    z-index: 100; /* Set a higher z-index value */
}

.coming-soon {
    position: absolute;
    bottom: 5px; /* Adjust the distance from the bottom */
    right: 5px; /* Adjust the distance from the right */
    color: red; /* Set the text color to red */
    z-index: 100; /* Set a higher z-index value */
}


header {
    background-color: #fceccf;
    text-align: center;
    min-height: 15vh;
    padding: 20px 0;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for the header */
    border-bottom: 3px solid #ccc; /* Optional border for a "map-like" look */
}

#logo {
    height: 200px; /* Set the logo height to be 10% of the viewport height */
	  width: 200px; /* Set the logo height to be 10% of the viewport height */
    max-height: 100%; /* Ensure the logo is not taller than the header */
    display: inline-block; /* Display as inline-block to center horizontally */
    vertical-align: middle; /* Center vertically within the header */
    margin: 10px 20px; /* Add margin to the top and bottom (10px) and left and right (20px) */
}

header h1 {
    font-family: 'MedievalSharp', cursive; /* This should match the font you chose */
    font-size: 5rem; /* Adjust size as needed */
    color: #5a4a42; /* Choose a color that complements your logo */
    text-shadow: 2px 2px 4px #000000; /* Optional shadow for depth */
    margin-bottom: 20px; /* Add some space below the header */
}


header h1 {
    font-family: 'MedievalSharp', cursive; /* This should match the font you chose */
    font-size: 5rem; /* Adjust size as needed */
    color: #5a4a42; /* Choose a color that complements your logo */
    text-shadow: 2px 2px 4px #000000; /* Optional shadow for depth */
    margin: 10px 20px; /* Add margin to the top and bottom (10px) and left and right (20px) */
}


h2 {
    font-family: 'Old Standard TT', serif;
    font-size: 3.2vw;
    color: #5d4037;
    margin-bottom: 1vw;
    text-align: center;

}

header h2 {
    font-family: 'Old Standard TT', serif;
    font-size: 3.2vw;
    color: #5d4037;
    margin: 10px 20px; /* Add margin to the top and bottom (10px) and left and right (20px) */
}


@media (max-width: 768px) {

h2 {    font-size: 5vw;
}

}


p {
    font-family: 'Old Standard TT', serif;
    font-size: 1vw;
line-height: 1.6;
}

@media (max-width: 768px) {

p {    font-size: 4vw;
}

}


.record-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    position: relative;

}

.record-button .record-dot {
    height: 5vh;
    width: 5vh;
    background-color: #bbb;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.record-button:active .record-dot {
    background-color: red;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
    .record-button {
        width: 15vw; /* Adjust the size for mobile screens */
        height: 15vw;
    }

    .record-button .record-dot {
        height: 40%; /* Adjust the dot size for mobile screens */
        width: 40%;
    }
}


#ai-log {
    width: 100%;
    height: 40vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2vw;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



@media (max-width: 768px) {


#ai-log {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6vw;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}







}


@media (max-width: 600px) {
    .record-button {
        width: 100%;
    }
}


#keyword-input {
    width: 80%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2vw;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

@media (max-width: 768px) {


#keyword-input {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6vw;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


}


#master-prompt-input {
            width: 80vw;  /* 80% of the viewport's width */
            height: 25vh; /* 25% of the viewport's height */
            /* Additional styling for better visibility */
            border: 1px solid #000;
            padding: 10px;
            -webkit-box-sizing: border-box;
                    box-sizing: border-box; /* Ensures padding doesn't affect the specified width and height */
        }



#image-prompts {
  display: -ms-grid;
  display: grid;
  gap: 10px; /* Sets gap between grid items */
  margin-bottom: 20px; /* Space below the grid */
  -ms-grid-columns: 1fr 10px 1fr;
  grid-template-columns: repeat(2, 1fr); /* Creates three columns of equal width */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;

}

#image-prompts h2 {
  font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 10px; /* Space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */

}



@media (max-width: 768px) {


#image-URL {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

}

#image-settings {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



@media (max-width: 768px) {


#image-URL {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

}

#Image-1 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw ; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-2 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw ; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-3 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-4 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



#Image-5 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



#Image-6 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-7 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-8 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-9 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-10 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-11 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



#Image-12 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-13 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-14 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#image-generation-settings {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}




@media (max-width: 768px) {

  #image-prompts {
display: -ms-grid;
display: grid;
gap: 10px; /* Sets gap between grid items */
margin-bottom: 20px; /* Space below the grid */
-ms-grid-columns: 1fr;
grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center; /* Center items vertically */
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center; /* Center items horizontally */
text-align: center;

}

#image-URL {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#image-settings {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw
; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#Image-1 {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw
; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#Image-2 {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw
; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#Image-3 {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw
; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#Image-4 {
  width: 100%;
  height: 35vh; /* Adjusted for better usability */
  margin-bottom: 1vw;
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 6.0vw
; /* Larger font size for readability */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#image-generation-settings {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-5 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



#Image-6 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-7 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-8 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-9 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}



#Image-10 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-11 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-12 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}


#Image-13 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#Image-14 {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 6.0vw
; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

}



#image-to-keywords {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    margin-bottom: 1vw;
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 1.6em; /* Larger font size for readability */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
}

#chat-gpt-section {
  margin-bottom: 1vw;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}
#custom-instructions {
  display: -ms-grid;
  display: grid;
  gap: 10px; /* Sets gap between grid items */
  margin-bottom: 20px; /* Space below the grid */
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;

}

#custom-instructions  label {
  font-size: 1em; /* Adjust the font size as necessary */
  margin-bottom: 5px; /* Space between label and input */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#custom-instructions  textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 10px; /* Space between input and select */
  font-size: 2.0vw
; /* Larger font size for readability */
  height: 35vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 100%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Include padding and border in the width calculation */
  resize: none; /* Disallow resizing */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

#custom-instructions  select {

  width: 100%; /* Full width */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
  height: 10vh; /* Set a fixed height */

  }



  #image-prompts  select {

    width: 100%; /* Full width */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
    height: 10vh; /* Set a fixed height */

    }


    #SERP-prompts  select {

      width: 100%; /* Full width */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center;
      height: 10vh; /* Set a fixed height */

      }

 #image-prompts  select {

      width: 100%; /* Full width */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center;
      height: 10vh; /* Set a fixed height */

      }


  @media (max-width: 768px) {

    #custom-instructions {
      display: -ms-grid;
      display: grid;
      gap: 10px; /* Sets gap between grid items */
      margin-bottom: 20px; /* Space below the grid */
      -ms-grid-columns: 1fr;
      grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center;

    }

    #custom-instructions  label {
      font-size: 1em; /* Adjust the font size as necessary */
      margin-bottom: 5px; /* Space between label and input */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center;
      width: 100%; /* Full width */
      height: 5vh; /* Set a fixed height */


    }

    #custom-instructions  textarea {
      background-color: #f9f9f9; /* Light background for the text area */
      padding: 20px; /* More padding for larger space */
      margin-bottom: 10px; /* Space between input and select */
      font-size: 1.4em; /* Larger font size for readability */
      height: 35vh; /* Set a fixed height */
      border: 1px solid #ddd; /* Subtle border */
      width: 100%; /* Full width */
      -webkit-box-sizing: border-box;
              box-sizing: border-box; /* Include padding and border in the width calculation */
      resize: none; /* Disallow resizing */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center;
    }

    #custom-instructions  select {

      width: 100%; /* Full width */
      height: 5vh; /* Set a fixed height */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center;

      }

      #image-prompts  select {

        width: 100%; /* Full width */
        height: 5vh; /* Set a fixed height */
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center; /* Center items vertically */
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center; /* Center items horizontally */
        text-align: center;

        }


        #SERP-prompts  select {

          width: 100%; /* Full width */
          height: 5vh; /* Set a fixed height */
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center; /* Center items vertically */
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center; /* Center items horizontally */
          text-align: center;

          }


		#audio-prompts  select {

          width: 100%; /* Full width */
          height: 5vh; /* Set a fixed height */
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center; /* Center items vertically */
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center; /* Center items horizontally */
          text-align: center;

          }

  }



hr {
  margin: 0;
 border: 0;
 border-top: 2px dashed #a1887f;
}

#chat-gpt-checkboxes {
    background-color: #a1887f; /* Darker color for higher contrast */
    padding: 1vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; /* Use flexbox to layout children */
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; /* Wrap items to the next row if they don't fit */
    -ms-flex-pack: distribute;
        justify-content: space-around;
    font-size: 2.4vw; /* Adjustable font size for readability */

}

.checkbox-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; /* Align checkboxes in a row */
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%; /* Make sure each .checkbox-row takes full width */
    -ms-flex-pack: distribute;
        justify-content: space-around; /* Space checkboxes evenly */
    margin-bottom: 1vw; /* Add space between rows */
    font-size: 2.4vw;

}

#chat-gpt-checkboxes label {
    color: #f5f5f5; /* Light color for text for higher contrast */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; /* Use flex to align checkbox and label text */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Vertically center align items */
    font-size: 1em; /* Adjustable font size for readability */

}


/* Hide desktop checkboxes and style mobile dropdowns on mobile screens */
@media screen and (max-width: 600px) {


    .dropdown-container {
        width: 100%; /* Full width of the viewport */
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex; /* Flex layout for alignment */
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; /* Stack dropdowns vertically */
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center; /* Center align dropdowns */
        margin-top: 10px; /* Add some space at the top */
    }

    .dropdown {
        width: 100%; /* Full width for each dropdown */
        margin-bottom: 10px; /* Space between dropdowns */
    }

    .dropdown-toggle {
        width: 100%; /* Full width for the toggle button */
        background-color: #8d6e63; /* Button background color */
        color: white; /* Button text color */
        border: none;
        border-radius: 5px;
        padding: 10px; /* Padding inside the button */
        font-size: 4vw; /* Larger font size for readability */
        text-align: center; /* Center align text */
        cursor: pointer;
    }

    .dropdown-menu {
        width: 100%; /* Full width for the dropdown menu */
        display: none; /* Initially hide the dropdown content */
        background-color: #a1887f; /* Menu background color */
        border-radius: 5px;
        padding: 10px; /* Padding inside the menu */
        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
                box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Shadow for a floating effect */
    }

    .close-dropdown {
        position: absolute; /* Position the close button */
        top: 10px; /* Position from the top of the dropdown */
        right: 10px; /* Position from the right of the dropdown */
        background-color: transparent;
        border: none;
        font-size: 5vw; /* Large close button for easy tapping */
        cursor: pointer;
    }

    /* Show the dropdown menu when the toggle is clicked */
    .dropdown-toggle.active + .dropdown-menu {
        display: block;
    }

    /* Style for each checkbox row in the dropdown menu */
    .checkbox-row {
        width: 100%; /* Full width of the dropdown menu */
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex; /* Align checkboxes in a row */
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between; /* Evenly space checkboxes */
        margin-bottom: 10px; /* Space between rows */
    }
}

@media screen and (min-width: 1024px) {
    .expanded .dropdown-content {
        display: block; /* Show content for expanded sections */
    }
}


button {
    background-color: #8d6e63;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 2% 3%; /* Adjust padding for better tap targets on mobile */
    font-size: 4vw; /* Larger font size for readability on mobile */
    cursor: pointer;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    -webkit-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
    width: 33vw; /* Width relative to viewport width */
    min-height: 5vh; /* Minimum height relative to viewport height */
}


button:hover {
    background-color: #6d4c41;
}

/* Adjustments for desktop screens */
@media screen and (min-width: 600px) {
    button {
        font-size: 1.0vw; /* Smaller font size for desktop */
        padding: 1vw 2vw; /* Adjust padding for desktop */
        width: auto; /* Auto width or a fixed width as per desktop design */
        min-height: initial; /* Reset min-height for desktop */
    }
}
/* Global styles */
body {
    font-size: 16px; /* Base font size */
}

/* Style for the results table container */
#results-table-container {
    overflow-x: hidden; /* Enable horizontal scrolling */
    width: 100%; /* Container width */
}

/* Style for the results table */
#results-table {
  width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed; /* Fixed table layout for consistent column widths */
}

#results-table th, #results-table td {
    width: 200px; /* Fixed width for headers and cells */
    height: 10vh; /* Height for headers and cells */
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer; /* Indicate that cells are interactive */
    font-size: 3vw; /* Relative font size for mobile */
}

#results-table th {
    width: 200px; /* Adjust width as needed */
    height: 10vh; /* Height for headers */
    padding-left: 10px; /* Adds space to the left of the content */
    padding-right: 10px; /* Adds space to the right of the content */
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 3vw; /* Relative font size for mobile */
    /* Add additional styles as needed */
}


/* Adjusting for desktop view */
@media screen and (min-width: 600px) {
    #results-table th, #results-table td {
        font-size: 1vw; /* Smaller font size for desktop */
    }
}



/* Style for expanded cell */
.expanded-cell {
    position: absolute;
    background-color: white;
    z-index: 10;
    width: auto;
    max-height: 50vh;
    overflow-y: auto;
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    white-space: normal;
}

/* Removing hover effect for fixed cell size */
#results-table td:hover {
    /* Removed styles that cause expansion */
}

/* Style for editable content */
.editable {
    outline: 2px dashed #8d6e63;
    padding: 5px;
    cursor: text;
}

/* Style for scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Results menu responsiveness */
#results-menu {
    height: 80vh; /* Set the height for mobile viewports */
    overflow: auto; /* Enable scrolling for the entire menu */
}

#progress-container {
  width: 80%;
    background-color: #d7ccc8;
    margin: 20px auto; /* Center the progress bar and add vertical spacing */
    border: 2px solid #a1887f;
    border-radius: 10px;
    overflow: hidden; /* Ensures the inner bar stays within the border radius */
}

#progress-bar {
    width: 0%;
    height: 30px;
    background-color: #8d6e63; /* Brown color to match the button */
    text-align: center;
    line-height: 30px;
    color: white;
    -webkit-transition: width 0.4s ease-in-out;
    -o-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

#progress-text, #fetch-status {
    text-align: center;
    margin-top: 10px;
    color: #3e2723;
    font-size: 2vw; /* 1.0% of the viewport width */
    max-height: 35vh; /* Maximum vertical height */
    overflow: hidden; /* Hide overflow */
    white-space: nowrap; /* Prevent wrapping of text */
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis; /* Add ellipsis to truncated text */
}


#table-container {
    max-height: 500px; /* Adjust as needed */
    max-width: 100%; /* Adjust if you want a specific max width */
    overflow: scroll; /* Adds scrollbars when content overflows */
    border: 1px solid #ddd; /* Optional, for visual effect to see the container edges */
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 75%; /* Adjust based on screen size */
  height: 75%; /* Adjust based on screen size */
  max-height: 80vh; /* Maximum height */
  overflow-y: auto; /* Enable vertical scroll */
}

/* Modal Text */
.modal-content p {
  font-size: 1.4em; /* Larger font size for readability */
  margin: 0;
  padding: 0.5em; /* Padding inside the modal */
}


.checkbox-label {
  display: block;
  background-color: #333; /* Dark background for high contrast */
  color: #fff; /* White text for readability */
  padding: 10px;
  margin-bottom: 5px;
  width: 20vw; /* Set the width to 20% of the viewport width */
  border-radius: 5px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; /* Prevent text selection */
  -webkit-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease; /* Smooth background color transition */
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-label:hover {
  background-color: #555; /* Slightly lighter background on hover */
}


/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}




#article-settings {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 10px 1fr 10px 1fr;
grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
gap: 10px; /* Sets gap between grid items */
margin-bottom: 20px; /* Space below the grid */
}




/* Style for article instructions textarea */
#article-settings textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 20px; /* Space below each text area */
  font-size: 2.0vw
; /* Larger font size for readability */
  height: 35vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 100%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Border box for proper sizing */
  resize: vertical; /* Allow vertical resizing only */
}

#article-settings h2 {
  font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}



  @media (max-width: 768px) {

    #article-settings textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 20px; /* Space below each text area */
  font-size: 6.0vw
; /* Larger font size for readability */
  height: 35vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 100%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Border box for proper sizing */
  resize: vertical; /* Allow vertical resizing only */
}

		#article-settings {
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[1];
grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
margin-bottom: 20px; /* Space below the grid */
}


    #article-settings h2 {
      font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}
}




#article-linking-settings {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr;
grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
gap: 10px; /* Sets gap between grid items */
margin-bottom: 20px; /* Space below the grid */
}




/* Style for article instructions textarea */
#article-linking-settings textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 20px; /* Space below each text area */
  font-size: 2.0vw
; /* Larger font size for readability */
  height: 45vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 90%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Border box for proper sizing */
  resize: vertical; /* Allow vertical resizing only */
}

#article-linking-settings h2 {
  font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}



  @media (max-width: 768px) {

    #article-linking-settings textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 20px; /* Space below each text area */
  font-size: 6.0vw
; /* Larger font size for readability */
  height: 35vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 100%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Border box for proper sizing */
  resize: vertical; /* Allow vertical resizing only */
}

		#article-linking-settings {
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[1];
grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
margin-bottom: 20px; /* Space below the grid */
}


    #article-linking-settings h2 {
      font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}
}




#image-thumbnails {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
}

.image-thumbnail {
  margin-right: 10px; /* Adjust as needed for spacing */
  position: relative;
  /* You can add a border or shadow if you like */
  border: 1px solid #ccc;
  -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
          box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.image-thumbnail img {
  height: 15vh; /* Increase the height */
  width: auto; /* Maintain aspect ratio */
  margin-bottom: 5px; /* Space below the image */
}




#document-thumbnails {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
}

.document-thumbnail {
  margin-right: 10px; /* Adjust as needed for spacing */
  position: relative;
  /* You can add a border or shadow if you like */
  border: 1px solid #ccc;
  -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
          box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.document-thumbnail img {
  height: 15vh; /* Increase the height */
  width: auto; /* Maintain aspect ratio */
  margin-bottom: 5px; /* Space below the image */
}

.image-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: red;
  color: white;
  padding: 0 5px;
  cursor: pointer;
  /* Additional styles for the remove button */
  border-radius: 0 0 0 5px;
}
.custom-file-upload {
  padding: 1.5vw 4vw; /* Use viewport width for responsive padding */
  cursor: pointer;
  margin: 1vw; /* Responsive margin */
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #dcdcdc;
  text-align: center;
  font-size: 1.6vw; /* Responsive font size */
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; /* Prevent text selection */
  place-items: center; /* Center items both horizontally and vertically */
  width: 15vw;

}

.custom-file-upload:hover {
  background-color: #e8e8e8;
}

.custom-file-upload:active {
  background-color: #ddd;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
          box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  -webkit-transform: translateY(2px);
      -ms-transform: translateY(2px);
          transform: translateY(2px);
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
  .custom-file-upload {
    padding: 3vw 8vw; /* Increase padding for better touch targets */
    font-size: 1.6vw; /* Increase font size for better readability */
  }
}

/* Adjustments for very large screens */
@media (min-width: 1024px) {
  .custom-file-upload {
    padding: 1vw 2.5vw; /* Adjust padding for larger screens */
    font-size: 1.6vw; /* Adjust font size for larger screens */
  }
}

.upload-container {
  display: -ms-grid;
  display: grid; /* Use Grid */
  place-items: center; /* Center items both horizontally and vertically */
  /* Add any other styles for the container */
}
#image-and-reference-container {
  display: -ms-grid;
  display: grid;
  gap: 10px; /* Sets gap between grid items */
  -ms-grid-columns: 1fr 10px 1fr;
  grid-template-columns: repeat(2, 1fr); /* Creates two columns, each taking up half the width */
  margin-bottom: 20px; /* Space below the grid */
  width: 100%; /* Ensures the grid container fits the width of its parent */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Content box includes padding and border */
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start; /* Aligns items to the start of the container vertically */
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; /* Distributes extra space between items */
  text-align: center;
}

#image-and-reference-container h2 {
  font-size: 1.0em; /* Larger font size for the heading */
  margin: 0; /* Removes default margin to prevent overflow */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
}

#image-and-reference-container textarea {
  width: 100%; /* Textarea width will fill the cell */
  height: 35vh; /* Adjusted for better usability */
  padding: 1vw;
  border: 2px solid #d7ccc8;
  background-color: #efebe9;
  color: #5d4037;
  font-size: 2.0vw; /* Larger font size for readability */
  text-align: left; /* Align text to the left */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Content box includes padding and border */
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  #image-and-reference-container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr; /* Only one column on mobile */

  }

  #image-and-reference-container h2 {
    /* Additional mobile-specific styles for h2 if needed */
  }

  #image-and-reference-container textarea {
    font-size: 6.0vw; /* Larger font size for readability */
  /* Additional mobile-specific styles for textarea if needed */
  }
}

.token-container {
display: -ms-grid;
display: grid;
gap: 10px; /* Sets gap between grid items */
margin-bottom: 20px; /* Space below the grid */
-ms-grid-columns: 1fr 10px 1fr 10px 1fr;
grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center; /* Center items vertically */
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center; /* Center items horizontally */
text-align: center; }

@media (max-width: 768px) {
    .token-container {
      display: -ms-grid;
      display: grid;
      gap: 5px; /* Sets gap between grid items */
      margin-bottom: 20px; /* Space below the grid */
      -ms-grid-columns: 1fr 5px 1fr 5px 1fr;
      grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center; /* Smaller padding on smaller screens */
    }
}



#token-used {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    padding: 10px; /* Add some padding */
    margin: 10px 0; /* Margin for spacing */
    background-color: #8d6e63; /* Background color matching previous styles */
    color: #ffffff; /* Text color */

    border-radius: 5px; /* Rounded corners */
    font-size: 2.0vw
; /* Responsive font size */
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content; /* Fit the width to content */
    margin-left: auto; /* Auto margin for horizontal centering */
    margin-right: auto; /* Auto margin for horizontal centering */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Prevent text selection */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #token-used {
      font-size: 2.0vw
; /* Responsive font size */
        padding: 8px; /* Smaller padding on smaller screens */
        background-color: #8d6e63; /* Background color matching previous styles */
        color: #ffffff; /* Text color */

    }
}


#token-buy:hover {
    background-color: #43A047; /* Darker shade on hover */
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px); /* Slight lift effect on hover */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

#token-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    padding: 10px; /* Add some padding */
    margin: 10px 0; /* Margin for spacing */
    background-color: #8d6e63; /* Background color matching previous styles */
    color: #ffffff; /* Text color */
    border-radius: 5px; /* Rounded corners */
    font-size: 2.0vw
; /* Responsive font size */
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content; /* Fit the width to content */
    margin-left: auto; /* Auto margin for horizontal centering */
    margin-right: auto; /* Auto margin for horizontal centering */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Prevent text selection */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #token-left {
      font-size: 2.0vw
; /* Responsive font size */
      padding: 8px; /* Smaller padding on smaller screens */
      background-color: #8d6e63; /* Background color matching previous styles */
      color: #ffffff; /* Text color */
    }
}


#token-left:hover {
    background-color: #43A047; /* Darker shade on hover */
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px); /* Slight lift effect on hover */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

#token-buy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    padding: 10px; /* Add some padding */
    margin: 10px 0; /* Margin for spacing */
    background-color: #8d6e63; /* Background color matching previous styles */
    color: #ffffff; /* Text color */
    border-radius: 5px; /* Rounded corners */
    font-size: 2.0vw
; /* Responsive font size */
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    margin-left: auto; /* Auto margin for horizontal centering */
    margin-right: auto; /* Auto margin for horizontal centering */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Prevent text selection */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #token-buy {
      font-size: 2.0vw
; /* Responsive font size */
      padding: 8px; /* Smaller padding on smaller screens */
      background-color: #8d6e63; /* Background color matching previous styles */
      color: #ffffff; /* Text color */
      width: -webkit-fit-content;
      width: -moz-fit-content;
      width: fit-content; /* Fit the width to content */

    }
}


#token-buy:hover {
    background-color: #43A047; /* Darker shade on hover */
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px); /* Slight lift effect on hover */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

.master-prompt-header {
    display: -ms-grid;
    display: grid;
    gap: 2%; /* Gap between grid items as a percentage */
    margin-bottom: 5%; /* Space below the grid as a percentage */
    -ms-grid-columns: 1fr 2% 1fr 2% 1fr;
    grid-template-columns: repeat(3, 1fr); /* Keeps three columns of equal width */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    text-align: center;
    padding-left: 2%; /* Add padding to ensure content does not touch the edges */
    padding-right: 2%; /* Add padding to ensure content does not touch the edges */
}

.master-prompt-header .dropdown select,
.master-prompt-header .dropdown input[type="text"] { /* Targets text input fields */
    width: 100%; /* Ensures the element fills the container */
    text-align: center; /* Centers text within the element */
    padding: 0.5em 0.5em; /* Add some padding inside the element */
    -webkit-box-sizing: border-box;
            box-sizing: border-box; /* Ensures padding doesn't affect overall width */
    border: 1px solid #ccc; /* Adds a border for better visibility */
    background-color: white; /* Sets a background color for the element */
    border-radius: 4px; /* Rounds the corners of the element */
    /* More styles for cross-browser compatibility and aesthetics */
}

.master-prompt-header > .dropdown {
    width: 100%; /* Ensure the dropdowns do not exceed the grid item's width */
    -webkit-box-sizing: border-box;
            box-sizing: border-box; /* Include padding and border in the width */
    padding: 1%; /* Responsive padding for each dropdown */
    margin: 0; /* Remove default margins if any */
    font-size: 3.5vw; /* Font size that scales with the viewport width */
    overflow: hidden; /* Hide overflow content */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 600px) {
    .master-prompt-header {
        gap: 4%; /* Increase gap for better touch targets on smaller screens */
        margin-bottom: 4%; /* Adjust bottom margin for smaller screens */
        font-size: 4vw; /* Increase font size for better readability */
    }

    .master-prompt-header > .dropdown {
        font-size: 4vw; /* Adjust dropdown font size for smaller screens */
    }
}

@media screen and (max-width: 400px) {
    .master-prompt-header {
        gap: 6%; /* Further increase gap for the smallest screens */
        margin-bottom: 6%; /* Adjust bottom margin for the smallest screens */
        font-size: 5vw; /* Further increase font size for readability */
    }

    .master-prompt-header > .dropdown {
        font-size: 5vw; /* Adjust dropdown font size for very small screens */
    }
}





.dropdown {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; /* Aligns the label and select box in a column */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center items horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center items vertically */
}


.token-container {
display: -ms-grid;
display: grid;
gap: 10px; /* Sets gap between grid items */
margin-bottom: 20px; /* Space below the grid */
-ms-grid-columns: 1fr 10px 1fr 10px 1fr;
grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center; /* Center items vertically */
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center; /* Center items horizontally */
text-align: center; }

@media (max-width: 768px) {
    .token-container {
      display: -ms-grid;
      display: grid;
      gap: 5px; /* Sets gap between grid items */
      margin-bottom: 20px; /* Space below the grid */
      -ms-grid-columns: 1fr 5px 1fr 5px 1fr;
      grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; /* Center items vertically */
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center; /* Center items horizontally */
      text-align: center; /* Smaller padding on smaller screens */
    }
}



#token-used-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    padding: 10px; /* Add some padding */
    margin: 10px 0; /* Margin for spacing */
    background-color: #8d6e63; /* Background color matching previous styles */
    color: #ffffff; /* Text color */

    border-radius: 5px; /* Rounded corners */
    font-size: 2.0vw
; /* Responsive font size */
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content; /* Fit the width to content */
    margin-left: auto; /* Auto margin for horizontal centering */
    margin-right: auto; /* Auto margin for horizontal centering */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Prevent text selection */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #token-used-bottom {
      font-size: 2.0vw
; /* Responsive font size */
        padding: 8px; /* Smaller padding on smaller screens */
        background-color: #8d6e63; /* Background color matching previous styles */
        color: #ffffff; /* Text color */

    }
}


#token-buy-bottom:hover {
    background-color: #43A047; /* Darker shade on hover */
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px); /* Slight lift effect on hover */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

#token-left-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    padding: 10px; /* Add some padding */
    margin: 10px 0; /* Margin for spacing */
    background-color: #8d6e63; /* Background color matching previous styles */
    color: #ffffff; /* Text color */
    border-radius: 5px; /* Rounded corners */
    font-size: 2.0vw
; /* Responsive font size */
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content; /* Fit the width to content */
    margin-left: auto; /* Auto margin for horizontal centering */
    margin-right: auto; /* Auto margin for horizontal centering */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Prevent text selection */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #token-left-bottom {
      font-size: 2.0vw
; /* Responsive font size */
      padding: 8px; /* Smaller padding on smaller screens */
      background-color: #8d6e63; /* Background color matching previous styles */
      color: #ffffff; /* Text color */
    }
}


#token-left-bottom:hover {
    background-color: #43A047; /* Darker shade on hover */
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px); /* Slight lift effect on hover */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

#token-buy-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    padding: 10px; /* Add some padding */
    margin: 10px 0; /* Margin for spacing */
    background-color: #8d6e63; /* Background color matching previous styles */
    color: #ffffff; /* Text color */
    border-radius: 5px; /* Rounded corners */
    font-size: 2.0vw
; /* Responsive font size */
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    margin-left: auto; /* Auto margin for horizontal centering */
    margin-right: auto; /* Auto margin for horizontal centering */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Prevent text selection */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #token-buy-bottom {
      font-size: 2.0vw
; /* Responsive font size */
      padding: 8px; /* Smaller padding on smaller screens */
      background-color: #8d6e63; /* Background color matching previous styles */
      color: #ffffff; /* Text color */
      width: -webkit-fit-content;
      width: -moz-fit-content;
      width: fit-content; /* Fit the width to content */

    }
}


#token-buy-bottom:hover {
    background-color: #43A047; /* Darker shade on hover */
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px); /* Slight lift effect on hover */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}



#SERP-analysis {
    display: -ms-grid;
    display: grid;
    gap: 10px; /* Sets gap between grid items */
    margin-bottom: 20px; /* Space below the grid */
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: repeat(2, 1fr); /* Two columns of equal width */
}

#audio-analysis {
    display: -ms-grid;
    display: grid;
    gap: 10px; /* Sets gap between grid items */
    margin-bottom: 20px; /* Space below the grid */
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: repeat(2, 1fr); /* Two columns of equal width */
}



.image-options {
    display: -ms-grid;
    display: grid;
    gap: 10px; /* Sets gap between grid items */
    margin-bottom: 20px; /* Space below the grid */
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
    grid-template-columns: repeat(4, 1fr); /* Two columns of equal width */
	    height: 10vh; /* Adjusted for better usability */
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */

}


/* Media query for screens with a maximum width of 768px (typical mobile width) */
@media (max-width: 768px) {
    .image-options {
  display: -ms-grid;
  display: grid;
    gap: 10px; /* Sets gap between grid items */
    margin-bottom: 20px; /* Space below the grid */
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr); /* Two columns of equal width */
	    height: 10vh; /* Adjusted for better usability */
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center; /* Center the text horizontally */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; /* Center the text vertically */
    }
}

.audio-dropdowns {
    display: grid;
    gap: 10px; /* Sets gap between grid items */
    margin-bottom: 20px; /* Space below the grid */
    grid-template-columns: repeat(4, 1fr); /* Adjust number of columns based on elements */
    align-items: center; /* Center the items vertically */
}

.audio-dropdowns label {
    grid-column: span 1; /* Ensure each label spans one column */
    text-align: right; /* Align text to the right */
    margin-right: 10px; /* Add space between label and input/select */
}

.audio-dropdowns select,
.audio-dropdowns input {
    grid-column: span 3; /* Ensure each input/select spans three columns */
}


.serp-prompt h2 {
    font-size: 1.0em; /* Larger font size for the heading */
    margin-bottom: 10px; /* Space below the heading */
    text-align: center; /* Center the heading */
    color: #333; /* Dark text for contrast */
}

.serp-prompt textarea {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw; /* Larger font size for readability */
    text-align: center;
}



.audio-prompt h2 {
    font-size: 1.0em; /* Larger font size for the heading */
    margin-bottom: 10px; /* Space below the heading */
    text-align: center; /* Center the heading */
    color: #333; /* Dark text for contrast */
}

.audio-prompt textarea {
    width: 100%;
    height: 35vh; /* Adjusted for better usability */
    padding: 1vw;
    border: 2px solid #d7ccc8;
    background-color: #efebe9;
    color: #5d4037;
    font-size: 2.0vw; /* Larger font size for readability */
    text-align: center;
}



  @media (max-width: 768px) {

    #SERP-analysis textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 20px; /* Space below each text area */
  font-size: 6.0vw
; /* Larger font size for readability */
  height: 35vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 100%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Border box for proper sizing */
  resize: vertical; /* Allow vertical resizing only */
}

	  #SERP-prompts {
  display: -ms-grid;
  display: grid;
  gap: 10px; /* Sets gap between grid items */
  margin-bottom: 20px; /* Space below the grid */
  -ms-grid-columns: 1fr;
  grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;

}

		#SERP-analysis {
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[1];
grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
margin-bottom: 20px; /* Space below the grid */
}


    #SERP-analysis h2 {
      font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}

		 #audio-analysis textarea {
  background-color: #f9f9f9; /* Light background for the text area */
  padding: 20px; /* More padding for larger space */
  margin-bottom: 20px; /* Space below each text area */
  font-size: 6.0vw
; /* Larger font size for readability */
  height: 35vh; /* Set a fixed height */
  border: 1px solid #ddd; /* Subtle border */
  width: 100%; /* Full width */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Border box for proper sizing */
  resize: vertical; /* Allow vertical resizing only */
}

	  #audio-prompts {
  display: -ms-grid;
  display: grid;
  gap: 10px; /* Sets gap between grid items */
  margin-bottom: 20px; /* Space below the grid */
  -ms-grid-columns: 1fr;
  grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;

}

		#audio-analysis {
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[1];
grid-template-columns: repeat(1, 1fr); /* Creates three columns of equal width */
margin-bottom: 20px; /* Space below the grid */
}


    #SERP-analysis h2 {
      font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}


    #audio-analysis h2 {
      font-size: 1.0em; /* Larger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  text-align: center; /* Center the heading */
  color: #333; /* Dark text for contrast */
  font-weight: bold; /* Bold font weight */
}


}
/* Styling for .bottom-buttons-container */
/* Styling for .bottom-buttons-container */
.bottom-buttons-container {
  display: -ms-grid;
  display: grid;
  gap: 5px; /* Sets gap between grid items */
  margin-bottom: 20px; /* Space below the grid */
  -ms-grid-columns: 1fr 5px 1fr 5px 1fr;
  grid-template-columns: repeat(3, 1fr); /* Creates three columns of equal width */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Center items vertically */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center items horizontally */
  text-align: center;
}

/* Styling for #button-container */
#button-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around; /* Distribute buttons evenly */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1%;
  padding: 1vw 2vw;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .bottom-buttons-container {
    /* Adjust the gap and margin for smaller screens if necessary */
    gap: 2px;
    margin-bottom: 10px;
    /* Maintain the 3-column layout */
    -ms-grid-columns: 1fr 2px 1fr;
    grid-template-columns: repeat(2, 1fr);
  }

  #button-container {
    /* Ensure that flex items are not wrapped and are aligned in a single row */
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    /* Adjust other properties as needed for mobile layout */
    padding: 0.5vw 1vw;
    gap: 1%;
  }
}




    .dropdown-content {
        display: block;
    }

    .expanded .dropdown-content {
        display: block;
    }

    .expanded h2 .toggle-indicator::after {
        content: '-';
    }


.section-subtitle h2 {
    font-family: inherit; /* Or your desired font */
    font-size: 1.0vw; /* Desired size */
    color: inherit; /* Or your desired color */
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: normal;
}

#token-buy a {
    color: inherit; /* Inherits the text color from #token-buy */
    text-decoration: none; /* Removes underline */
    background-color: transparent; /* No background color for the link */
    display: block; /* Making the link a block element */
    margin: 0; /* No additional margin for the link */
    padding: 0; /* No additional padding for the link */
    border: none; /* No border for the link */
    font-size: inherit; /* Inherits the font size from #token-buy */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Inherits the user-select from #token-buy */
}

#token-buy a:hover {
    color: #43A047; /* Change text color on hover, you can adjust as needed */
    text-decoration: underline; /* Underline on hover, optional */
}


#token-buy-bottom a {
    color: inherit; /* Inherits the text color from #token-buy */
    text-decoration: none; /* Removes underline */
    background-color: transparent; /* No background color for the link */
    display: block; /* Making the link a block element */
    margin: 0; /* No additional margin for the link */
    padding: 0; /* No additional padding for the link */
    border: none; /* No border for the link */
    font-size: inherit; /* Inherits the font size from #token-buy */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* Inherits the user-select from #token-buy */
}

#token-buy-bottom a:hover {
    color: #43A047; /* Change text color on hover, you can adjust as needed */
    text-decoration: underline; /* Underline on hover, optional */
}



.processing-bubble {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    display: none; /* Hidden by default */
}

.processing-bubble .dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    -webkit-animation: dotFlashing 1s infinite linear alternate;
            animation: dotFlashing 1s infinite linear alternate;
}

.processing-bubble .processing-text {
    margin-left: 10px;
    font-weight: bold;
}

@-webkit-keyframes dotFlashing {
    0% { background-color: #555; }
    50% { background-color: #bbb; }
    100% { background-color: #555; }
}

@keyframes dotFlashing {
    0% { background-color: #555; }
    50% { background-color: #bbb; }
    100% { background-color: #555; }
}

.hidden {
    display: none;
}

.visible {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; /* Change to flex for proper alignment */
}

.disabled {
  opacity: 0.5; /* Reduce opacity to make elements appear greyed out */
  pointer-events: none; /* Disable pointer events to prevent interaction */
  /* Add additional styling as needed */
}




#model-Image-1,
#model-Image-2,
#model-Image-3,
#model-Image-4,
#model-Image-5,
#model-Image-6,
#model-Image-7,
#model-Image-8,
#model-Image-9,
#model-Image-10,
#model-Image-11,
#model-Image-12,
#model-Image-13,
#model-Image-14 {
    display: none;
}
