﻿/* The container that holds the button & the menu */
.dropdown {
    position: relative; /* so the menu is positioned relative to this element */
    display: inline-block; /* keep it in line with other content if needed */
}

/* Three‑dot icon button */
.dropdown-btn {
    background: none;
    border: none;
    font-size: 24px; /* size of the dots */
    cursor: pointer;
    padding: 4px 8px;
    color: black;
}

    .dropdown-btn:focus {
        outline: none;
    }

/* The menu – hidden by default */
.dropdown-menu {
    position: absolute;
    top: 100%; /* right below the button */
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 160px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    z-index: 1000;
    display: none; /* hide until opened */
    margin-top: 4px;
}

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu button {
        width: 100%;
        padding: 8px 12px;
        border: none;
        background: none;
        text-align: left;
        cursor: pointer;
        font-size: 14px;
        color: black;
    }

        .dropdown-menu button:hover,
        .dropdown-menu button:focus {
            background: #f0f0f0;
        }
