/* ==== GLOBAL RESET ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
	
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==== GLOBAL VARIABLES ==== */
:root {
    --primary-color: red;
    --background-light: #f4f4f4;
    --text-dark: #333;
    --border-color: #ddd;
}

/* ==== GLOBAL ELEMENTS ==== */
a {
    color: var(--text-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* Reusable card layout */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

/* ==== GLOBAL PAGE BORDERS ==== */
.top-line {
    height: 5px;
    width: 100%;
}

.top-line.black {
    background-color: #000;
}

.top-line.red {
    background-color: var(--primary-color);
}

.bottom-line {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw; /* ensures it spans the entire viewport width */
    height: 5px;
    background-color: #000;
    z-index: 2000; /* makes sure it stays on top of sidebar/content */
}

/* ==== Intro Section Background ==== */
.intro-section {
  background-color: #e6e6e6;
  padding: 1.5rem 2rem;
  margin: -2rem -2rem 2rem -2rem; /* extend beyond the content padding */
}

/* Ensure text inside is readable */
.intro-section h1 {
  margin-bottom: 0.5rem;
  color: #000;
}

.intro-section .intro-text {
  color: #333;
}

/* ==== Red Alert BLURB ==== */
.rating-blurb-red {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0 1rem 0;
  background: #fff7f7;
  border-left: 4px solid var(--primary-color);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  line-height: 1.4;
}

/* ==== Yellow Alert BLURB ==== */
.rating-blurb-yellow {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0 1rem 0;
  background: #fffbe6; /* soft yellow background */
  border-left: 4px solid #f5c000; /* yellow accent (like primary color for yellow) */
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  line-height: 1.4;
}


/* ==== Black Informational BLURB ==== */
.rating-blurb {
  font-size: 0.9rem;
  color: #333;
  margin: 0.75rem 0 1rem 0;
  background: #e6e6e6; /* darker gray than body background (#f4f4f4) */
  border-left: 4px solid #000; /* black line instead of red */
  padding: 0.75rem 1rem;
  border-radius: 4px;
  line-height: 1.5;
}


/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 3000;
  display: flex;
  justify-content: center;
}

.cookie-content {
  max-width: 800px;
  text-align: center;
}

.cookie-content p {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-btn.accept {
  background-color: var(--primary-color);
  color: #fff;
}

.cookie-btn.accept:hover {
  background-color: darkred;
}

.cookie-btn.reject {
  background-color: #e6e6e6;
  color: #333;
}

.cookie-btn.reject:hover {
  background-color: #ccc;
}


/* ==== COOKIE PREFERENCES PAGE ==== */
.cookie-pref-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem 4rem;
}

.cookie-pref-container h1 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

/* Make checkboxes red when checked */
.cookie-option input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--primary-color); /* <- makes check mark and box red */
}

.cookie-option label {
  line-height: 1.4;
  color: #444;
  font-size: 0.95rem;
}

.cookie-pref-container .cookie-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cookie-pref-container {
    flex: 1; /* lets main content take all available space */
}

.privacy-container {
    flex: 1;
}

.terms-container {
    flex: 1; /* this pushes the footer to the bottom */
}

.cookie-btn.close {
    background-color: #ccc;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.cookie-btn.close:hover {
    background-color: #aaa;
}




