/*sideber*/
.eak-side {
    position: fixed;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 115px;
    z-index: 1000;
    /*background: url("../images/section-logo/sidebar.png") no-repeat center;*/
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    /*background-size: cover;*/
    border-radius: 26px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
    padding: 12px 8px;
    flex-direction: column;
    align-items: center
}

/*AAAAAAAAAAAAA*/
/* Контейнер звёзд */
.sidebar-stars {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /*background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);*/
    background: radial-gradient(ellipse at bottom, #463600 0%, #000b43 100%);
    /*background: radial-gradient(ellipse at bottom, #312705 0%, #000000 100%);*/
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    border-radius: 26px;
}

/* Плавное появление */
@keyframes fadeInStars {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}

/* Звёзды с параллакс-движением */
.sidebar-stars .stars,
.sidebar-stars .stars2,
.sidebar-stars .stars3 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    pointer-events: none;
    animation: float 60s linear infinite;
}

/* Разные скорости движения */
.sidebar-stars .stars { animation-duration: 80s; }
.sidebar-stars .stars2 { animation-duration: 120s; animation-direction: reverse; }
.sidebar-stars .stars3 { animation-duration: 100s; }

/* Движение вверх */
@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* Мерцание */
@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* === ЗВЁЗДЫ (как раньше, но с мерцанием) === */
.sidebar-stars .stars {
    background-image:
            radial-gradient(1px 1px at 20px 30px, #eee, transparent),
            radial-gradient(1px 1px at 40px 70px, #fff, transparent),
            radial-gradient(1px 1px at 90px 40px, #eee, transparent),
            radial-gradient(1px 1px at 130px 80px, #fff, transparent),
            radial-gradient(1px 1px at 160px 30px, #eee, transparent),
            radial-gradient(2px 2px at 50px 100px, #fff, transparent);
    background-repeat: repeat;
    background-size: 180px 180px;
    animation: twinkle 4s ease-in-out infinite, float 80s linear infinite;
}

.sidebar-stars .stars2 {
    background-image:
            radial-gradient(2px 2px at 80px 20px, #fff, transparent),
            radial-gradient(1px 1px at 110px 90px, #eee, transparent),
            radial-gradient(2px 2px at 140px 50px, #fff, transparent);
    background-repeat: repeat;
    background-size: 280px 280px;
    animation: twinkle 6s ease-in-out infinite reverse, float 120s linear infinite reverse;
}

.sidebar-stars .stars3 {
    background-image:
            radial-gradient(3px 3px at 100px 100px, #fff, transparent),
            radial-gradient(2px 2px at 170px 120px, #fff, transparent);
    background-repeat: repeat;
    background-size: 450px 450px;
    animation: twinkle 8s ease-in-out infinite, float 100s linear infinite;
}

/* === МЕТЕОРЫ === */
.meteors {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.meteor {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px #fff;
    animation: meteor-fall linear forwards;
}

@keyframes meteor-fall {
    0% {
        transform: translateY(-100px) translateX(-100px) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(800px) translateX(600px) rotate(45deg);
        opacity: 0;
    }
}


/*AAAAAAAAAAAAAAA*/


.eak-side__link, .eak-side__logo {
    display: flex;
    border-radius: 18px;
    width: 100%
}

.eak-side__logo {
    align-items: center;
    justify-content: center;
    height: 54px;
    margin-bottom: 20px
}

.eak-side__logo img {
    max-height: 32px;
    width: auto
}

.lesson-chat__close svg, .lesson-composer__mic svg, .lesson-composer__send svg, .voice-stop svg {
    min-width: 24px;
    max-width: 24px;
    min-height: 24px;
    max-height: 24px
}

.eak-side__nav {
    list-style: none;
    padding: 0;
    margin: 4px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.eak-side__link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #BFC6D2;
    transition: background .2s, box-shadow .2s, color .2s;
    padding: 15px
}

.btn-icon, .eak-ico {
    border-radius: 12px
}

.eak-side__link:hover {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.2); /* или темный */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #BFC6D2;
    /*transform: scale(1.02);*/
}

.eak-side__link.is-active {
    backdrop-filter: blur(1px);
    background: rgba(255, 255, 255, 0.2); /* или темный */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #BFC6D2;
}

.eak-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    line-height: 1
}
.field-actions, .field-inline {
    align-items: center;
    display: flex;
    gap: 12px
}

.course-desc, .lesson + .lesson, .progress-wrap {
    margin-top: 10px
}

.course-desc, .eak-side__link .eak-ico, .lesson-count {
    color: #697493
}

.eak-side__link.is-active .eak-ico, .eak-side__link:hover .eak-ico {
    color: #2135b3
}

.eak-side__link .eak-ico svg * {
    transition: fill .2s, stroke .2s
}

.eak-tx {
    text-align: center;
    line-height: 1;
    font-size: 15px
}

.eak-side__footer {
    margin-top: auto;
    width: 100%;
    padding-top: 6px
}

.eak-side__logout {
    color: #BFC6D2
}

.eak-side__link.eak-side__logout .eak-ico svg [fill]:not([fill=none]), .eak-side__link.eak-side__logout .eak-ico svg [stroke] {
    fill: #BFC6D2
}

.eak-side__link.eak-side__logout:hover .eak-ico svg [fill]:not([fill=none]), .eak-side__link.eak-side__logout:hover .eak-ico svg [stroke] {
    fill: var(--color-error)
}

.eak-side__link.eak-side__logout:hover .eak-ico {
    color: #BFC6D2
}

.eak-side__logout:hover {
    background: rgba(255, 255, 255, 0.1); /* или темный */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #BFC6D2;
}

.field-input {
    flex: 1;
    min-width: 0
}

.field-actions {
    white-space: nowrap
}

.btn-icon {
    min-width: 50px;
    padding: 4px;
    display: flex;
    align-items: center
}
/*SIDEBAR END*/
