/* Estilos específicos para a página de extrato de conta corrente */

/* Cabeçalho e informações bancárias */
.bg-light {
    background-color: #f8f9fa !important;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.text-primary {
    color: #2176ae !important;
}

/* Filtro de datas */
#filterBtn {
    background-color: transparent;
    border: 1px solid #dee2e6;
}

.filter-popup {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-popup label {
    font-weight: 500;
    color: #495057;
    font-size: 1.1rem;
}

.filter-popup .form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    padding: 0.5rem;
}

.filter-popup h6 {
    font-size: 1.2rem;
}

.filter-popup .btn-primary {
    background-color: #2176ae;
    border-color: #2176ae;
    font-weight: 500;
}

/* Tabela de transações */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: #fff;
    color: #6c757d;
    font-weight: 600;
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding: 1rem;
    font-size: 1.1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border: none !important;
    font-size: 1.1rem;
}

.table tr {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff !important;
}

/* Garantir que não haja estilo alternado nas linhas */
.table tbody tr:nth-of-type(odd),
.table tbody tr:nth-of-type(even) {
    background-color: #fff !important;
}

/* Garantir que a animação de linha não afete a cor de fundo */
.account-row-animation {
    background-color: #fff !important;
}

/* Aplicar bordas em todas as linhas da tabela */
#account-table tbody tr {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff !important;
}

/* Estilo para o texto de range de datas e botão limpar */
#date-range-text {
    font-size: 1.1rem;
    color: #6c757d;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* Estilo para linhas filtradas */
.filtered-row {
    background-color: rgba(66, 133, 244, 0.1);
}

.table-borderless tbody tr:last-child {
    border-bottom: none;
}

/* Data range */
#date-range-text {
    color: #6c757d;
}

/* Botões de download */
.btn-light {
    background-color: #f8f9fa;
    border-color: #eee;
    color: #6c757d;
    box-shadow: none;
}

/* Toggle filter popup */
.filter-popup {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* Informações bancárias e valor pendente */
#pending-amount-section h6.fw-bold,
.card-body h6.fw-bold {
    color: #333;
    font-size: 1.15rem;
}

.text-secondary {
    font-weight: 500;
}

#pending-amount {
    font-size: 1.75rem;
}

/* Cartões informativos */
.card.border-0 .card-body,
.card.bg-light .card-body {
    padding: 1.25rem;
    border-radius: 8px;
}
