/* Saraswati Kosaria Health, Wellness & Direct Selling Growth Platform Custom Styles */

/* Glassmorphism card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

/* Subtle pulse animation for interactive CTAs & AI Floating Bot */
.pulse-subtle {
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Smooth Chat & Modal Fade In */
.animate-fade-in {
    animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Custom Minimal Scrollbar (Chrome, Safari, Edge, Firefox) */
.chat-scroll {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.chat-scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.chat-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.chat-scroll::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 9999px;
}

.chat-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* Modal Transitions */
.modal-overlay {
    transition: opacity 0.25s ease-out;
}

.modal-content {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
}

/* Toast Notifications */
.toast-item {
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.25s ease;
}

.toast-item.toast-leave {
    animation: toastSlideOut 0.25s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }
}

/* Navigation Active Link Indicator */
.nav-link.active-nav {
    color: #047857;
    font-weight: 700;
    position: relative;
}

.nav-link.active-nav::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #059669;
    border-radius: 2px;
}

/* Line-Clamp utility for dynamic cards (fallback) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}