/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

/* Mobile menu animations and styling */
.mobile-menu {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.15s ease-out;
  transform-origin: top right;
}

.mobile-menu-enter {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Smooth transitions for mobile menu items */
.mobile-menu a,
.mobile-menu button {
  transition: all 0.15s ease-out;
}

/* Enhanced shadow for mobile menu */
.mobile-menu {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .mobile-menu {
    width: calc(100vw - 2rem);
    right: 1rem;
  }
}

/* Legacy animation for compatibility */

/* Enhanced Date Input Styling - Make entire input clickable */
input[type="date"] {
  /* Ensure calendar picker is visible and functional */
  cursor: pointer !important;
  /* Make the entire input clickable for the calendar */
  position: relative;
  /* Override any conflicting styles */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

/* Style the calendar picker indicator to cover the entire input */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer !important;
  opacity: 0;
  /* Make the calendar picker cover the entire input area */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: transparent;
  margin: 0;
  padding: 0;
  /* Ensure it's above other elements */
  z-index: 1;
}

/* Show subtle indication on hover */
input[type="date"]:hover::-webkit-calendar-picker-indicator {
  opacity: 0.1;
  background-color: rgba(0, 0, 0, 0.05);
  transition: opacity 0.2s ease;
}

/* For Firefox - ensure entire input is clickable */
input[type="date"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Style Firefox's calendar picker to cover the entire input area */
input[type="date"]::-moz-calendar-picker-indicator {
  cursor: pointer !important;
  /* Position to cover the entire input */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  /* Make it transparent but clickable */
  opacity: 0;
  background: transparent;
  border: none;
  /* Ensure it's above other elements */
  z-index: 1;
}

/* Ensure the entire input responds to clicks and maintains focus styles */
input[type="date"]:focus {
  outline: none;
}

/* Override input-field styles specifically for date inputs to ensure clickability */
input[type="date"].input-field {
  cursor: pointer !important;
  position: relative;
}
.animate-fade-in {
  animation: fade-in 0.15s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
