/* Dropdown container */
.dropdown {
    position: relative;
}

/* Button */
.dropdown > label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dropdown menu */
.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;

    background: #ffffff;
    border-radius: 10px;
    min-width: 160px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 50;
}

/* Show dropdown on click/focus */
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Menu list */
.dropdown-content ul,
.dropdown-content {
    padding: 6px;
}

/* Menu item */
.dropdown-content li {
    list-style: none;
}

/* Menu links & buttons */
.dropdown-content a,
.dropdown-content button {
    display: block;
    width: 100%;
    padding: 10px 12px;

    border-radius: 8px;
    font-size: 14px;
    text-align: left;

    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;

    transition: background 0.2s ease;
}

/* Hover effect */
.dropdown-content a:hover,
.dropdown-content button:hover {
    background: #f4f4f5;
}

/* Divider (optional) */
.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}
.hide-this-btn-mob{
    display: block;
}
/* Mobile fix */
@media (max-width: 640px) {
    .dropdown-content {
        min-width: 180px;
    }
    .hide-this-btn-mob{
        display: none;
    }
}
