:root {
    --primary-color: #0056b3; 
    --secondary-color: #00a8e8;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --sidebar-width: 260px;
}
body { font-family: 'Poppins', sans-serif; background-color: var(--light-bg); color: var(--text-color); }
/* Sidebar */
.sidebar { width: var(--sidebar-width); background: white; border-right: 1px solid #eee; position: fixed; top: 0; bottom: 0; left: 0; z-index: 1000; display: flex; flex-direction: column; transition: 0.3s; }
.sidebar-header { padding: 25px 20px; border-bottom: 1px solid #eee; }
.nav-links { list-style: none; padding: 20px 10px; margin: 0; flex-grow: 1; }
.nav-link { display: flex; align-items: center; padding: 12px 20px; color: #666; text-decoration: none; border-radius: 8px; margin-bottom: 5px; transition: 0.2s; }
.nav-link:hover, .nav-link.active { background-color: #eff6ff; color: var(--primary-color); }
.nav-link i { margin-right: 12px; }
/* Main */
.main-content { flex: 1; margin-left: var(--sidebar-width); padding: 30px; transition: 0.3s; }
/* Cards */
.card-custom { background: white; border: none; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); margin-bottom: 24px; }
.btn-primary-custom { background: var(--primary-color); color: white; border-radius: 50px; padding: 10px 25px; border:none; }
.btn-primary-custom:hover { background: #004494; color: white; }
/* AI Chat */
.ai-chat-box { position: fixed; bottom: 30px; right: 30px; width: 350px; height: 500px; background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); display: none; flex-direction: column; z-index: 1000; border: 1px solid #eee; overflow: hidden; }
.ai-chat-box.open { display: flex; }
.chat-header { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; padding: 15px; display: flex; justify-content: space-between; }
.chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f9f9f9; font-size: 0.9rem; }
.message { margin-bottom: 10px; max-width: 80%; padding: 10px 15px; border-radius: 15px; }
.message.user { background: var(--primary-color); color: white; align-self: flex-end; margin-left: auto; border-bottom-right-radius: 2px; }
.message.ai { background: white; border: 1px solid #eee; align-self: flex-start; border-bottom-left-radius: 2px; }
.agent-chip { cursor: pointer; transition: 0.2s; }
.agent-chip:hover { opacity: 0.8; }
@media (max-width: 991px) { .sidebar { transform: translateX(-100%); } .sidebar.active { transform: translateX(0); } .main-content { margin-left: 0; padding: 20px; } }