/* ==========================================================================
   RMA MANAGER (v3.0 - PREMIUM)
   ========================================================================== */

/* Cards Contadores do Topo */
.stat-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 20px !important;
    background: white !important; /* Fundo branco limpo */
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1) !important;
}

/* O "Active" adiciona uma borda colorida */
.stat-card.active {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15) !important;
}

.stat-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Círculos decorativos (estilo Dashboard) */
.stat-card::before {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 100px; height: 100px; border-radius: 50%;
    opacity: 0.1; z-index: 0;
}

/* Estilização Interna */
.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 10px 0;
    color: #2c3e50;
}
.stat-card p {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}
.stat-card i {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Cores Específicas por Tipo (via classes gradientes antigas, agora reestilizadas) */
.bg-primary-gradient .card-body i { color: #3498db; }
.bg-primary-gradient h3 { color: #3498db; }
.bg-primary-gradient::before { background: #3498db; }

.bg-warning-gradient .card-body i { color: #f39c12; }
.bg-warning-gradient h3 { color: #f39c12; }
.bg-warning-gradient::before { background: #f39c12; }

.bg-success-gradient .card-body i { color: #2ecc71; }
.bg-success-gradient h3 { color: #2ecc71; }
.bg-success-gradient::before { background: #2ecc71; }

.bg-danger-gradient .card-body i { color: #e74c3c; }
.bg-danger-gradient h3 { color: #e74c3c; }
.bg-danger-gradient::before { background: #e74c3c; }


/* Abas e Filtros */
.nav-tabs { border-bottom: none; margin-bottom: 20px; gap: 10px; }
.nav-tabs .nav-link {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
    background: white;
    padding: 10px 20px;
}
.nav-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
}