/* Nexus Live Chat Stylesheet */

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: #0a0d14;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Channel Navigation Button */
.channel-btn {
    width: 100%;
    display: flex;
    align-items: center;
    space-x: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}
.channel-btn:hover {
    background: #151c30;
    color: #f1f5f9;
}
.channel-btn.active {
    background: #151c30;
    color: #00f0ff;
    border-color: #242f4f;
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.08);
}
.channel-btn i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
}

/* Direct Message Button */
.dm-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    cursor: pointer;
}
.dm-btn:hover {
    background: #151c30;
}
.dm-btn.active {
    background: #151c30;
    border-color: #242f4f;
}

/* Message Bubble */
.message-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: fadeIn 0.2s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-bubble-self {
    background: linear-gradient(135deg, #0e7490, #1e3a8a);
    color: #ffffff;
    border-radius: 1rem 1rem 0.25rem 1rem;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.message-bubble-other {
    background: #151c30;
    color: #f1f5f9;
    border-radius: 1rem 1rem 1rem 0.25rem;
    border: 1px solid #242f4f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.message-bubble-ai {
    background: linear-gradient(135deg, #4c1d95, #1e1b4b);
    color: #f8fafc;
    border-radius: 1rem 1rem 1rem 0.25rem;
    border: 1px solid #7c3aed;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

/* Reaction Badges */
.reaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 0.5rem;
    background: #101524;
    border: 1px solid #242f4f;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.reaction-badge:hover {
    border-color: #00f0ff;
    transform: scale(1.08);
}
