.popup-menu { position: absolute; display: none; background-color: var(--bg); padding: 0; overflow: hidden; border-radius: 4px; font-size: 1.6rem; line-height: 1.2; min-width: 240px; &.open { display: block; z-index: 1000; box-shadow: 0px 0px 1.5px rgba(0, 0, 0, 0.105), 0px 1px 3px rgba(0, 0, 0, 0.21); } & ul { margin: 0; padding: 0; list-style: none; & .with-icon { display: flex; justify-content: space-between; } } & li>* { display: flex; align-items: center; justify-content: space-between; } & li>div { padding: 2px 12px; min-height: 40px; } & form.button_to { display: block; } & a, button[type="submit"] { display: flex; appearance: none; border: none; font-size: 1.6rem; justify-content: flex-start; flex-grow: 1; align-items: center; color: var(--black, #000); text-decoration: none; gap: 0.4em; padding: 2px 12px; min-height: 40px; &[data-icon]::before { color: var(--data-icon-color); font-family: var(--font-icons); font-variation-settings: 'opsz' 24, 'wght' 300, 'FILL' 1, 'GRAD' 0; font-size: 2.4rem; line-height: 1; content: attr(data-icon); } & .icon { font-size: 2.8rem; color: var(--clr-grey-800); } } & a, button[type="submit"] { &:hover { background-color: var(--clr-grey-300); } } & button[type="submit"] { background-color: transparent; width: 100%; } }