body {
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #f8fcf7 !important;
}
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 15px;
}

.bg-info-theme  {
    background-color: #00a344 !important;
}

.bg-theme {
    background-color: #0d823e !important;
}

.bg-success-theme {
    background-color: #0d823e !important;
}

.nav-item .nav-link {
    color: white !important;
}

.card-shadow {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15) !important; 
}

.card-evidencia,
.card-sem-desconto,
.card-economia-mes {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-evidencia {
    border: 3px solid #198754 !important;
    background: #198754 !important;
    color: #fff !important;
}

.card-economia-mes {
    background: linear-gradient(135deg, #198754 60%, #43e97b 100%) !important;
    color: #fff !important;
    border: 3px solid #43e97b !important;
}

.card-sem-desconto {
    background: linear-gradient(135deg, #dc3545 60%, #ff7675 100%) !important;
    color: #fff !important;
}

.card-total-sistema {
    background: linear-gradient(135deg, #0d6efd 60%, #74b9ff 100%) !important;
    color: #fff !important;
}

/* Estilos para tabelas compactas */
.table-compact {
    margin-bottom: 0;
}

.table-compact thead th {
    padding: 0.5rem;
    font-size: 0.9rem;
    border-bottom: 2px solid #dee2e6;
}

.table-compact tbody td {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    vertical-align: middle;
}

.table-compact .btn-sm {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    margin: 0 0.1rem;
}

.table-compact .badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

/* Estilos para Select2 */
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    height: 38px;
    line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0d823e;
    color: white;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 8px 12px;
}

/* .table-success-theme {
    background-color: #00a344 !important;
    color: white;
} */


.fatura-bg {
    position: fixed; /* ou absolute, se preferir */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* cobre toda a tela */
    z-index: 0;
    background-size: cover; /* ou 100% 100% para esticar */
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.5; /* ajuste a opacidade para não atrapalhar o conteúdo */
    pointer-events: none;
}
.fatura-bg-custom {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.fatura-conteudo {
    position: relative;
    z-index: 1;
    background: transparent;
}
.fatura-logo {
    max-width: 160px;
    max-height: 80px;
    margin-bottom: 1rem;
    float: right;
}
.fatura-bloco {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.fatura-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #198754;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.fatura-valor {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}
.fatura-label {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.2rem;
}
.fatura-calc-bloco {
    background: #f6f6f6;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.98rem;
    margin-top: 1.5rem;
}
.fatura-download {
    float: right;
    margin-top: 0.5rem;
}
@media (max-width: 768px) {
    .fatura-logo { float: none; display: block; margin: 0 auto 1rem auto; }
    .fatura-download { float: none; display: block; margin: 1rem auto; }
}

@media (max-width: 991px) {
    .dashboard-card {
        aspect-ratio: unset;
        min-height: 120px;
    }
}
