/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * Custom styles to complement TailwindCSS
 */

/* Base font and line height (Tailwind handled in body) */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN Custom", "Hiragino Sans Custom", "Meiryo Custom", sans-serif;
  line-height: 1.6;
}

button {
  cursor: pointer;
}

/* Custom hover effects for equipment cards */
.equipment-card {
  transition: transform 0.2s ease-in-out;
}

.equipment-card:hover {
  transform: translateY(-2px);
}

/* Google Places Autocomplete z-index fix */
.pac-container {
  z-index: 9999 !important;
}

/* Custom spinner animation for loading states */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Fix for white text in form inputs */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="date"], 
input[type="time"] {
  color: #374151 !important; /* gray-700 */
  background-color: white !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
  color: #9CA3AF !important; /* gray-400 */
}

input:not([type="checkbox"]):not([type="radio"]), select {
  -webkit-appearance: none;
  appearance: none;
}

/* Attachment peek (accordion) */
.attachment-peek {
  max-height: 260px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
@media (min-width: 768px) {
  .attachment-peek { max-height: 280px; }
}
.attachment-peek.is-expanded {
  max-height: 2000px;
}
.attachment-fade {
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 70%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}
.attachment-peek.is-expanded + .attachment-fade-wrap .attachment-fade {
  opacity: 0;
}

/* Hide scrollbar for webkit browsers (Chrome, Safari, Edge) */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for Firefox */
.scrollbar-hide {
  scrollbar-width: none;
}
