/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #1f2937;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Glass effect overrides */
.glass {
    background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(10px);
}

/* Table Row Hover */
tr.hover-row:hover td {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Chat Bubbles */
.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
}
.chat-bubble.in {
    background-color: #374151;
    color: #e5e7eb;
    border-bottom-right-radius: 2px;
    margin-right: auto;
}
.chat-bubble.out {
    background-color: #2563eb;
    color: white;
    border-bottom-left-radius: 2px;
    margin-left: auto;
}
.chat-time {
    font-size: 0.7rem;
    margin-top: 4px;
    display: block;
    opacity: 0.7;
    text-align: right;
}
