/* ========================================
   PIXELCEYLON - COMPLETE FIX FOR ALL 8 ISSUES
   ======================================== */

/* ISSUE 1: USERNAME INPUT VISIBILITY - Dark text on white background */
.onboarding-fields .input-wrapper input,
.input-wrapper input,
#onboarding-username,
#onboarding-bio,
#login-username,
#reg-username,
#login-password,
#reg-password {
    color: #1f2937 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    caret-color: #3b82f6 !important;
}

/* ISSUE 2 & 5: TIMER TO TOP-RIGHT, PROFILE BUTTON BELOW IT */
/* ISSUE 2 & 5: TIMER VISIBILITY & PROFILE BUTTON */
.info-group {
    position: absolute !important;
    top: 25px !important;
    left: 25px !important;
    /* Move back to left or keep right? User said profile button separate top right. */
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    z-index: 100 !important;
}

/* --- AUTO-HIDE CREATIVE CENTER NOTIFICATION --- */
.status-panel.center-status {
    position: fixed !important;
    top: 85px !important;
    /* Moved slightly lower to avoid overlaps */
    left: 50% !important;
    transform: translateX(-50%) translateY(-20px) !important;
    z-index: 10000 !important;
    /* Ensure it's on the very top */
    min-width: 0 !important;
    width: auto !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease !important;
}

.status-panel.center-status.visible {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: all !important;
}

.status-panel.center-status .status-content {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.status-panel.center-status .indicator-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.status-panel.center-status .status-badge,
.status-panel.center-status .progress-container {
    display: none !important;
}

.status-panel.center-status #next-pixel-time {
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    font-family: sans-serif !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@keyframes gradientFlow {
    0% {
        background-position: 100% 0%;
    }

    100% {
        background-position: -100% 0%;
    }
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.user-profile-button {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: 3px solid #fff !important;
    transition: 0.2s !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ISSUE 6: VIEW CONTROLS TO RIGHT SIDE (BELOW PROFILE) */
/* ISSUE 6: VIEW CONTROLS - COMPACT & CENTERED */
.view-controls {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    width: auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
    transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.view-controls:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

.view-controls button {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
    color: #475569 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.view-controls button:hover {
    transform: scale(1.1) translateY(-2px) !important;
    color: var(--primary) !important;
    background: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.15) !important;
}

/* Shimmer Sweep Effect for Utility Buttons */
.view-controls button::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.6), transparent) !important;
    transform: rotate(25deg) translateX(-100%) !important;
    pointer-events: none !important;
}

.view-controls button:hover::after {
    transform: rotate(25deg) translateX(100%) !important;
    transition: transform 0.6s ease-in-out !important;
}

/* Specialized styles for specific actions */
#logout-btn:hover {
    color: #ef4444 !important;
    border-color: #ef4444 !important;
    box-shadow: 0 8px 15px rgba(239, 68, 68, 0.15) !important;
}

#logout-btn i {
    transition: 0.3s transform !important;
}

#logout-btn:hover i {
    transform: translateX(3px) !important;
}

.view-controls button.active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
}

/* TOOLS STAY ON LEFT */
/* --- COMPACT CREATIVE TOOL DOCK (LEFT SIDE) --- */
.tools-controls {
    position: absolute !important;
    top: 25px !important;
    left: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
}

.tools-controls .tool-button {
    width: 34px !important;
    /* Smaller size */
    height: 34px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
    color: #64748b !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.tools-controls .tool-button:hover {
    transform: scale(1.1) translateX(3px) !important;
    color: var(--primary) !important;
    background: #fff !important;
}

.tools-controls .tool-button.active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
}

/* Creative Active Indicator Dot */
.tools-controls .tool-button.active::after {
    content: '' !important;
    position: absolute !important;
    right: -10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 4px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px var(--primary) !important;
    animation: sideDotPulse 1s infinite alternate !important;
}

@keyframes sideDotPulse {
    from {
        transform: translateY(-50%) scale(1);
        opacity: 0.6;
    }

    to {
        transform: translateY(-50%) scale(1.5);
        opacity: 1;
    }
}

