/* Custom animations to match React component */
@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-in-out;
}

@keyframes slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slide-up 1s ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

.animate-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

.gradient-hero {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7)
    );
}

:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 15%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 15%;
    --primary: 122 39% 49%;
    --primary-foreground: 0 0% 100%;
    --primary-light: 122 39% 65%;
    --primary-dark: 122 39% 35%;
    --secondary: 54 100% 62%;
    --secondary-foreground: 0 0% 15%;
    --secondary-light: 54 100% 75%;
    --secondary-dark: 54 100% 45%;
    --accent: 4 90% 58%;
    --accent-foreground: 0 0% 100%;
    --accent-light: 4 90% 70%;
    --accent-dark: 4 90% 45%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --destructive: 4 90% 58%;
    --destructive-foreground: 0 0% 100%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 122 39% 49%;
    --radius: 1rem;
    --gradient-primary: linear-gradient(
        135deg,
        hsl(var(--primary)),
        hsl(var(--primary-light))
    );
    --gradient-warm: linear-gradient(
        135deg,
        hsl(var(--primary)),
        hsl(var(--secondary))
    );
    --gradient-hero: linear-gradient(
        135deg,
        hsl(var(--primary) / 0.95),
        hsl(var(--accent) / 0.85)
    );
    --shadow-card: 0 4px 20px hsl(var(--primary) / 0.1);
    --shadow-primary: 0 10px 30px hsl(var(--primary) / 0.2);
    --shadow-warm: 0 8px 25px hsl(var(--secondary) / 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

.btn-primary {
    @apply bg-primary hover:bg-primary/90 text-primary-foreground px-6 py-3 rounded-lg font-medium transition-all duration-300 hover:shadow-lg hover:-translate-y-0.5;
}

.btn-secondary {
    @apply bg-secondary hover:bg-secondary/90 text-secondary-foreground px-6 py-3 rounded-lg font-medium transition-all duration-300 hover:shadow-lg hover:-translate-y-0.5;
}

.btn-accent {
    @apply bg-red-500 hover:bg-red-500/90 text-accent-foreground px-6 py-3 rounded-lg font-medium transition-all duration-300 hover:shadow-lg hover:-translate-y-0.5;
}

.gradient-primary {
    background: var(--gradient-primary);
}

.gradient-warm {
    background: var(--gradient-warm);
}

.gradient-hero {
    background: var(--gradient-hero);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-primary {
    box-shadow: var(--shadow-primary);
}

.shadow-warm {
    box-shadow: var(--shadow-warm);
}

.transition-smooth {
    transition: var(--transition-smooth);
}

.transition-bounce {
    transition: var(--transition-bounce);
}

.fc-daygrid-day-events {
    display: none !important;
}
.fc-highlight {
    background: linear-gradient(135deg, #16a34a, #059669) !important;
    color: #fff !important;
}
.alert {
    position: absolute !important;
    top: 50px;
    right: 20px;
    z-index: 9999999;
    width: 350px;
}
.alert-success {
    background-color: #16a34a;
    padding-inline-start: 20px;
    color: #fff;
    border-radius: 5px;
}
.alert-danger {
    background-color: #a32525 !important;
    padding-inline-start: 20px;
    color: #fff;
    border-radius: 5px;
}

/* .swiper {
    height: 100vh;
} */

/* === Pagination Dots === */
.swiper-pagination-bullet {
    background-color: #ffec3d !important;
    /* Replace with your theme secondary color */
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background-color: #ffe605 !important;
    opacity: 1;
}

/* === Navigation Arrows === */

/* Optional: Make arrows a bit larger or bolder */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffec3d !important;
    /* Replace with your primary color hex */
}
.icons {
    font-size: 30px;
}

.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: end;
    z-index: 1000;
}
#familyModal {
    display: none; /* Hidden by default */
}

/* Modal box */
.modal {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    width: 500px;
    max-width: 95%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.modal-header h2 {
    font-size: 18px;
    margin: 0;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    border: none;
    background: none;
}

.modal-body {
    margin-top: 15px;
}

.modal-body label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.modal-body input,
.modal-body select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.modal-footer {
    text-align: right;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}
label.error {
    color: red;
    font-size: 13px;
    margin-top: -8px;
    margin-bottom: 10px;
    display: block;
}
