/* Custom Fonts */
body {
    font-family: 'Inter', 'Noto Sans Sinhala', sans-serif;
}

.font-sinhala {
    font-family: 'Noto Sans Sinhala', sans-serif;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* Chat Scrollbar Styling */
#chatMessages::-webkit-scrollbar {
    width: 6px;
}

#chatMessages::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

#chatMessages::-webkit-scrollbar-thumb {
    background: #c5c5c5; 
    border-radius: 10px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}

/* Loading Animation */
.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f6f7f8 4%, #edeef1 25%, #f6f7f8 36%);
    background-size: 1000px 100%;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}
