.menu-toggle,
header {
  position: relative;
  border: none;
}
body,
main {
  padding: 20px;
}
header,
main {
  border: none;
}
#breadcrumb a:hover,
nav a:hover {
  text-decoration: underline;
}
button,
header {
  padding: 10px 20px;
}
#outputText,
textarea {
  height: 150px;
  padding: 12px;
  resize: vertical;
}
#outputText,
.file-upload input[type="file"],
textarea {
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
  font-family: "Courier New", monospace;
  
}
body,
p {
  line-height: 1.6;
}
#outputText,
.file-upload input[type="file"],
body,
button,
h1,
h2,
h3,
textarea {
  font-family: "Courier New", monospace;
}
#related-tools,
main {
  max-width: 800px;
  margin: 0 auto;
}
#related-tools a,
footer {
  text-align: center;
}
#breadcrumb a,
#related-tools a,
.nav-links a,
.site-title a,
nav a {
  text-decoration: none;
}
#related-tools a,
button {
  background-color: #000;
  transition: background-color 0.3s;
}
body {
  margin: 0;
  background-color: #fff;
  color: #000;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}
#header-placeholder {
  display: block;
  min-height: 80px;
}
.site-title {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
}
.button-group,
.file-upload {
  margin: 10px 0;
}
.site-title a {
  color: inherit;
}
.nav-links {
  display: flex;
  gap: 15px;
}
.nav-links a {
  color: #e60023;
  font-size: 17px;

}
.menu-toggle {
  display: none;
  font-size: 24px;
  background: 0 0;
  cursor: pointer;
  color: #000;
  z-index: 10;
}
nav {
  margin-top: 10px;
}
nav a {
  margin: 0 10px;
  color: #000;
  
}
main {
  background: #fff;
}
#breadcrumb {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}
#outputText,
#related-tools a,
button,
p,
textarea {
  font-size: 16px;
}
#breadcrumb a {
  color: #0056b3;
  font-weight: 700;
}
#breadcrumb a:hover {
  color: #000;
}
textarea {
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
  margin: 0;
}
textarea:focus {
  outline: 0;
  border-color: #000;
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}
button {
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
}
button:hover {
  background-color: #e60023;
}
.file-upload label {
  display: block;
  margin-bottom: 5px;
  color: #000;
}
.file-upload input[type="file"] {
  padding: 10px;
  font-size: 16px;
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
}
#output {
  margin-top: 20px;
}
#outputText {
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    padding: 20px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 5;
  }
  .nav-links a {
    margin: 10px 0;
    font-size: 1.5rem;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle.open {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 20;
  }
  header h1 {
    font-size: 2rem;
  }
}
p {
  margin-bottom: 1rem;
  color: #000;
}
h1,
h2,
h3 {
  font-weight: 700;
  color: #000;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  p {
    font-size: 16px;
  }
}
#related-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
#related-tools a {
  display: inline-block;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 5px;
}
#related-tools a:hover {
  background-color: red;
}

fieldset {
  border: 2px solid #000000; /* Black border */
  border-radius: 0; /* Sharp corners */
  padding: 10px;
  margin: 10px 0;
}

legend {
  font-weight: 700;
  padding: 0 5px;
  color: #000;
}

.options-guide-section {
  border: 1px solid #000;
  padding: 20px 20px 20px; /* Add top padding for heading overlap */
  margin: 40px 0;
  background-color: #f9f9f9;
  position: relative;
}

.options-guide-heading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  background-color: transparent;
  padding: 0 10px;
  box-sizing: border-box;
}


.options-guide-heading span {
  background-color: #e60023;
  color: #fff;
  padding: 6px 12px;
  border: 1px solid #000;
  font-weight: bold;
  white-space: nowrap;
  font-size: 16px;
  box-sizing: border-box;
  z-index: 1;
}

summary {
  cursor: pointer;
  transition: color 0.2s ease;
}

summary:hover {
  color: #e60023; /* Your theme’s red highlight */
  font-weight: bolder;
}