/* Notification system */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    z-index: 9999;
}

.notification {
    background-color: #222639;
    color: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification-info {
    border-left: 4px solid #3d4caa;
}

.notification-success {
    border-left: 4px solid #28b86e;
}

.notification-warning {
    border-left: 4px solid #b89b28;
}

.notification-error {
    border-left: 4px solid #ff5757;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Tooltip system */
.tooltip {
    position: absolute;
    background-color: #1a1e2e;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Avatar modal */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.avatar-options {
    background-color: #222639;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.avatar-grid img {
    max-width: 100px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.avatar-grid img:hover {
    transform: scale(1.1);
}

/* Theme switcher */
.theme-switch {
    background-color: #2d3042;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
}

/* Dark theme */
.dark-theme {
    background-color: #121212;
}

.dark-theme .player-menu {
    background: linear-gradient(46.13deg, rgb(29, 29, 29) 5.4%, rgba(10, 10, 10, 0.9) 123.103%);
}

.dark-theme .menu-card {
    background-color: #252525;
}

.dark-theme .btn-main {
    background-color: #5e6ed5;
}