.row {
    display: flex;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Faz o cartão preencher a altura disponível */
    margin: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    padding: 8px;
}

.card-body {
    flex: 1; /* Faz com que a área do corpo do cartão ocupe o máximo de espaço possível */
    overflow: auto;
}

.card-header {
    font-weight: bold;
    color: #ffffff;
    font-size: 110%;
    background-color: #0073aa;
}

.table {
    font-size: 1rem; /* 16px */
}

@media (max-width: 1200px) {
    .table {
        font-size: 0.9rem; /* 14.4px */
    }
}

@media (max-width: 992px) {
    .table {
        font-size: 0.8rem; /* 12.8px */
    }
}

@media (max-width: 768px) {
    .table {
        font-size: 0.7rem; /* 11.2px */
    }
}

@media (max-width: 576px) {
    .table {
        font-size: 0.6rem; /* 9.6px */
    }
}

.table thead th {
    color: blue;
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 8px solid #0073aa;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}