/* Estilos de cuenta corriente iguales a la lista de artículos */

/* Estilos base iguales a artículos */
.cuenta-corriente .form-label { 
    margin-bottom: 0.2rem; 
    font-size: 0.85rem;
}

.cuenta-corriente .btn-group .btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
}

.cuenta-corriente .table td {
    padding: 0.3rem 0.5rem;
    vertical-align: middle;
}

.cuenta-corriente .table th {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

/* Tabla exactamente igual a la lista de artículos */
.cuenta-corriente .table {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 0.9em;
}

/* Header exactamente igual a la lista de artículos */
.cuenta-corriente .table thead {
    background-color: #cfe2ff !important; /* table-primary */
}

.cuenta-corriente .table thead th {
    background-color: #cfe2ff !important;
    color: #000 !important;
    border-color: #dee2e6 !important;
    padding: 0.4rem 0.5rem !important;
    font-size: 0.85rem !important;
    font-weight: normal !important;
}



/* Body exactamente igual a la lista de artículos */
.cuenta-corriente .table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cuenta-corriente .table tbody tr:hover {
    background-color: #f8f9fa !important;
}

.cuenta-corriente .table tbody tr td {
    padding: 0.3rem 0.5rem !important;
    vertical-align: middle !important;
    border-color: #dee2e6 !important;
}

/* Botones exactamente igual a la lista de artículos */
.cuenta-corriente .btn {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
}

.cuenta-corriente .btn-sm {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
}

/* Card exactamente igual a la lista de artículos */
.cuenta-corriente .card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.5rem;
}

.cuenta-corriente .card-body {
    padding: 0.5rem;
}

/* Header de card exactamente igual a la lista de artículos */
.cuenta-corriente .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
}

.cuenta-corriente .card-header h6 {
    margin-bottom: 0;
    color: #212529;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Formularios exactamente igual a la lista de artículos */
.cuenta-corriente .form-control,
.cuenta-corriente .form-select {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

.cuenta-corriente .form-control-sm,
.cuenta-corriente .form-select-sm {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
}

/* Badges exactamente igual a la lista de artículos */
.cuenta-corriente .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Paginación exactamente igual a la lista de artículos */
.cuenta-corriente .pagination {
    margin-top: 1rem;
}

.cuenta-corriente .pagination .page-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive igual a la lista de artículos */
.cuenta-corriente .table-responsive {
    border-radius: 0;
}

/* Tabla exactamente igual a la lista de artículos */
.cuenta-corriente .table {
    margin-bottom: 0 !important;
    font-size: 0.9em !important;
    border-color: #dee2e6 !important;
    /* Estilo de prueba para verificar que se aplique */
    border: 2px solid #28a745 !important;
}

.cuenta-corriente .table th,
.cuenta-corriente .table td {
    border-color: #dee2e6 !important;
}

/* Hover effects igual a la lista de artículos */
.cuenta-corriente .table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Bordes igual a la lista de artículos */
.cuenta-corriente .table-bordered {
    border: 1px solid #dee2e6;
}

.cuenta-corriente .table-bordered th,
.cuenta-corriente .table-bordered td {
    border: 1px solid #dee2e6;
}

/* Sombra igual a la lista de artículos */
.cuenta-corriente .shadow {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
} 