.sidebar-content {
    background: #272727 !important;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.avatar-inicial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #272727;
    /* fundo claro */
    border: 1px solid rgb(97, 97, 97);
    /* borda cinza */
    color: #f8f9fa;
    font-weight: bold;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-align: center;
    line-height: 40px;
    display: inline-block;
}

/*Alertas*/
.alert {
    padding: 20px !important;
    padding: 5px !important;
    color: #000000;
}

.alert {
    padding: 15px !important;
    display: flex;
    padding: 0;
}

.alert-danger { 
    color: #e30000 !important;
}

.alert-success {
    --bs-alert-color: var(--bs-success-text-emphasis);
    --bs-alert-bg: var(--bs-success-bg-subtle);
    --bs-alert-border-color: var(--bs-success-border-subtle);
    --bs-alert-link-color: var(--bs-success-text-emphasis);
}

.alert-warning {
    --bs-alert-color: var(--bs-warning-text-emphasis);
    --bs-alert-bg: var(--bs-warning-bg-subtle);
    --bs-alert-border-color: var(--bs-warning-border-subtle);
    --bs-alert-link-color: var(--bs-warning-text-emphasis);
}

.alert-info {
    --bs-alert-color: var(--bs-info-text-emphasis);
    --bs-alert-bg: var(--bs-info-bg-subtle);
    --bs-alert-border-color: var(--bs-info-border-subtle);
    --bs-alert-link-color: var(--bs-info-text-emphasis);
}

.alert-primary {
    --bs-alert-color: var(--bs-primary-text-emphasis);
    --bs-alert-bg: var(--bs-primary-bg-subtle);
    --bs-alert-border-color: var(--bs-primary-border-subtle);
    --bs-alert-link-color: var(--bs-primary-text-emphasis);
}

.alert-secondary {
    --bs-alert-color: var(--bs-secondary-text-emphasis);
    --bs-alert-bg: var(--bs-secondary-bg-subtle);
    --bs-alert-border-color: var(--bs-secondary-border-subtle);
    --bs-alert-link-color: var(--bs-secondary-text-emphasis);
}
/*Alerta*/

.product-thumbnail {
    height: 60px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

.menu-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: currentColor;
    /* Usa a cor do texto */
}

.category-list-item .action-buttons, tr.category-row .action-buttons {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    visibility: hidden;
}

.category-list-item:hover .action-buttons, tr.category-row:hover .action-buttons {
    opacity: 1;
    visibility: visible;
}

.category-actions {
  opacity: 0.2;
  transition: opacity 0.2s ease-in-out;
}

li:hover > .category-actions {
  opacity: 1;
}

/* ===== CLASSES DE TEXTO GLOBAIS ===== */
.text-white {
    color: #ffffff !important;
}

.text-black {
    color: #000000 !important;
}

.text-dark {
    color: #212529 !important;
}

.text-light {
    color: #f8f9fa !important;
}

.text-primary {
    color: #0d6efd !important;
}

.text-secondary {
    color: #6c757d !important;
}

.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #0dcaf0 !important;
}

/* ===== CLASSES DE FUNDO GLOBAIS ===== */
.bg-dark {
    background-color: #212529 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-black {
    background-color: #000000 !important;
}

.bg-primary {
    background-color: #0d6efd !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-info {
    background-color: #0dcaf0 !important;
}

/* ===== MODAL RESPONSIVA ===== */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
    }
    
    .modal-footer {
        padding: 1rem !important;
    }
    
    .modal-footer .btn {
        padding: 12px 16px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    
    .modal-body {
        padding: 1.5rem 1rem !important;
    }
    
    .modal-header {
        padding: 1rem !important;
    }
    
    .modal-title {
        font-size: 1.1rem !important;
    }
}

.alert-info:not(.alert-outline):not(.alert-outline-coloured) {
    background: #f1f6f1!important;
    color: #6d8673!important;
    font-weight: 300!important;
}