/* General Styles */

/* Breadcrumb Navigation for existing tools */
.breadcrumb-nav {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.breadcrumb-link {
  color: #4CAF50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-link:hover {
  color: #66BB6A;
}

.breadcrumb-separator {
  color: #888;
  margin: 0 0.5rem;
  font-weight: bold;
}

.breadcrumb-current {
  color: #fff;
  font-weight: 500;
}
body {
  margin: 0;
  padding: 0;
  padding-bottom: 45px;
  font-family: Arial, sans-serif;
  background-color: #212121;
  transition: background-color 0.5s;
}

/* Improved Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #666, #999);
  border-radius: 0px 5px 5px 0px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

::-webkit-scrollbar-track {
  background-color: #333;
  border-radius: 0px 5px 5px 0px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  margin-right: auto;
}

header {
  padding: 10px;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: space-between; /* Changed from flex-start to space-between */
  align-items: center;
  background: linear-gradient(90deg, #333, #555);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px; /* Creates a gap between the title bar and the main form */
  width: 100%;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box; /* Ensure padding is included in width calculation */
  overflow: visible; /* Allow content to remain visible even if it overflows */
}

h1 {
  color: chocolate;
  margin: 0; /* Changed from margin: 0 auto */
  text-align: center;
  flex: 1; /* Allow h1 to take available space */
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 0;
  font-size: 12px;
  height: auto;
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  margin: 0;
}

.footer p {
  margin: 8px 10px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  color: #ffa500; /* Highlight color */
}

.copyright {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.copyright a {
  margin-left: 5px;
}

.terms-button {
  background-color: #555; /* dark gray background */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px; /* reduced font size */
  margin-right: 10px; /* reduced margin */
  padding: 5px 10px;
  /* Remove the height: 100% and adjust height to fit within footer */
  height: auto;
  min-height: 24px;
  color: #fff;
  text-decoration: none;
  /* Add vertical margin to create space between button and footer edges */
  margin-top: 3px;
  margin-bottom: 3px;
  /* Additional properties to normalize <a> and <button> appearance */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  line-height: normal;
}

/* Ensure <a> elements with terms-button class don't show underlines and keep their color */
a.terms-button {
  text-decoration: none;
  color: #fff;
}

/* Ensure consistent hover states */
.terms-button:hover, 
a.terms-button:hover {
  background-color: #666;
  color: #fff;
  text-decoration: none;
}

.footer-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

/* Accessibility styles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Noscript message for users without JavaScript */
.noscript-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  margin: 20px 10px;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  text-align: center;
}

/* Section intro text styling */
.section-intro {
  color: #ccc;
  margin: 0 15px 20px;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.5;
}

/* Animated Background */

/* Admin link styling */
.admin-link {
  margin-left: 5px;
  color: #555;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
  text-decoration: none;
}

.admin-link:hover {
  opacity: 1;
  color: #888;
  text-decoration: none;
}
