.cabinet-switcher {
    position: relative;
    display: inline-block;
}

.cabinet-switcher > summary {
    cursor: pointer;
    list-style: none;
}

.cabinet-switcher > summary::-webkit-details-marker {
    display: none;
}

.cabinet-switcher .btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cabinet-switcher__chevron {
    font-size: 10px;
    transition: transform 0.18s ease;
}

.cabinet-switcher[open] .cabinet-switcher__chevron {
    transform: rotate(180deg);
}

.cabinet-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 120;
    width: 280px;
    padding: 6px;
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 48, 75, 0.16);
}

.cabinet-switcher__item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 10px;
    color: #004289;
    text-decoration: none;
    border-radius: 6px;
}

.cabinet-switcher__item:hover,
.cabinet-switcher__item:focus {
    color: #007bff;
    background: #f2f7fc;
    text-decoration: none;
}

.cabinet-switcher__item i {
    margin-top: 3px;
    text-align: center;
}

.cabinet-switcher__item strong,
.cabinet-switcher__item small {
    display: block;
}

.cabinet-switcher__item small {
    margin-top: 2px;
    color: #65758b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}
