/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

.font-cormorant {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Hide the default clear icon on search inputs for consistent styling */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Scroll reveal animation */
[data-controller="scroll-reveal"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-controller="scroll-reveal"].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Calendar Popup */
.calendar-popup {
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.calendar-day-cell {
  transition: all 0.15s ease-in-out;
}

.calendar-day-cell:hover:not(:disabled) {
  transform: scale(1.1);
}

