html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Supplier card styles */
.supplier-card {
  transition: all 0.3s ease;
  border: 2px solid #dee2e6;
  cursor: pointer;
}

.supplier-card:hover {
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
}

.supplier-card.selected {
  border-color: #198754;
  background-color: #f8fff9;
}

/* Logo styles */
.page-logo {
  max-height: 100px;
}

.page-logo-mobile {
  max-height: 80px;
}

/* Cookie consent banner styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 37, 41, 0.95);
  color: #fff;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: centre;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  flex: 1;
  min-width: 250px;
  line-height: 1.5;
}

.cookie-consent-text i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.cookie-consent-link {
  color: #80bdff;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.cookie-consent-link:hover {
  color: #b3d7ff;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: centre;
}

.cookie-consent-banner.fade-out {
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: centre;
  }

  .cookie-consent-buttons {
    width: 100%;
    justify-content: centre;
  }
}