:root {
  --primary: #003366;        /* dark blue */
  --primary-hover: #00264d;  /* darker blue for hover */
  --page-bg: #e0e4ea;        /* deeper grey for background */
}

/* Dark blue banner header */
.site-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: fixed;   /* stick to top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     /* keep it above other content */
}

/* Make brand text white and bold */
.site-header .brand__name {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  margin-left: 10px;
}

/* Keep logo aligned with text */
.site-header .brand {
  display: flex;
  align-items: center;
}

/* Page background + header spacing */
body {
  margin: 0;
  padding-top: 70px;            /* ensure titles visible under fixed header */
  background-color: var(--page-bg);
  font-family: Arial, sans-serif;
}

/* General container styling */
.container {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* --- Welcome page grid & cards --- */
.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.welcome-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: var(--primary);
  color: #fff;
  text-decoration: none;

  border-radius: 12px;
  min-height: 64px;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.1rem;

  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.welcome-card:hover,
.welcome-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
  filter: brightness(1.05);
  outline: none;
}

/* Optional intro spacing on the welcome screen */
.welcome-intro {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* --- Buttons (incl. “Mark as Taken”) --- */
.btn,
button.btn,
.mark-taken,
.taken-btn,
.button-primary {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, filter .12s ease;
}

/* Primary (blue) style */
.btn--primary,
.mark-taken,
.taken-btn,
.button-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn--primary:hover,
.mark-taken:hover,
.taken-btn:hover,
.button-primary:hover,
.btn--primary:focus-visible,
.mark-taken:focus-visible,
.taken-btn:focus-visible,
.button-primary:focus-visible {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  transform: translateY(-1px);
  outline: none;
}

.btn--primary:active,
.mark-taken:active,
.taken-btn:active,
.button-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
}

.btn:disabled,
.mark-taken:disabled,
.taken-btn:disabled,
.button-primary:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* Extra spacing for schedule rows */
.schedule-row .mark-taken,
.schedule-row .btn--primary {
  margin-left: 0.5rem;
}

/* Links inside buttons */
.btn a,
.mark-taken a,
.button-primary a {
  color: inherit;
  text-decoration: none;
}
