/* --- 4. Message Content Styling for Rendered HTML Tags --- */

/* Headers - Size and Weight only */
.agent-message-content h1 {
    font-size: 1.875rem;
    font-weight: 700;
}

.agent-message-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.agent-message-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.agent-message-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.agent-message-content h5 {
    font-size: 1rem;
    font-weight: 600;
}

.agent-message-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Lists - Basic styling only */
.agent-message-content ul {
    list-style-type: disc;
}

.agent-message-content ol {
    list-style-type: decimal;
}

/* Inline text formatting */
.agent-message-content strong,
.agent-message-content b {
    font-weight: 700;
}

.agent-message-content em,
.agent-message-content i {
    font-style: italic;
}

/* Code blocks - Just font family and size */
.agent-message-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
}

.agent-message-content pre code {
    font-family: 'Courier New', monospace;
}

/* Blockquotes - Just style and weight */
.agent-message-content blockquote {
    font-style: italic;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3f3f46;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive adjustments for mobile */
@media (max-width: 640px) {
    .agent-message-content h1 {
        font-size: 1.5rem;
    }
    
    .agent-message-content h2 {
        font-size: 1.25rem;
    }
    
    .agent-message-content h3 {
        font-size: 1.125rem;
    }
}


/* --- 1. Top Loader Progress Bar --- */
		#loader-bar {
			position: fixed;
			top: 0;
			left: 0;
			height: 3px;
			width: 0%;
			background: linear-gradient(to right, #00ffcc, #3399ff);
			z-index: 9999;
			transition: width 0.4s ease, opacity 0.3s ease;
			box-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
		}

		/* --- 2. Video Background --- */
		.video-bg-container {
			position: fixed;
			top: 0; left: 0; width: 100vw; height: 100vh;
			z-index: -1; overflow: hidden; background: #000;
		}
		#bg-video {
			position: absolute;
			top: 50%; left: 50%; transform: translate(-50%, -50%);
			min-width: 100%; min-height: 100%;
			object-fit: cover; pointer-events: none; filter: brightness(0.4);
		}

		/* --- 3. UI Elements --- */
		.audio-toggle {
			position: fixed; bottom: 30px; right: 30px; z-index: 100;
			background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
			border: 1px solid rgba(255, 255, 255, 0.15); color: white;
			/* Reduced padding for a smaller background footprint */
			padding: 4px 10px; border-radius: 50px; cursor: pointer;
			font-weight: 600; display: flex; align-items: center; gap: 6px;
			transition: all 0.3s ease;
		}
		
		.audio-toggle:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); }

/* Custom scrollbar for better visibility */
		#chat-window::-webkit-scrollbar,
		#monitor-modal-window::-webkit-scrollbar {
			width: 8px;
		}
		#chat-window::-webkit-scrollbar-thumb,
		#monitor-modal-window::-webkit-scrollbar-thumb {
			background: #9ca3af; /* gray-400 */
			border-radius: 4px;
		}
		#chat-window::-webkit-scrollbar-track,
		#monitor-modal-window::-webkit-scrollbar-track {
			background: #f3f4f6; /* gray-100 */
		}
		body { 
  
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: semibold;
}

@font-face {
			font-family: 'Bingo Regular';
			src: url('https://oxi.ng/css/bingo.otf') format('opentype');
		}
		.custom-text {
			font-family: 'Bingo Regular', sans-serif;
			font-size: 150px;
			fill: white;
			text-anchor: middle;
			dominant-baseline: middle;
		}



.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.animate-spin {
  animation: spin 1.8s linear infinite;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;	 /* Firefox */
}
		.monitor-log-info { color: #10b981; } /* emerald-500 */
		.monitor-log-warn { color: #f59e0b; } /* amber-500 */
		.monitor-log-error { color: #ef4444; } /* red-500 */

		/* --- Custom CSS for the Modal --- */
		.modal-overlay {
			/* Tailwind classes cannot easily handle fixed full-screen overlay with z-index */
			position: fixed;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-color: rgba(0, 0, 0, 0.75); /* Dark semi-transparent background */
			display: none; /* Hidden by default */
			justify-content: center;
			align-items: center;
			z-index: 50; /* Above everything else */
		}
		/* --- NEW CSS for Centered Welcome Message --- */
		#welcome-message {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;   /* 👈 ADD THIS */
	justify-content: center;
	align-items: center;
	pointer-events: none;
	transition: opacity 0.3s ease-in-out;
	z-index: 10;
}
		.welcome-text {
			font-size: 1.5rem;
			font-weight: 600;
			
		}
		.greeting-text {
			font-size: 1rem;
			font-weight: 400;
			
		}