/* Auxiliary styles for help.html and about.html */
body {
  background: #e6ebe6;
  margin: 0;
  min-height: 100vh;
  color: #3c5e49;
  font-family: system-ui, sans-serif;
  padding: 2rem;
}

/* Container styles for auxiliary pages */
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 60vh;
  margin: 0 auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(60, 94, 73, 0.08);
  padding: 2rem 5vw;
  box-sizing: border-box;
}

/* Custom horizontal rule for auxiliary pages */
.container hr {
  border: none;
  border-top: 2px solid #709072;
  margin: 2.5rem 0;
  width: 100%;
  opacity: 1;
}

.container-double-line {
  border: none;
  border-top: 3px double #000;
  /* Adjust color and thickness */
  height: 0;
  margin: 1em 0;
}


@media (max-width: 800px) {
  .container {
    padding: 1rem 2vw;
    border-radius: 0.5rem;
    min-height: 40vh;
  }
}

@media (max-width: 600px) {
  .help-container {
    padding: 1rem 2vw;
    border-radius: 0.5rem;
    min-height: 40vh;
  }
}

/* Download button styling for download.html page*/
button {
  background: #3c5e49;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #709072;
}

#status {
  margin-top: 1.5rem;
  color: #58745c;
  font-size: 1rem;
}

.file-list {
  margin-left: 120px;
  text-align: left;
}

/* Flexbox layout for text and image sections */
.flex-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 1.5rem 0;
}

.flex-text {
  flex: 1;
  min-width: 0; /* Allows text to wrap properly */
}

.flex-image {
  flex: 0 0 auto;
  max-width: 450px;
}

.flex-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(60, 94, 73, 0.15);
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .flex-content {
    flex-direction: column;
    gap: 1rem;
  }

  .flex-image {
    max-width: 100%;
  }
}

/* Collapsible section styling */
details {
  margin: 1.5rem 0;
  border: 1px solid #709072;
  border-radius: 0.5rem;
  background: #f8f9f8;
}

details summary {
  cursor: pointer;
  padding: 1rem;
  background: #e6ebe6;
  border-radius: 0.5rem 0.5rem 0 0;
  margin: 0;
  transition: background-color 0.2s ease;
}

details summary:hover {
  background: #d9e0d9;
}

details summary h2 {
  display: inline;
  margin: 0;
  color: #3c5e49;
}

details[open] summary {
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 1px solid #709072;
}

details[open] > :not(summary) {
  padding: 1rem;
  margin: 0;
}

details summary::marker {
  color: #3c5e49;
}



