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;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: slideUp 0.4s 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: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 300px;
}

.cookie-consent-text strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 0.95em;
  opacity: 0.9;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Disclaimer Modal Customizations */
#disclaimerModal .modal-header {
  border-bottom: 2px solid #ffc107;
}

#disclaimerModal .modal-title {
  font-weight: 600;
}

#disclaimerModal .modal-title i {
  margin-right: 8px;
}

#disclaimerModal .alert ul {
  padding-left: 20px;
  margin-top: 10px;
}

#disclaimerModal .alert li {
  margin-bottom: 5px;
}

/* Fix checkbox visibility */
#disclaimerModal .form-check-input {
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #6c757d;
  background-color: white;
  cursor: pointer;
}

#disclaimerModal .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

#disclaimerModal .form-check-label {
  cursor: pointer;
  user-select: none;
  padding-left: 0.5em;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-actions {
    justify-content: center;
    width: 100%;
  }
}