﻿.btn-xs {
    padding: .1rem .3rem;
    font-size: .7rem;
    line-height: 1;
    border-radius: .2rem;
}

.breadcrumb-xs {
    font-size: .65rem; /* bem menor que text-sm */
    padding: 0;
    margin: 0;
}

    .breadcrumb-xs .breadcrumb-item + .breadcrumb-item::before {
        font-size: .65rem; /* deixa também o separador menor */
    }

    .breadcrumb-xs .breadcrumb-item a {
        font-size: .65rem;
    }

.fixed-footer {
    position: fixed;
    bottom: 0px;
    right: 10px;
    left: auto;
    width: calc(100% - 295px); /* desktop respeitando sidenav */
    margin-left: 295px;
    z-index: 1030;
    color: #ccc; /* texto mais claro para contraste */
    background-color: #1a1a1a; /* fundo escuro fixo */    
    border-radius: 10px 10px 0px 0px;    
}

/* Mobile: ocupa toda a largura */
@media (max-width: 991px) {
    .fixed-footer {
        width: 100%;
        margin-left: 0;
        background-color: #1a1a1a; /* fundo escuro fixo */
        border-top: 1px solid rgba(255,255,255,.1);
        right: 0px;
        bottom: 0px;
    }
}

/* Garante espaço entre conteúdo e footer */
.main-content {
    padding-bottom: 80px; /* altura aproximada do footer */
}

.sidenav-header .navbar-brand-img {
    height: 150px !important; /* ajuste conforme necessário */
    width: auto !important; /* mantém proporção */
}

/* imagem da marca dentro do sidenav */
.sidenav-header .brand-img {
    display: block;
    width: 100%; /* ocupa a largura disponível do container */
    height: auto; /* mantém proporção */
    max-width: 220px; /* limite no desktop */
    object-fit: contain;
}

/* telas pequenas: reduz um pouco pra não “apertar” */
@media (max-width: 576px) {
    .sidenav-header .brand-img {
        max-width: 160px;
    }
}

#global-loader {
    display: none; /* começa oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* fundo escuro semi-transparente */
    backdrop-filter: blur(2px); /* opcional: desfoca o conteúdo atrás */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}


.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.card-body{
    font-size:13px !important;
}
.shake-enter-active {
    animation: shake 0.4s ease-in-out;
}

.shake-leave-active {
    animation: none;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

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