/* ============================================================
   Floating Chat Widget - Facebook Messenger Style
   ============================================================ */

/* ── Floating Toggle Button ─────────────────────────── */
.chat-widget-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f8cff 0%, #3a6fd8 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 99995;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79, 140, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(79, 140, 255, 0.5);
}

.chat-widget-toggle.active {
    background: linear-gradient(135deg, #ef5350 0%, #d32f2f 100%);
    box-shadow: 0 4px 16px rgba(239, 83, 80, 0.4);
}

.chat-widget-toggle .toggle-icon {
    transition: transform 0.3s;
}

.chat-widget-toggle.active .toggle-icon {
    transform: rotate(90deg);
}

.chat-widget-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ef5350;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f1923;
}

.chat-widget-badge.visible {
    display: flex;
}

/* ── Chat Panel ─────────────────────────────────────── */
.chat-widget-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 380px;
    height: 520px;
    background: var(--chat-bg, #0f1923);
    border-radius: 16px;
    border: 1px solid var(--chat-border, #243447);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    z-index: 99996;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--chat-font, 'Inter', sans-serif);
    font-size: 13px;
    color: var(--chat-text, #e0e6ed);
    animation: widget-slide-up 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget-panel.open {
    display: flex;
}

@keyframes widget-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Widget Header ──────────────────────────────────── */
.cw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--chat-header-bg, #1a2733);
    border-bottom: 1px solid var(--chat-border, #243447);
    flex-shrink: 0;
}

.cw-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cw-header-left .cw-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.cw-header-left span {
    font-weight: 600;
    font-size: 14px;
}

.cw-header-right {
    display: flex;
    gap: 4px;
}

.cw-header-right button {
    background: none;
    border: none;
    color: var(--chat-text-muted, #8899aa);
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.cw-header-right button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--chat-text, #e0e6ed);
}

/* ── Widget Online Bar ──────────────────────────────── */
.cw-online-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(79, 140, 255, 0.06);
    border-bottom: 1px solid var(--chat-border, #243447);
    font-size: 11px;
    color: var(--chat-text-muted, #8899aa);
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.cw-online-bar::-webkit-scrollbar {
    display: none;
}

.cw-online-avatars {
    display: flex;
    gap: -4px;
}

.cw-online-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--chat-msg-bg, #1e2d3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--chat-text-muted, #8899aa);
    border: 2px solid var(--chat-bg, #0f1923);
    margin-left: -6px;
    flex-shrink: 0;
    overflow: hidden;
}

.cw-online-avatar:first-child {
    margin-left: 0;
}

.cw-online-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-online-avatar.role-admin {
    border-color: var(--role-admin, #ef5350);
}

/* ── Widget Room Status ─────────────────────────────── */
.cw-room-status {
    display: none;
    padding: 6px 16px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.cw-room-status.closed {
    display: block;
    background: rgba(239, 83, 80, 0.12);
    color: var(--chat-danger, #ef5350);
}

.cw-room-status.slow-mode {
    display: block;
    background: rgba(255, 152, 0, 0.1);
    color: var(--chat-warning, #ff9800);
}

/* ── Widget Pinned Message ──────────────────────────── */
.cw-pinned {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(90deg, rgba(79, 140, 255, 0.15), rgba(79, 140, 255, 0.05));
    border-bottom: 2px solid var(--chat-primary, #4f8cff);
    font-size: 11px;
    color: var(--chat-text, #e0e6ed);
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.cw-pinned.visible {
    display: flex;
    animation: widget-pin-in 0.3s ease-out;
}

@keyframes widget-pin-in {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cw-pinned i {
    color: var(--chat-primary, #4f8cff);
    font-size: 13px;
    animation: pin-pulse 2s infinite;
}

.cw-pinned-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.cw-pinned-close {
    background: none;
    border: none;
    color: var(--chat-text-muted, #8899aa);
    padding: 2px 4px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
}

.cw-pinned-close:hover {
    color: var(--chat-danger, #ef5350);
    background: rgba(255, 255, 255, 0.1);
}

.cw-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--chat-border, #243447) transparent;
}

.cw-messages::-webkit-scrollbar {
    width: 4px;
}

.cw-messages::-webkit-scrollbar-thumb {
    background: var(--chat-border, #243447);
    border-radius: 2px;
}

/* ── Widget Message ─────────────────────────────────── */
.cw-msg {
    display: flex;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    position: relative;
    transition: background 0.15s;
    animation: msg-in 0.2s ease-out;
}

.cw-msg:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cw-msg:hover .cw-msg-actions {
    opacity: 1;
}

.cw-msg.own {
    background: var(--chat-msg-own, #1a3a50);
    border-radius: 8px;
}

.cw-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--chat-msg-bg, #1e2d3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--chat-text-muted, #8899aa);
    flex-shrink: 0;
    overflow: hidden;
}

.cw-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-msg-body {
    flex: 1;
    min-width: 0;
}

.cw-msg-head {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1px;
}

.cw-msg-name {
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.cw-msg-name.role-admin {
    color: var(--role-admin, #ef5350);
    font-weight: 700;
}

.cw-msg-name.role-editor {
    color: var(--role-editor, #4f8cff);
}

.cw-msg-name.role-member {
    color: var(--role-member, #4caf50);
}

.cw-msg-name.role-guest {
    color: var(--role-guest, #8899aa);
}

.cw-msg-badge {
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cw-msg-badge.badge-admin {
    background: rgba(239, 83, 80, 0.2);
    color: var(--role-admin, #ef5350);
}

.cw-msg-badge.badge-editor {
    background: rgba(79, 140, 255, 0.2);
    color: var(--role-editor, #4f8cff);
}

.cw-msg-badge.badge-member {
    background: rgba(76, 175, 80, 0.2);
    color: var(--role-member, #4caf50);
}

.cw-msg-badge.badge-guest {
    background: rgba(136, 153, 170, 0.15);
    color: var(--role-guest, #8899aa);
}

.cw-msg-time {
    font-size: 10px;
    color: var(--chat-text-muted, #8899aa);
    margin-left: auto;
}

.cw-msg-edited {
    font-size: 9px;
    color: var(--chat-text-muted, #8899aa);
    font-style: italic;
    margin-left: 4px;
}

.cw-msg-reply-ref {
    background: rgba(79, 140, 255, 0.1);
    border-left: 2px solid var(--chat-primary, #4f8cff);
    padding: 3px 6px;
    margin-bottom: 3px;
    border-radius: 0 4px 4px 0;
    font-size: 11px;
    color: var(--chat-text-muted, #8899aa);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw-msg-text {
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
}

.cw-msg-text a {
    color: var(--chat-primary, #4f8cff);
    text-decoration: none;
}

.cw-msg-text a:hover {
    text-decoration: underline;
}

/* ── Translation Toggle ─────────────────────────────── */
.cw-translate-toggle {
    display: inline-block;
    background: none;
    border: 1px solid rgba(79, 140, 255, 0.25);
    color: var(--chat-primary, #4f8cff);
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 10px;
    cursor: pointer;
    margin-top: 2px;
    transition: all 0.2s;
}

.cw-translate-toggle:hover {
    background: rgba(79, 140, 255, 0.1);
}

.cw-translate-toggle i {
    font-size: 9px;
    margin-right: 1px;
}

/* ── Auto-Translate Toggle Button ──────────────────── */
.cw-auto-translate-toggle {
    position: relative;
    font-size: 14px !important;
}

.cw-auto-translate-toggle.active {
    background: rgba(76, 175, 80, 0.15) !important;
    color: #4caf50 !important;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.2);
}

.cw-auto-translate-toggle.active::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 5px;
    height: 5px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* ── Widget Hover Actions ───────────────────────────── */
.cw-msg-actions {
    position: absolute;
    top: 2px;
    right: 4px;
    opacity: 0;
    display: flex;
    gap: 1px;
    background: var(--chat-header-bg, #1a2733);
    border: 1px solid var(--chat-border, #243447);
    border-radius: 4px;
    padding: 1px;
    transition: opacity 0.15s;
}

.cw-msg-actions button {
    background: none;
    border: none;
    color: var(--chat-text-muted, #8899aa);
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    transition: all 0.15s;
}

.cw-msg-actions button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--chat-text, #e0e6ed);
}

/* ── Widget Input ───────────────────────────────────── */
.cw-input-area {
    padding: 8px 12px;
    background: var(--chat-input-bg, #1a2733);
    border-top: 1px solid var(--chat-border, #243447);
    flex-shrink: 0;
}

.cw-reply-bar {
    display: none;
    padding: 4px 8px;
    margin-bottom: 6px;
    background: rgba(79, 140, 255, 0.08);
    border-left: 2px solid var(--chat-primary, #4f8cff);
    border-radius: 0 4px 4px 0;
    font-size: 11px;
    color: var(--chat-text-muted, #8899aa);
    align-items: center;
    justify-content: space-between;
}

.cw-reply-bar.visible {
    display: flex;
}

.cw-reply-bar .cw-cancel-reply {
    background: none;
    border: none;
    color: var(--chat-text-muted, #8899aa);
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
}

.cw-input-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.cw-input-row textarea {
    flex: 1;
    background: var(--chat-bg, #0f1923);
    border: 1px solid var(--chat-border, #243447);
    color: var(--chat-text, #e0e6ed);
    padding: 8px 12px;
    border-radius: 18px;
    font-family: var(--chat-font, 'Inter', sans-serif);
    font-size: 13px;
    resize: none;
    max-height: 80px;
    min-height: 36px;
    line-height: 1.3;
    outline: none;
    transition: border-color 0.2s;
}

.cw-input-row textarea:focus {
    border-color: var(--chat-primary, #4f8cff);
}

.cw-input-row textarea::placeholder {
    color: var(--chat-text-muted, #8899aa);
}

.cw-send-btn {
    background: var(--chat-primary, #4f8cff);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.cw-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(79, 140, 255, 0.4);
}

.cw-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.cw-login-prompt {
    padding: 10px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--chat-text-muted, #8899aa);
    background: var(--chat-input-bg, #1a2733);
    border-top: 1px solid var(--chat-border, #243447);
}

.cw-login-prompt a {
    color: var(--chat-primary, #4f8cff);
    font-weight: 600;
    text-decoration: none;
}

/* ── Expand to Full Page Link ───────────────────────── */
.cw-expand-link {
    display: block;
    text-align: center;
    padding: 6px;
    font-size: 11px;
    color: var(--chat-text-muted, #8899aa);
    background: var(--chat-header-bg, #1a2733);
    text-decoration: none;
    border-top: 1px solid var(--chat-border, #243447);
    transition: background 0.2s;
    flex-shrink: 0;
}

.cw-expand-link:hover {
    background: rgba(79, 140, 255, 0.08);
    color: var(--chat-primary, #4f8cff);
}

/* ── Tabs & Views ────────────────────────────────────── */
.cw-tabs {
    display: flex;
    border-bottom: 1px solid var(--chat-border, #243447);
    background: var(--chat-header-bg, #1a2733);
}

.cw-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-size: 13px;
    color: var(--chat-text-muted, #8899aa);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    outline: none;
}

.cw-tab:hover {
    color: var(--chat-text, #e1e8ed);
    background: rgba(255, 255, 255, 0.02);
}

.cw-tab.active {
    color: var(--chat-primary, #4f8cff);
    border-bottom-color: var(--chat-primary, #4f8cff);
}

.cw-view {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.cw-view.cw-view-active {
    display: flex;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.form-check-input {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    cursor: pointer;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    flex-shrink: 0 !important;
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    margin: 0 !important;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    color: var(--chat-text-muted);
}

.cw-user-list-full {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cw-user-list-full .chat-user-group-label {
    padding: 8px 8px 4px;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--chat-text-muted, #8899aa);
    font-weight: 700;
}

.cw-user-list-full .chat-user-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.15s;
    cursor: pointer;
}

.cw-user-list-full .chat-user-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cw-user-list-full .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--chat-msg-bg, #1a2733);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--chat-text-muted, #8899aa);
    overflow: hidden;
    flex-shrink: 0;
}

.cw-user-list-full .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-user-list-full .user-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--chat-text, #e1e8ed);
}

.cw-user-list-full .user-name.role-admin {
    color: var(--role-admin, #ef5350);
    font-weight: 700;
}

.cw-user-list-full .user-name.role-editor {
    color: var(--role-editor, #4f8cff);
}

.cw-user-list-full .user-name.role-member {
    color: var(--role-member, #4caf50);
}

.cw-user-list-full .user-name.role-guest {
    color: var(--role-guest, #8899aa);
}

.cw-user-list-full .online-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--chat-success, #4caf50);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
    .chat-widget-panel {
        width: calc(100vw - 16px);
        right: 8px;
        left: auto;
        bottom: 130px;
        height: 60vh;
        border-radius: 12px;
    }

    .chat-widget-toggle {
        bottom: 70px;
        right: 12px;
        left: auto;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

/* ── Context Menu for User (Moderation) ────────────── */
.cw-user-context-menu {
    position: fixed;
    background: var(--chat-header-bg, #1a2733);
    border: 1px solid var(--chat-border, #243447);
    border-radius: 8px;
    padding: 4px;
    z-index: 10000;
    min-width: 160px;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cw-user-context-menu.visible {
    display: block;
}

.cw-user-context-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    color: var(--chat-text, #e1e8ed);
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
}

.cw-user-context-menu button:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cw-user-context-menu button.danger {
    color: var(--chat-danger, #ef5350);
}

.cw-user-context-menu button.danger:hover {
    background: rgba(239, 83, 80, 0.12);
}

/* ── Mute Duration Modal ────────────────────────────── */
.cw-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cw-modal-backdrop.visible {
    display: flex;
}

.cw-modal {
    background: var(--chat-header-bg, #1a2733);
    border: 1px solid var(--chat-border, #243447);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.cw-modal h4 {
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--chat-text, #e1e8ed);
}

.cw-modal label {
    display: block;
    font-size: 13px;
    color: var(--chat-text-muted, #8899aa);
    margin-bottom: 6px;
}

.cw-modal select,
.cw-modal input,
.cw-modal textarea {
    width: 100%;
    background: var(--chat-bg, #0f1923);
    border: 1px solid var(--chat-border, #243447);
    color: var(--chat-text, #e1e8ed);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    font-family: var(--chat-font);
}

.cw-modal select:focus,
.cw-modal input:focus,
.cw-modal textarea:focus {
    border-color: var(--chat-primary, #4f8cff);
}

.cw-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.cw-modal-actions button {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.cw-modal-actions .btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--chat-text, #e1e8ed);
}

.cw-modal-actions .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cw-modal-actions .btn-confirm {
    background: var(--chat-danger, #ef5350);
    color: white;
}

.cw-modal-actions .btn-confirm:hover {
    background: #d32f2f;
}

.cw-modal-actions .btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--chat-border, #243447);
}

/* ── Hide widget on dedicated chat page ─────────────── */
body.page-chat .chat-widget-toggle,
body.page-chat .chat-widget-panel {
    display: none !important;
}

/* ─── Reactions ─── */
.msg-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.reaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 0.85rem;
    color: var(--text-color, #eee);
    cursor: pointer;
    transition: all 0.2s;
}

.reaction-badge:hover {
    background: rgba(255, 255, 255, 0.2);
}

.reaction-badge.active {
    background: rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.5);
}

.reaction-count {
    font-size: 0.75rem;
    opacity: 0.8;
}

.reaction-trigger {
    background: transparent;
    border: none;
    color: var(--text-color, #eee);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: 1rem;
    padding: 0 4px;
}

.reaction-trigger:hover {
    opacity: 1;
}

/* Inline Picker */
.inline-reaction-picker {
    background: var(--bg-color, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.inline-reaction-picker button {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.inline-reaction-picker button:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
}