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: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Sunset background image */
  background-image: url('/images/sunset-background.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Make main content area stand out with white background */
.container main {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Keep navbar and footer semi-transparent white */
header nav {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

footer {
  margin-top: auto;
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Add breathing room */
.container {
  margin-top: 20px;
}

/* Required field styling */
.required-field {
  background-color: #fffacd !important; /* Light yellow background */
  border-left: 3px solid #ffc107; /* Yellow left border */
}

.required-field:focus {
  background-color: #fff9c4 !important;
  border-left: 3px solid #ff9800;
}

/* Labels for required fields */
label.form-label:has(+ .required-field)::after,
label.form-label:has(+ input[required])::after,
label.form-label:has(+ select[required])::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

/* Alternative: add asterisk to labels that contain asterisk in text */
.form-label:contains("*") {
  font-weight: 500;
}
}