/* YouTubers Community Platform - Custom Styles & Transitions */

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar for Chat & Dashboard Panels */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.2);
    border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.4);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Dynamic glow animation for verified creators */
@keyframes verifiedGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
}

.verified-card-glow {
    animation: verifiedGlow 3s infinite ease-in-out;
}

/* Smooth active scale state for buttons */
.btn-scale {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-scale:active {
    transform: scale(0.95);
}

/* Chat bubble styling overrides */
.chat-bubble {
    word-break: break-word;
    white-space: pre-wrap;
}

/* Shimmer animation for loading states */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #1e293b 25%, #334155 37%, #1e293b 63%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}




/* Verified badge SVG */
.text-blue-500 {
    color: #3b82f6;
}
.w-4 {
    width: 1rem;
}
.h-4 {
    height: 1rem;
}
.inline-block {
    display: inline-block;
}
.align-middle {
    vertical-align: middle;
}