/* Custom Aesthetic Styling for Herda & Aqhsal Wedding Guest Manager */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Great+Vibes&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 50%, #fda4af 100%);
  --rose-gold-gradient: linear-gradient(135deg, #fbcfe8 0%, #fed7aa 50%, #fecdd3 100%);
  --bg-aesthetic: linear-gradient(160deg, #fff7ed 0%, #fff1f2 25%, #faf5ff 60%, #fff7ed 100%);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 10px 30px -5px rgba(225, 29, 72, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-aesthetic);
  min-height: 100vh;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif-wedding {
  font-family: 'Cinzel', serif;
}

.font-script-wedding {
  font-family: 'Great Vibes', cursive;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 -8px 25px rgba(244, 63, 94, 0.08);
}

.glass-header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Gradients */
.gradient-header {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 40%, #ffedd5 100%);
}

.gradient-rose {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
}

.gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.gradient-subtle {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.8) 0%, rgba(255, 237, 213, 0.8) 100%);
}

/* Hide Scrollbar for Horizontal Chips */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Transitions & Touch effects */
button, .clickable-chip, .guest-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

button:active, .clickable-chip:active {
  transform: scale(0.97);
}

.guest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(244, 63, 94, 0.12);
}

/* Modal Bottom Sheet Animations */
.modal-overlay {
  transition: opacity 0.3s ease-out;
}

.bottom-sheet {
  transition: transform 0.35s cubic-bezier(0.32, 1.25, 0.32, 1);
}

.modal-enter {
  opacity: 0;
}

.modal-enter-active {
  opacity: 1;
}

.sheet-enter {
  transform: translateY(100%);
}

.sheet-enter-active {
  transform: translateY(0);
}

/* Pulse animation for target */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.95;
  }
}

.animate-soft-pulse {
  animation: softPulse 3s infinite ease-in-out;
}

/* Floating animation for rings / decorative icons */
@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(3deg);
  }
}

.animate-float {
  animation: gentleFloat 4s ease-in-out infinite;
}

/* Category Badge Colors */
.badge-wifi { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.badge-loli { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }
.badge-ladang { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16a34a; }
.badge-dusun { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.badge-perkotaan { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.badge-pekong { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.badge-pasar { background: linear-gradient(135deg, #fae8ff, #f5d0fe); color: #9333ea; }
.badge-kakek { background: linear-gradient(135deg, #fef9c3, #fef08a); color: #ca8a04; }
.badge-saudara { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; }

/* Custom Circular Progress */
.progress-ring-circle {
  transition: stroke-dashoffset 0.8s ease-in-out;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* Floating Action Button (FAB) glow */
.fab-glow {
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.45), 0 2px 6px rgba(244, 63, 94, 0.25);
}
