.documentation-container {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.documentation-container h5 {
    font-family: Arial, sans-serif;
    /* color: blue; */
    line-height: 1.6;
    /* Add any additional styles here */
}

.documentation-container h4 {
    font-family: Arial, sans-serif;
    color: blue;
    line-height: 1.6;
    /* Add any additional styles here */
}

.documentation-container h3 {
    color: blue;
    /* Add any additional styles here */
}    

.custom-list {
    /* color: blue; */
}

.documentation-container ol, .documentation-container p {
    margin-left: 20px;
}

/* Style for code elements within documentation (e.g., button names, field labels) */
.documentation-container code {
    font-family: 'Courier New', Courier, monospace; /* Monospace font for code-like appearance */
    font-weight: bold; /* Bold for emphasis, matching <strong> */
    background-color: #f0f0f0; /* Light gray background for code highlighting */
    padding: 2px 4px; /* Padding for better visual separation */
    border-radius: 4px; /* Slight rounding for modern look */
    color: #333; /* Default text color, can be adjusted */
}

/* Style for data-related code elements (e.g., "Upload Data File (CSV)", "Generate Random Data & Curves") */
.documentation-container strong code {
    color: #006400; /* Green for data-related elements */
}

/* Style for threshold-related code elements (e.g., "Enter Threshold", "Update Threshold") */
.documentation-container p:nth-child(n+3) strong code {
    color: #0056b3; /* Blue for threshold-related elements */
}

/* Ensure code elements maintain readability */
.documentation-container code:hover {
    background-color: #e0e0e0; /* Slightly darker on hover for interactivity */
}

#gen_curves {
    background-color: #222222; /* Gray with opacity */
    color: white; /* Black text color for better contrast */
    border-radius: 20px; /* Rounded corners for oval shape */
    width: 328px; /* Same width as #download_csv */
    max-width: 328px;
    padding: 10px 20px; /* Uniform padding for consistent size */
    border: none; /* No border */
    box-sizing: border-box;
    margin-left: 10px; /* Adjust this value (e.g., 10px, 20px) to move it right */
    /* Or use margin-right: -10px; to move it left if needed */
}
#download_csv {
    background-color: #006400; /* A medium, subdued blue */
    color: white; /* White text for contrast */
    border-radius: 20px; /* Same radius for oval shape */
    width: 224px;
    max-width: 224px;
    padding: 10px 20px; /* Same padding for consistent size */
    border: none; /* Assuming you don't want a border */
    box-sizing: border-box;
    /* Include any other styles that you have for the green button to maintain consistency */
}


#update {
    background-color: #0056b3; /* A medium, subdued blue */
    color: white; /* White text for contrast */
    border-radius: 20px; /* Same radius for oval shape */
    width: 280px; /* Match the width of #gen_rand for consistency */
    max-width: 280px;
    padding: 10px 20px; /* Same padding for consistent size */
    border: none; /* Assuming you don’t want a border */
    box-sizing: border-box;
    /* Include any other styles that you have for the green button to maintain consistency */
}


#gen_rand {
    background-color: #006400; /* A medium, subdued blue */
    color: white; /* White text for contrast */
    width: 280px;
    max-width: 280px;
    border-radius: 20px; /* Adjust as needed for oval shape */
    /* Other styles */
    padding: 10px 20px; /* Add padding to increase the content area */
    border: none; /* Don't want a border, but adjust as needed */
}


#sampleSize {
    border: 1px solid #006400; /* Example border, change as needed */
    width: 125px;
    max-width: 125px;
    border-radius: 20px; /* This gives it the oval shape */
    outline: none; /* Removes the default focus outline, you may want to style the focus state differently */
    /* Add additional styling here as needed */
    /* min-width: 120px; Prevents the input from becoming too small */
    padding: 10px 20px;
    box-sizing: border-box;
    margin: 0 auto; /* Centers the input field if its width is less than the container */
    /* display: block; This will allow margin: auto to work */
}

#show_documentation {
    background-color: rgba(128, 128, 128, 0.4); /* Gray with opacity */
    color: black; /* White text color for better contrast */
    border-radius: 25px; /* Keeps the oval shape */
    /* Other styles remain the same */
    padding: 10px 20px;
    border: none;
}

#threshold {
    border: 1px solid #0056b3;
    width: 125px;
    max-width: 125px;
    border-radius: 20px;
    outline: none;
    padding: 10px 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

label[for="threshold"] {
    margin-right: 11px; /* Adds space after "Enter Threshold:" */
}

#reset_threshold {
    background-color: #0056b3; /* Same blue as #update */
    color: white; /* White text for contrast */
    border-radius: 20px; /* Same oval shape */
    width: 224px; /* Match the width of #update (or adjust for consistency) */
    max-width: 224px;
    padding: 10px 20px; /* Same padding for consistent size */
    border: none; /* No border */
    box-sizing: border-box;
    margin-left: 0.5px; /* Small gap between "Update Threshold" and "Reset Threshold" */
}

/* Hover, active, and cursor effects (optional, to match other buttons) */
#reset_threshold:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reset_threshold:active {
    outline: none;
    border: 2px solid black;
    box-shadow: inset 0 0 5px black;
    transform: scale(0.98);
}

/* Responsive design */
@media (max-width: 768px) {
    .documentation-container {
        padding: 10px;
    }

    .documentation-container ol, .documentation-container p {
        margin-left: 10px;
    }
}

button {
    cursor: pointer;
    transition: all 0.2s ease; /* Smooth transition effect */
}



/* Add click effect */
button:active {
    outline: none;                /* Remove default focus outline */
    border: 2px solid black;      /* Add black border */
    box-shadow: inset 0 0 5px black; /* Create an inset shadow */
    transform: scale(0.98);       /* Slightly shrink the button for a pressed effect */
}

h1 {
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    /* text-align: center; */
    margin-bottom: 20px;
}


h2 {
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    /* text-align: center; */
    margin-bottom: 20px;
}

/******************************************************************************/

.fullscreen-btn {
  background-color: #174ea6;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 20px;
  white-space: nowrap;
}



/******************************************************************************/

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.letter {
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
  font-weight: bold;
  color: #174ea6; /* Darker blue */
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }
.letter:nth-child(8) { animation-delay: 0.7s; }
.letter:nth-child(9) { animation-delay: 0.8s; }

.acronym-word {
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
}

.acronym-word:nth-child(1) { animation-delay: 0.2s; }
.acronym-word:nth-child(2) { animation-delay: 0.3s; }
.acronym-word:nth-child(3) { animation-delay: 0.4s; }
.acronym-word:nth-child(4) { animation-delay: 0.5s; }
.acronym-word:nth-child(5) { animation-delay: 0.6s; }
.acronym-word:nth-child(6) { animation-delay: 0.7s; }
.acronym-word:nth-child(7) { animation-delay: 0.8s; }
.acronym-word:nth-child(8) { animation-delay: 0.9s; }
.acronym-word:nth-child(9) { animation-delay: 1s; }

.title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 1px;  /* Adjust for pixel-perfect alignment */
  padding-top: 10px;
  padding-bottom: 0;
  max-width: 100%;
}

.title-wrapper h1 {
  font-size: 2.4em;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
}

.title-wrapper p {
  font-size: 1em;
  line-height: 1.4;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  margin: 4px 0 0 0;
}

