
.dropmenu-container {
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    width: max-content;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.dropmenu-container.show {
    display: block;
    transition: max-height 0.3s ease-in;
}
.dropmenu-item {
    cursor: pointer;
    border: none;
    padding: 0;
}
.submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    padding-left: 1rem;
    border: none;
}
.submenu.show {
    max-height: 500px; /* Valor suficiente para caber o conteúdo */
    transition: max-height 0.3s ease-in;
}
.dropdown-toggle-dropmenu {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 0.5rem;
}
.dropdown-toggle-dropmenu.rotate {
    transform: rotate(180deg);
}
.tdropmenu-action {
    text-decoration: none;
    color: black;
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px 8px;
    box-sizing: border-box; /* Garante que o padding não ultrapasse os limites */
    border-radius: 8px;
}
.tdropmenu-action.active {
    background-color: #f0f0f0;
}
.tdropmenu-action:hover {
    background-color: #f0f0f0;
}
.tdropmenu-subaction {
    text-decoration: none;
    color: black;
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px 8px;
    box-sizing: border-box; /* Garante que o padding não ultrapasse os limites */
    border-radius: 8px;
}
.tdropmenu-subaction.active {
    background-color: #f0f0f0;
}
.dropmenu-item > a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px 16px;
    color: inherit !important;
}

.tdropmenu-showall {
    font-size: 0.9rem;
    color: #666;
}

.dropdown-menu.show {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.30) !important;
}

.dropmenu-container.show {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.30) !important;
}