/* =============================================
   Peach & Pine Events — V2 Custom Overrides
   Warm ivory/cream + pine green + peach coral palette
   ============================================= */

/* ---- Alpine x-cloak ---- */
[x-cloak] { display: none !important; }

/* ---- Custom scrollbar (Webkit) ---- */
::-webkit-scrollbar           { width: 8px; }
::-webkit-scrollbar-track     { background: #FAF7F2; }
::-webkit-scrollbar-thumb     { background: #DDD7CE; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C4BDB3; }

/* ---- Smooth scroll ---- */
html { scroll-behavior: smooth; }

/* ---- Selection colour ---- */
::selection {
  background: rgba(237, 139, 107, 0.25);
  color: #2A4D3F;
}

/* ---- Form inputs ---- */
.form-input {
  width: 100%;
  background: #FAF7F2;
  border: 1px solid #DDD7CE;
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  color: #3D3A36;
  font-size: 0.875rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: #A39C93; }
.form-input:focus {
  border-color: rgba(237, 139, 107, 0.5);
  box-shadow: 0 0 0 3px rgba(237, 139, 107, 0.1);
}
select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A39C93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
textarea.form-input { resize: vertical; min-height: 80px; }
input[type="date"].form-input { cursor: pointer; }

input[type="date"].form-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* ---- Checkbox card (contact form services) ---- */
.checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  background: #FAF7F2;
  border: 1px solid #DDD7CE;
  color: #3D3A36;
  cursor: pointer;
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-card:hover {
  border-color: rgba(237, 139, 107, 0.35);
  background: #F3EDE4;
}
.checkbox-card:has(input:checked) {
  border-color: rgba(237, 139, 107, 0.5);
  background: rgba(237, 139, 107, 0.06);
}

/* ---- Error state ---- */
.form-input.error,
.form-input:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}
.error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ---- Marquee pause on hover ---- */
.animate-marquee:hover { animation-play-state: paused; }

/* ---- z-index fix for gradient orbs behind content ---- */
.-z-1 { z-index: -1; }
