footer::after {
  content: '';
  background-image: url('/img/footer-sparkle.png');
  filter: brightness(0.6);
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px; 
  height: 80px; 
  position: absolute;
  right: 80px; 
  top: -1px; 
  transform: translateY(-50%); 
  z-index: 10;
}

.page-transition-wrap {
  background: transparent;
  backdrop-filter: blur(5px);
}

/* FORM */

/* --- Error Styling for High Contrast (for general errors) --- */
.errors {
  color: #ff4d4d;
  font-weight: bold;
  margin-top: 5px;
}

/* --- Specific Styling for Error Lists (ul.errors) --- */
ul.errors {
  list-style-type: none; /* Removes the bullet points */
  margin-left: 0; /* Ensures the list aligns properly after removing default list padding/margin */
  padding-left: 0;
  font-size: 0.9em; /* Makes the font 10% smaller than its parent */
  font-weight: normal; /* Optional: Reset bold if it was applied by the generic .errors class */
}

label.required::after {
  content: " *"; /* Inserts an asterisk and a space after the label text */
  color: #ff4d4d; /* Use the bright red error color for emphasis */
  margin-left: 4px; /* Optional: adds a small space between the text and the asterisk */
}

/* Base form-control styling */
.form-control {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: transparent;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out, color 0.3s ease-in-out; 
}

/* --- Focus State: White Background & Black Text --- */
.form-control:focus {
  border-color: #666;
  outline: none;
  background-color: white; /* New: Background turns white */
  color: black; /* New: Text color turns black */
}

textarea.form-control {
  resize: vertical;
}

/* Style for all disabled button elements */
button:disabled,
.btn:disabled { /* Include .btn if you are using Bootstrap or similar framework */
  background-color: #e0e0e0; /* Light gray background */
  color: #9e9e9e; /* Light gray text color for low contrast */
  border-color: #e0e0e0; /* Optional: Match the border color */
  cursor: not-allowed; /* Change the mouse cursor to indicate it's not clickable */
  opacity: 1; /* Ensure any framework opacity isn't overriding the colors */
}