body {
    overflow-x: hidden;
}

#sidebar {
    width: 250px;
    height: 100vh;
    transition: all 0.3s;
    position: relative;
}

.toggle-btn {
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);

    width: 36px;
    height: 36px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

#sidebar.collapsed .toggle-btn {
    right: -15px;
}

.toggle-btn i {
    font-size: 1.2rem;
}

#sidebar.collapsed {
    width: 80px;
}

#sidebar.collapsed .link-text {
    display: none;
}

#sidebar.collapsed .nav-link {
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px;
}

.nav-link i {
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

#content {
    flex-grow: 1;
    padding: 20px;
}

.nav-logo {
    width: 90px;
    height: auto;
}

#content {
    height: 100vh;
    overflow-y: auto;
}

/* .select2-container .select2-selection--single {
    background: #2b2f36;
    color: #fff;
    border: 1px solid #3a3f47;
}

.select2-dropdown {
    background: #2b2f36;
    border: 1px solid #3a3f47;
}

.select2-results__option {
    color: #ddd;
} */

.product-title {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* máximo de linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em; /* garante altura fixa */
}

.product-subtitle {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    padding-right: 2.5rem; /* espaço pro botão */
}

.btn-reset {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    
    border: none;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
    color: #6c757d;
}

.btn-reset:hover {
    color: #000;
}

/* Botão flutuante no topo central */
#notification-wrapper {
    
    border-radius: 50%;
    z-index: 9999;
}


#notif_dropdown {
    position: fixed;
    top: 25px;
    left: 15px;
    transform: translateX(-50%);
    z-index: 999999;
}

/* Dropdown personalizado */
#notification-list {
    display: none;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}

#notification-wrapper .dropdown-menu {
    z-index: 100000;
}

#content {
    z-index: 500;
}

.custom-dropdown {
    height: 3rem;
    width: 32rem;    
}

.notificacao-title{
    width: 100%;
}