/* ═══════════════════════════════════════════════════
   CARDS — ImportControl
   ═══════════════════════════════════════════════════ */

.card-industrial {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.card-industrial:hover {
    box-shadow: var(--shadow-sm);
}

.card-industrial .card-header {
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-3-5) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-industrial .card-header h6 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin: 0;
}

.card-industrial .card-body { padding: var(--space-4); }

.stat-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card:hover { box-shadow: var(--shadow-sm); }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.stat-card.navy::before,
.stat-card.copper::before { background: var(--brand-primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.info::before { background: var(--brand-primary); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before { background: var(--danger); }
.stat-card.secondary::before { background: var(--gray-400); }

.stat-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 2px;
    font-variant-numeric: tabular-nums;
}

.stat-sub {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.stat-icon {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    font-size: 20px;
    color: var(--gray-300);
}

@media (max-width: 767px) {
    .stat-card { padding: var(--space-3); min-height: 100px; }
    .stat-value { font-size: 18px; }
    .stat-icon { top: var(--space-2-5); right: var(--space-2-5); font-size: 16px; }
}