/* --- CREATIVE ARTIST DOCK (COLOR BAR) --- */
.color-controls {
    position: absolute !important;
    bottom: 20px !important;
    /* Lowered for compactness */
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
    padding: 8px 12px !important;
    /* Smaller padding */
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    /* Tighter gap */
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.color-controls:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateX(-50%) translateY(-5px) scale(1.02) !important;
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.2) !important;
}

.color-palette {
    display: flex !important;
    gap: 8px !important;
}

.color-button {
    width: 28px !important;
    height: 28px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

/* Subtle Shimmer Animation */
.color-button::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 201% !important;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 55%,
            transparent 100%) !important;
    transform: rotate(25deg) translateX(-100%) !important;
    transition: none !important;
    pointer-events: none !important;
}

.color-button:hover {
    transform: scale(1.25) !important;
    border-color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
}

.color-button:hover::after {
    transform: rotate(25deg) translateX(100%) !important;
    transition: transform 0.6s ease-in-out !important;
}

.color-button.selected {
    transform: scale(1.1) !important;
    border-color: #fff !important;
    box-shadow: 0 0 0 3px #fff, 0 0 15px var(--primary) !important;
    border-radius: 12px !important;
    /* Morph slightly on selection */
    z-index: 2 !important;
}

.color-button.selected::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    background: inherit !important;
    animation: bloom 2s infinite !important;
    z-index: -1 !important;
}

@keyframes bloom {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Cleaned up selections */
.color-button:hover {
    transform: scale(1.25) !important;
}

.color-button.selected {
    transform: scale(1.1) !important;
}

.picker-container {
    width: 34px !important;
    height: 34px !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    margin-left: 2px !important;
}

.picker-container:hover {
    background: #fff !important;
    border-color: var(--primary) !important;
    transform: scale(1.1) rotate(15deg) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.picker-container i {
    color: var(--primary) !important;
    font-size: 18px !important;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2)) !important;
}

#custom-color {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    border: none !important;
}

/* --- MODERN HUD STATS DASHBOARD (BOTTOM RIGHT) --- */
.stats-group {
    position: absolute !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 100 !important;
}

.stats-panel {
    min-width: 200px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 20px !important;
    padding: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
    color: #1f2937 !important;
}

.online-stat {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.online-stat i {
    color: #10b981 !important;
    margin-right: 12px !important;
}

.coord-stat {
    font-family: 'Press Start 2P', cursive !important;
    font-size: 8px !important;
    background: rgba(59, 130, 246, 0.05) !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    color: #64748b !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.coord-stat span {
    color: #3b82f6 !important;
}

/* ISSUE 8: CHAT MESSAGE PROFILE PICTURES */
.chat-message {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    align-items: flex-start !important;
    padding: 8px !important;
    border-radius: 8px !important;
    transition: 0.2s !important;
}

.chat-message:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.message-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    cursor: pointer !important;
    border: 2px solid var(--primary) !important;
    flex-shrink: 0 !important;
    transition: 0.2s !important;
}

.message-avatar:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 0 12px var(--primary-glow) !important;
}

.message-content-wrapper {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.message-info {
    font-size: 10px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    cursor: pointer !important;
    color: var(--primary) !important;
    transition: 0.2s !important;
}

.message-info:hover {
    text-decoration: underline !important;
    color: var(--secondary) !important;
}

.message-content {
    font-size: 11px !important;
    line-height: 1.5 !important;
    color: var(--text) !important;
}

/* HIDE HELP PANEL TO SAVE SPACE */
.help-panel {
    display: none !important;
}

/* --- NOTIFICATION STYLES --- */
.notification-container {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    z-index: 10001 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
    pointer-events: none !important;
}

.pixel-notification {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-radius: 20px !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    min-width: 260px !important;
    max-width: 320px !important;
    pointer-events: auto !important;
    animation: creativeSlide 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 5px !important;
}

.pixel-notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary);
    border-radius: 20px 0 0 20px;
}

