/* ============================================================
   Lisafunktsioonid – Overflow "Muu…" nupp
   (rahvaalgatus.ee stiilis)
   ============================================================ */

.lf-overflow-btn {
    display: none;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 2px 2px 0 0;
    transition: background 0.15s;
    align-self: flex-end;
}

.lf-overflow-btn:hover {
    background: rgba(255,255,255,0.08);
}

.lf-overflow-btn.lf-visible {
    display: inline-flex;
}

.lf-overflow-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
}

.lf-overflow-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #103b5d;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 9999;
    overflow: hidden;
}

.lf-overflow-dropdown.lf-open {
    display: block;
}

.lf-overflow-dropdown a {
    display: block !important;
    padding: 10px 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.12s;
}

.lf-overflow-dropdown a:last-child {
    border-bottom: none;
}

.lf-overflow-dropdown a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    text-decoration: none !important;
}
