/**
 * Barnoq Care Ltd - Custom Styles
 */

/* Custom Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Animated Gradient Background */
.bg-animated-gradient {
    background: linear-gradient(-45deg, #f0fdfa, #fdfcfb, #e0f2fe, #f0fdfa);
    background-size: 400% 400%;
    animation: gradient-x 15s ease infinite;
}

/* New Chat-Specific Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Smooth Scrolling for Containers */
.flex-1.p-6.space-y-4.overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 148, 136, 0.2) transparent;
}