/* Боковое меню ЛК */
.lk-sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}

.lk-main {
    margin-left: 260px;
}

.lk-sidebar .logo {
    padding: 1.35rem 1.25rem 1.15rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lk-sidebar nav {
    flex: 1;
    padding: 0.85rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lk-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.7rem 0.95rem;
    min-height: 44px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
    transition: background 0.18s ease, color 0.18s ease;
}

.lk-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lk-sidebar nav a.active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #6ee7b7;
}

.lk-sidebar nav a .lk-nav-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 10px;
    line-height: 1;
    flex-shrink: 0;
}

.lk-sidebar nav a .lk-nav-badge:empty,
.lk-sidebar nav a .lk-nav-badge[hidden] {
    display: none;
}

.lk-sidebar__actions {
    padding: 0 0.85rem 0.85rem;
}

.lk-sidebar .btn-renew {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.7rem 1rem;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.12);
    color: #ecfdf5;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.lk-sidebar .btn-renew:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.lk-sidebar .user {
    padding: 1rem 1.1rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.lk-sidebar .user-email {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 0.86rem;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
    word-break: break-word;
}

.lk-sidebar__user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.lk-sidebar__user-actions a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: color 0.15s;
}

.lk-sidebar__user-actions a:hover {
    color: #fff;
}

.lk-sidebar #support-sound-toggle {
    margin: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s;
}

.lk-sidebar #support-sound-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
    .lk-sidebar {
        width: 280px;
        max-width: 85vw;
        min-width: 0;
    }

    .lk-main {
        margin-left: 0;
    }
}
