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

/* Gradient Mesh Background */
.mesh-gradient-bg {
    background-color: #030816;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(15, 76, 196, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 95% 10%, rgba(29, 78, 216, 0.35) 0%, transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(240, 244, 255, 0.55) 0%, rgba(15, 76, 196, 0.15) 45%, transparent 70%),
        radial-gradient(circle at 35% 85%, rgba(37, 99, 235, 0.2) 0%, transparent 50%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Faint Grid Overlay matching the reference image */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}

/* Glassmorphism Styles */
.glass-sidebar {
    background: rgba(4, 9, 24, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel {
    background: rgba(8, 18, 45, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover:hover {
    background: rgba(8, 18, 45, 0.55);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(29, 78, 216, 0.15);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Glowing Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
    }
    50% {
        box-shadow: 0 0 24px rgba(59, 130, 246, 0.45);
    }
}

.glow-blue {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* Scrollbar styling for dark deep blue theme */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.4); 
}

/* Prose formatting overrides for chat bubbles */
.prose p {
    margin-bottom: 0.75em;
}
.prose p:last-child {
    margin-bottom: 0;
}
.prose ul, .prose ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}
.prose ul {
    list-style-type: disc;
}
.prose ol {
    list-style-type: decimal;
}
.prose li {
    margin-bottom: 0.25em;
}
.prose strong {
    font-weight: 600;
    color: #ffffff;
}
.prose code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #e0f2fe;
}
