/* Global Styles */
.bg-primary {
  background-color: #476DB0 !important;
}

html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  max-width: 100vw;
  padding: 0;
}

.footer {
  background-color: #476DB0;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Links inside footer */
.footer a {
  color: #ffffff !important;
  text-decoration: none;
  margin: 0 0.25rem;
}

.footer a:hover {
  text-decoration: underline;
  color: #cce0ff !important;
}

.footer .dot-separator {
  margin: 0 0.25rem;
  color: #ffffff;
}



.two-factor-page {
  min-height: calc(100vh - 160px); /* leave space for header+footer */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.two-factor-page form {
  display: inline-block;
  text-align: left; /* labels align nicely */
}



.btn-home, .btn-visit {
  background-color: #476DB0;
  color: white;
  display: block;
  width: 15rem;
  justify-self: center;
}

.btn-home:hover, .btn-visit:hover {
  background-color: #4CB047 !important;
  text-decoration: none !important;
  color: white;
}

/* Disable browser spinner controls on numeric inputs (all pages). */
input[type="number"]{
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

#cookie-consent.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none; /* controlled via JS */
  width: 90%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cookie-left {
  flex: 1;
  padding-right: 20px;
}

.cookie-right {
  flex-shrink: 0;
}

.cookie-img {
  height: 100px;
  width: auto;
}

.cookie-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.cookie-description {
  font-size: 14px;
  margin-bottom: 12px;
  color: #444;
}

.cookie-description a {
  color: #2d89ef;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background-color: #2d89ef;
  color: white;
}

/* Skip link: visible on keyboard focus */
a.skip-to-main {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10001;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background-color: #212529;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skip-to-main:focus {
  z-index: 10000;
}

.home-video-transcript strong {
  color: #212529;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #4cb047;
  outline-offset: 2px;
}

/* Download controls styled as buttons (home uses <button>; VAT pages may use <a>) */
a.download-btn,
a.download-btn:hover,
a.download-btn:focus,
a.download-btn:active,
a.download-btn .download-btn-text,
button.download-btn,
button.download-btn .download-btn-text {
  text-decoration: none !important;
  color: #000 !important;
}
