:root {
    --primary-color: #0F33EF;
    --white-color: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.4);
    --black-color: #000000;
    --gray-color: #666666;
    --light-gray: #F0F0F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*
body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    display: flex;
    background-color: #f5f5f5;
    overflow: hidden;
    text-align: left;
}
*/
.dashboard_sidebar {
    background: linear-gradient(180deg, #0F33EF 0%, #2544F0 50%, #4D68F3 100%);
    width: 80px;
    height: 100%;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 32px 0 0 0;
    cursor: pointer;
    z-index: 20;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(15, 51, 239, 0.3);
}

.dashboard_sidebar:hover {
    transform: translateX(2px);
    box-shadow: 6px 0 25px rgba(15, 51, 239, 0.4);
}

@media screen and (max-width: 768px) {
    .dashboard_sidebar {
        width: 60px;
        padding: 16px 0;
    }
}

@media screen and (max-width: 480px) {
    .dashboard_sidebar {
        width: 50px;
        padding: 12px 0;
    }

    .dashboard_icon-container {
        width: 35px;
        height: 35px;
    }

    .dashboard_notification-icon {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 360px) {
    .dashboard_sidebar {
        width: 45px;
        padding: 10px 0;
        border-radius: 24px 0 0 24px;
    }

    .dashboard_icon-container {
        width: 30px;
        height: 30px;
        padding: 6px;
    }

    .dashboard_notification-icon {
        width: 30px;
        height: 30px;
        padding: 6px;
    }

    .dashboard_icon-container img,
    .dashboard_notification-icon img {
        width: 18px;
        height: 18px;
    }
}

.dashboard_top-menu, .dashboard_bottom-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 20px;
}

.dashboard_top-menu {
    margin-bottom: auto;
}

.dashboard_bottom-menu {
    margin-top: auto;
}

.dashboard_icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    padding: 8px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dashboard_icon-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.dashboard_icon-container:hover::before {
    animation: dashboard_shine 0.6s ease;
}

@keyframes dashboard_shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.dashboard_icon-container:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.dashboard_icon-container:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dashboard_icon-container.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dashboard_icon-container.active:before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background: linear-gradient(180deg, var(--white-color) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 0 8px rgba(255, 255, 255, 0.3);
}

.dashboard_icon-container img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.dashboard_icon-container:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.dashboard_bot-icon-wrapper, .dashboard_settings-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dashboard_bot-icon-wrapper img:first-child, .dashboard_settings-icon-wrapper img:first-child {
    position: absolute;
}

.dashboard_notification-icon {
    background: linear-gradient(135deg, var(--white-color) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 12px;
    padding: 8px;
    margin: 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.dashboard_notification-icon::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FF4757 0%, #FF3742 100%);
    border-radius: 50%;
    animation: dashboard_pulse 2s infinite;
}

@keyframes dashboard_pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.dashboard_notification-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--white-color) 0%, rgba(255, 255, 255, 1) 100%);
}

.dashboard_notification-icon:active {
    transform: translateY(0) scale(0.95);
}

.dashboard_notification-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(12%) sepia(90%) saturate(5137%) hue-rotate(226deg) brightness(91%) contrast(98%);
    transition: all 0.3s ease;
}

.dashboard_notification-icon:hover img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(12%) sepia(90%) saturate(5137%) hue-rotate(226deg) brightness(91%) contrast(98%) drop-shadow(0 0 6px rgba(15, 51, 239, 0.4));
}

/* Дополнительные анимации для интерактивности */
@keyframes dashboard_float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.dashboard_icon-container:hover {
    animation: dashboard_float 2s ease-in-out infinite;
}

/* Эффект ripple для кликов */
.dashboard_ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: dashboard_ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes dashboard_ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .dashboard_mobile-menu-trigger {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .dashboard_mobile-menu-trigger * {
        pointer-events: none;
    }
}

@media screen and (max-width: 768px) {
    .dashboard_icon-container {
        position: relative;
        z-index: 31 !important;
        touch-action: manipulation;
    }
}