/* Main Menu */
.main-menu-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.main-menu-btn:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    transform: scale(1.1);
}

.main-menu {
    position: fixed;
    top: 60px;
    left: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid #e9ecef;
    min-width: 220px;
    z-index: 5000;
    animation: slideDown 0.3s ease;
    overflow: hidden;
    height: auto;
    right: auto;
}

.menu-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: linear-gradient(135deg, #7cbcf4 0%, #84afd0 100%);
    color: white;
    transform: translateX(5px);
}

.menu-item i {
    width: 16px;
    text-align: center;
    opacity: 0.8;
}

.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 8px 0;
}

/* VIP özel stili */
.menu-item[data-action="vip"] {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2c3e50;
    font-weight: bold;
    animation: vipGlow 2s ease-in-out infinite;
    border: 2px solid #ffd700;
}

.menu-item[data-action="vip"]:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    color: #2c3e50;
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Animasyonlar */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes vipGlow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-menu {
        left: 10px;
        right: 10px;
        min-width: auto;
    }
    
    .menu-item {
        padding: 7px 16px;
        font-size: 12px;
    }

    /* Mobil Menu Overflow*/
    .main-menu {
        position: fixed;
        width: 190px;
        top: 48px;
        left: 0;
        right: 170px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid #e9ecef;
        min-width: 220px;
        z-index: 5000;
        animation: slideDown 0.3s ease;
        overflow: auto;
        height: 540px;
    }
}
.main-menu::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Firefox */
.main-menu {
    scrollbar-width: none; /* Firefox scrollbar gizle */
}

/* mobil de scroll kapa */
@media (max-width: 768px) {
    .user-sidebar::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }
    .user-sidebar {
        scrollbar-width: none; 
    }
    .users::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }
    .users {
        scrollbar-width: none; 
    }
    .messages-container::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }
    .messages-container {
        scrollbar-width: none; 
    }
    .messages::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }
    .messages {
        scrollbar-width: none; 
    }
    .messages { 
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .users{
        width: 121px;
    }
    .emoji-picker-content img {
        width: 16px;
        height: 16px;
    }
    .emoji-grid {
        gap: 1px;
        margin-bottom: 8px;
    }
    .emoji-item {
        padding: 2px;
        width: 30px;
        height: 30px;
    }
}
