/* === FORCE BLACK BG + WHITE TEXT, RED TITLES/BUTTONS === */

/* Colors */
:root {
  --bg: #000000; /* Black background for the entire page */
  --text: #ffffff; /* White text for the entire page */
  --border: #222222;
  --red: #ff0000;
  --red-hover: #e60000;
}

/* Global base */
html, body {
  background: var(--bg) !important;
  color: var(--text) !important;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

/* Remove extra space between sections */
a, p, li, span, strong, em {
  color: var(--text) !important;
}

a:hover {
  text-decoration: underline;
}

/* Sections: keep everything on black */
header, main, .container, .result-section, .steps, .email-signup, footer {
  background: var(--bg) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  padding: 0; /* Remove any padding */
  margin: 0;  /* Remove unwanted margin */
}

/* Main menu navigation with black background and white text */
header nav {
  background-color: #000000; /* Black background for the navigation */
  color: #ffffff; /* White text for the navigation */
  border-bottom: 2px solid #ffffff; /* White border below the navigation */
}

header nav a {
  color: #ffffff; /* White text for the navigation links */
  text-decoration: none; /* Remove underline */
  padding: 10px 20px; /* Adjust padding for better spacing */
  display: inline-block; /* Ensures the links stay on one line */
}

header nav a:hover {
  background-color: #ff0000; /* Red background on hover */
  color: #ffffff; /* White text on hover */
}

/* Remove extra space between the header and the title */
header {
  margin-bottom: 0;
  padding: 0;
}

/* Headings: only H1 in red, all other headings white */
h1 {
  color: var(--red) !important;
  margin-top: 0; /* Remove space before the title */
  margin-bottom: 10px; /* Adjust the spacing after the title */
  padding: 0; /* Remove any unwanted padding around the heading */
}

/* Adjust the container to remove any unnecessary space */
.container {
  margin-top: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Form styling (input and button) */
#tag-form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  padding: 0;
}

input, button {
  width: 100%;
  max-width: 500px;
  margin-bottom: 10px;
}

/* Buttons: red with white text */
button, #extract-button, #subscribe-button {
  background: var(--red) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}

button:hover, #extract-button:hover, #subscribe-button:hover {
  background: var(--red-hover) !important;
}

/* Tags/list items */
#tags-container {
  list-style: none;
  margin: 0;
  padding: 0;
}

#tags-container li {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  padding: 10px 12px;
  border-radius: 8px;
}

/* Footer line must be white */
footer .legal {
  color: #ffffff !important;
}
