/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
  animation: fadeIn 0.15s ease;
}
.modal-box {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(1rem); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

/* Wish card states */
.wish-card { transition: box-shadow 0.15s ease, transform 0.15s ease; }
.wish-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-1px); }
.wish-card.booked { opacity: 0.6; }
.wish-card.booked-by-me { border-color: #6366f1 !important; }

/* Tab buttons */
.tab-btn { transition: color 0.15s, border-color 0.15s; }

/* Truncate long URLs */
.wish-link { word-break: break-all; }

/* Toast */
#toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 100;
  transition: transform 0.25s ease;
  pointer-events: none;
}
#toast.show { transform: translateX(-50%) translateY(0); }
