/*
 * Plugin: ReportesDashboard
 * Archivo: Assets/CSS/reportes_dashboard.css - Estilos del dashboard de reportes
 *
 * @author    Cesar Peralta (MrCesar Computos)
 * @copyright 2026 MrCesar Computos. Todos los derechos reservados.
 * @license   Propiedad de Cesar Peralta. Prohibida su reproduccion sin autorizacion.
 */

.rd-card-metric {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.rd-card-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.rd-card-metric .card-body {
    padding: 1.25rem;
}
.rd-metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.rd-metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}
.rd-metric-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}
.rd-bg-gradient-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
}
.rd-bg-gradient-success {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
    color: #fff;
}
.rd-bg-gradient-info {
    background: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
    color: #fff;
}
.rd-bg-gradient-warning {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
    color: #fff;
}
.rd-bg-gradient-danger {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
    color: #fff;
}
.rd-bg-gradient-dark {
    background: linear-gradient(135deg, #5a5c69 0%, #373840 100%);
    color: #fff;
}
.rd-chart-container {
    position: relative;
    min-height: 300px;
}
.rd-table-deuda th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e3e6f0;
}
.rd-badge-pendiente {
    background-color: #e74a3b;
    color: #fff;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 6px;
}
.rd-badge-pagada {
    background-color: #1cc88a;
    color: #fff;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 6px;
}
.rd-link-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.rd-link-card:hover {
    color: inherit;
}
.rd-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5a5c69;
    border-bottom: 2px solid #4e73df;
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.rd-filter-bar {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* Botones ICG estilo Citrus */
.rd-icg-btn {
    border-radius: 20px !important;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 6px 18px;
    border: 2px solid #e65100 !important;
    color: #e65100;
    background: #fff;
    transition: all 0.2s ease;
}
.rd-icg-btn:hover,
.rd-icg-btn.active {
    background: #e65100 !important;
    color: #fff !important;
    border-color: #e65100 !important;
}
.btn-group .rd-icg-btn + .rd-icg-btn {
    margin-left: 6px;
}

@media print {
    .rd-no-print { display: none !important; }
    .rd-card-metric { box-shadow: none !important; border: 1px solid #dee2e6 !important; }
}
