.dataTable {
    white-space: nowrap !important;
}

.btn-blackc {
    color: #ffffff;
    background-color: #000;
    border-color: #000;
}

.btn-blackc:hover,
.btn-blackc:focus,
.btn-blackc:active,
.btn-blackc.active,
.open .dropdown-toggle.btn-blackc {
    color: #ffffff;
    background-color: #000;
    border-color: #000;
}

.content-wrapper {
    height: 100%;
}

.content, .content-header {
    display: none;
}

.box-loader{
    height: 100%;
    width: 100%;
    background-color: #ecf0f5;
    display: flex;
    justify-content: center;    
    align-items: center;
}

.loader {
    border: 6px solid #fff;
    border-top: 6px solid #307fba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader2 {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #163eac;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    margin-top: -30px;
    display: block;
}

.fundo {
    background-color: rgba(0, 0, 0, 0.4) !important;
    height: 100%;
    width: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    position: fixed;
}
.tabela-responsiva {
    overflow: auto;
}
th {
    text-align: center !important;
}

/* Dropdown movido para body - manter estilo Bootstrap */
.dropdown-menu-detached {
    position: fixed !important;
    z-index: 10000 !important;
    display: block !important;
    min-width: 160px;
    padding: 1px 0;
    margin: 0px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
}

/* Estilo dos itens do dropdown */
.dropdown-menu-detached > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu-detached > li > a,
.dropdown-menu-detached > li > form,
.dropdown-menu-detached > li > button {
    display: block;
    padding: 8px 15px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    margin: 0;
}

.dropdown-menu-detached > li > a:hover,
.dropdown-menu-detached > li > form:hover,
.dropdown-menu-detached > li > button:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Dividers no dropdown */
.dropdown-menu-detached > .divider {
    height: 1px;
    margin: 0px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

/* Botões dentro do dropdown - resetar estilos Bootstrap */
.dropdown-menu-detached .btn {
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    padding: 8px 15px !important;
    background-color: transparent !important;
    color: #333 !important;
    text-align: left !important;
    width: 100% !important;
    font-weight: normal !important;
}

.dropdown-menu-detached .btn:hover,
.dropdown-menu-detached .btn:focus {
    background-color: #f5f5f5 !important;
    color: #262626 !important;
    box-shadow: none !important;
}

.dropdown-menu-detached .btn-light {
    background-color: transparent !important;
    color: #333 !important;
}

.dropdown-menu-detached .btn-light:hover {
    background-color: #f5f5f5 !important;
    color: #262626 !important;
}

/* Ícones FontAwesome */
.dropdown-menu-detached .fa {
    margin-right: 8px;
    width: 14px;
    text-align: center;
    display: inline-block;
}

/* Formulários inline no dropdown */
.dropdown-menu-detached .form-inline {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Esconder dropdown original quando movido */
.dropdown-moved .dropdown-menu {
    display: none !important;
}

/* Fix simples: forçar dropdown a aparecer por fora em mobile */
@media (max-width: 767px) {
    .dataTables_wrapper {
        overflow: visible !important;        
    }
    
    /* Manter scroll horizontal na própria tabela */
    .dataTables_wrapper table {
        overflow-x : auto;
        display: inline-block;
        white-space: nowrap;
    }
}