@keyframes creativeSlide {
    0% {
        transform: translateX(100px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.cooldown-notification::before {
    background: #ef4444 !important;
}

.join-notification::before {
    background: #3b82f6 !important;
}

.success-notification::before {
    background: #10b981 !important;
}

.notification-icon {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.03) !important;
    flex-shrink: 0 !important;
}

.notification-content {
    flex: 1 !important;
}

.notification-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #111b21 !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.notification-message {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    .notification-container {
        top: 15px !important;
        right: 15px !important;
        gap: 6px !important;
    }
    .pixel-notification {
        padding: 8px 12px !important;
        min-width: 180px !important;
        max-width: 260px !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }
    .notification-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
    .notification-title {
        font-size: 10px !important;
    }
    .notification-message {
        font-size: 9px !important;
    }
}

.notif-open-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3) !important;
    filter: brightness(1.1) !important;
}

/* --- CORE APPLICATION LAYOUT --- */
#app {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 100 !important;
    /* Higher z-index to clear landing layers */
    background: #f6f6f6 !important;
    display: flex;
    /* Remove !important to allow auth.js to control it */
    flex-direction: column;
    overflow: hidden !important;
}

#planet-background {
    position: absolute !important;
    inset: 0 !important;
    background: #f6f6f6 !important;
    z-index: 0 !important;
}

#canvas-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

#pixel-canvas {
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    cursor: crosshair !important;
    image-rendering: pixelated !important;
    image-rendering: crisp-edges !important;
}

/* --- MODERN DM (WHATSAPP NEO) STYLES --- */
.wa-dm-card {
    width: 380px !important;
    max-width: 95vw !important;
    height: 520px !important;
    background: #f0f2f5 !important;
    border-radius: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25) !important;
    animation: zoomInModal 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
}

@keyframes zoomInModal {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.wa-dm-header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.wa-dm-header-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.dm-header-text {
    display: flex !important;
    flex-direction: column !important;
}

#dm-recipient-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111b21 !important;
}

.dm-status {
    font-size: 10px !important;
    color: #06d755 !important;
    font-weight: 500 !important;
}

#dm-recipient-img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.header-actions {
    display: flex !important;
    gap: 18px !important;
    color: #54656f !important;
    font-size: 16px !important;
}

.wa-dm-body {
    flex: 1 !important;
    padding: 16px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png') !important;
    background-repeat: repeat !important;
    background-color: #e5ddd5 !important;
}

/* Modern Chat Bubbles */
.dm-msg {
    max-width: 80% !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    position: relative !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
    animation: slideUpMsg 0.3s ease-out !important;
}

@keyframes slideUpMsg {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dm-msg.received {
    align-self: flex-start !important;
    background: #ffffff !important;
    color: #111b21 !important;
    border-top-left-radius: 2px !important;
}

.dm-msg.sent {
    align-self: flex-end !important;
    background: #d9fdd3 !important;
    color: #111b21 !important;
    border-top-right-radius: 2px !important;
}

.dm-msg-info {
    font-size: 9px !important;
    margin-top: 4px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    color: #667781 !important;
}

.dm-msg.sent .dm-msg-info {
    color: #637d6a !important;
}

.read-check {
    color: #53bdeb !important;
    /* Double blue check for 'read' */
}

.chat-input-row,
.wa-dm-input-row {
    position: relative !important;
    background: #f0f2f5 !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#dm-input {
    flex: 1 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    color: #1f2937 !important;
}

#send-dm-btn {
    background: none !important;
    border: none !important;
    color: #54656f !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

#send-dm-btn:hover {
    color: #008069 !important;
}

#dm-emoji-panel {
    bottom: 60px !important;
    left: 10px !important;
    width: 250px !important;
    z-index: 2000 !important;
}

/* --- DM INBOX STYLES --- */
.dm-inbox-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    gap: 15px !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: background 0.2s !important;
    position: relative !important;
}

.dm-inbox-item:hover {
    background: rgba(0, 0, 0, 0.03) !important;
}

.dm-inbox-avatar {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.dm-inbox-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.dm-inbox-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.dm-inbox-name {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #111b21 !important;
}

.dm-inbox-time {
    font-size: 10px !important;
    color: #667781 !important;
}

.dm-inbox-preview {
    font-size: 12px !important;
    color: #667781 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
}

.unread-dot {
    width: 10px !important;
    height: 10px !important;
    background: #008069 !important;
    border-radius: 50% !important;
    margin-left: 5px !important;
}

/* --- END OF STYLES --- */