/* Stamp Inventory — custom styles */

/* Status indicator cards */
.stat-card {
    border-left: 4px solid #6c757d;
    transition: border-color 0.2s;
}
.stat-card.stat-good { border-left-color: #198754; }
.stat-card.stat-warning { border-left-color: #ffc107; }
.stat-card.stat-danger { border-left-color: #dc3545; }
.stat-card.stat-critical { border-left-color: #dc3545; }
.stat-card.stat-info { border-left-color: #0dcaf0; }
.stat-card.stat-primary { border-left-color: #0d6efd; }

/* Stock table row highlights */
.stock-good { }
.stock-warning { background-color: rgba(255, 193, 7, 0.1); }
.stock-danger { background-color: rgba(220, 53, 69, 0.1); }
.stock-critical { background-color: rgba(220, 53, 69, 0.2); }

/* Status dots */
.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}
.status-dot.good { background-color: #198754; }
.status-dot.warning { background-color: #ffc107; }
.status-dot.danger { background-color: #dc3545; }
.status-dot.critical { background-color: #dc3545; animation: pulse 1.5s infinite; }

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Alert cards */
.alert-card {
    border-left: 4px solid #ffc107;
}
.alert-card.alert-critical {
    border-left-color: #dc3545;
}

/* Reconciliation discrepancy highlight */
.discrepancy-row { font-weight: 600; }
.discrepancy-positive { color: #198754; }
.discrepancy-negative { color: #dc3545; }

/* Activity timeline */
.activity-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.activity-item:last-child {
    border-bottom: none;
}
.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
}
.activity-icon.purchase {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}
.activity-icon.usage {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Navbar brand icon */
.navbar-brand i {
    font-size: 1.2em;
}

/* Table improvements */
.table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
}
