/* Scanner Monitor custom styles */

/* Ensure stat cards don't overflow */
.stat-value {
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
}

/* Smooth transitions */
.card {
    transition: box-shadow 0.2s ease;
}

/* Table improvements */
.table td {
    vertical-align: middle;
}

/* Badge consistency */
.badge {
    white-space: nowrap;
}

/* Truncate helper */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Loading spinner for sync button */
.loading::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
