/* ═══════════════════════════════════════════════════════════════
   OpusWebcam V2.0 - Composants UI
   Fichier: components.css
   Description: Tous les composants réutilisables de l'interface
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
   NAVIGATION & TABS
   ─────────────────────────────────────────────────────────────── */
.nav-tabs {
    display: flex;
    gap: var(--space-xs);
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: var(--space-lg);
}

.nav-tabs .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: white;
    border: 2px solid var(--gray-200);
    border-bottom: 2px solid white;
    margin-bottom: -2px;
}

.nav-tabs .nav-link .tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius-full);
}

.nav-tabs .nav-link .tab-badge.empty {
    background: var(--gray-300);
    color: var(--gray-600);
}

/* ───────────────────────────────────────────────────────────────
   SIDEBAR COMPONENTS
   ─────────────────────────────────────────────────────────────── */
.sidebar-section {
    margin-bottom: var(--space-xl);
    animation: slideInLeft var(--transition-slow) ease-out;
}

.sidebar-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: var(--space-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Recent Matches */
.recent-matches {
    max-height: 300px;
    overflow-y: auto;
    padding-right: var(--space-xs);
}

.match-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--success);
    transition: all var(--transition-base);
    cursor: pointer;
}

.match-item:hover {
    transform: translateX(4px);
    background: white;
    box-shadow: var(--shadow-md);
}

.match-info {
    flex: 1;
}

.match-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.match-confidence {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.match-time {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Value Summary */
.value-summary {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
}

.value-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.value-item:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.value-label {
    font-weight: 500;
    color: var(--gray-600);
}

.value-amount {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

.value-change {
    font-weight: 600;
    font-size: 0.875rem;
}

.value-change.positive {
    color: var(--success);
}

.value-change.negative {
    color: var(--danger);
}

/* ───────────────────────────────────────────────────────────────
   SIDEBAR V3 - Glassmorphism Style
   ─────────────────────────────────────────────────────────────── */
.sidebar-section h3 {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

/* Stats List */
.sidebar-stats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.sidebar-stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.sidebar-stat-item .stat-icon {
    font-size: 1.25rem;
}

.sidebar-stat-item .stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-stat-item .stat-value {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.sidebar-stat-item .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: lowercase;
}

/* Empty State */
.empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    font-style: italic;
    font-size: 0.9rem;
}

/* Collection Summary */
.collection-summary {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-value-main {
    text-align: center;
    margin-bottom: 12px;
}

.collection-value-main .value-amount {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collection-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-stat {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.collection-stat span {
    font-weight: 700;
    color: #fff;
}

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary, #667eea);
}

.setting-item.slider-setting {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.setting-item.slider-setting span {
    color: rgba(255, 255, 255, 0.7);
}

.setting-item.slider-setting strong {
    color: #fff;
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    appearance: none;
    -webkit-appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary, #667eea);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.user-avatar {
    font-size: 1.5rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    font-weight: 600;
    color: #fff;
}

.user-role {
    font-size: 0.7rem;
}

/* Recent matches glassmorphism */
.recent-matches .match-item {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--primary, #667eea);
}

.recent-matches .match-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.recent-matches .match-name {
    color: #fff;
}

.recent-matches .match-confidence {
    color: rgba(255, 255, 255, 0.7);
}

.recent-matches .match-time {
    color: rgba(255, 255, 255, 0.5);
}

/* ───────────────────────────────────────────────────────────────
   CARDS & VALIDATION
   ─────────────────────────────────────────────────────────────── */
.validation-card,
.hist-card,
.inventory-card {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.validation-card:hover,
.hist-card:hover,
.inventory-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Confidence Badge */
.confidence-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.confidence-excellent {
    background: rgba(40, 167, 69, 0.9);
}

.confidence-good {
    background: rgba(255, 193, 7, 0.9);
}

.confidence-fair {
    background: rgba(220, 53, 69, 0.9);
}

/* Card Image */
.card-image-container {
    position: relative;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
    background: var(--gray-100);
}

.card-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.validation-card:hover .card-image-container img,
.inventory-card:hover .card-image-container img {
    transform: scale(1.05);
}

/* Card Body */
.card-body {
    padding: var(--space-md);
}

.card-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-series {
    color: var(--gray-600);
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-location {
    color: var(--primary);
    font-size: 0.75rem;
    font-style: italic;
    margin-top: var(--space-xs);
}

/* Validation Actions */
.validation-actions {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.btn-validate,
.btn-correct,
.btn-delete,
.btn-analyze {
    flex: 1;
    padding: var(--space-xs) var(--space-sm);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-validate {
    background: var(--success);
    color: white;
}

.btn-validate:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-correct {
    background: var(--warning);
    color: var(--gray-900);
}

.btn-correct:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.btn-delete {
    background: var(--danger);
    color: white;
}

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-analyze {
    background: var(--info);
    color: white;
}

.btn-analyze:hover {
    background: #138496;
    transform: translateY(-1px);
}

/* ───────────────────────────────────────────────────────────────
   VIDEO & SCANNER
   ─────────────────────────────────────────────────────────────── */
.video-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: black;
    box-shadow: var(--shadow-xl);
}

#videoBox {
    width: 100%;
    height: auto;
    display: block;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.status-indicator {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.status-ready {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.status-detecting {
    background: rgba(255, 193, 7, 0.9);
    color: var(--gray-900);
    animation: pulse 1.5s infinite;
}

.status-offline {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.detection-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 280px;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius-lg);
    pointer-events: none;
    opacity: 0;
    transition: all var(--transition-base);
}

.detection-animation.active {
    opacity: 1;
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* ───────────────────────────────────────────────────────────────
   CUSTOM BUTTONS
   ─────────────────────────────────────────────────────────────── */
.btn-custom {
    padding: var(--space-md) var(--space-2xl);
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success-custom {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
}

.btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 171, 47, 0.4);
}

/* ───────────────────────────────────────────────────────────────
   EMPTY STATES
   ─────────────────────────────────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    color: var(--gray-600);
    padding: var(--space-2xl);
}

.empty-state h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    max-width: 400px;
}

/* ───────────────────────────────────────────────────────────────
   LOADING STATES
   ─────────────────────────────────────────────────────────────── */
.loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-600);
}

.loading::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ───────────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
   ─────────────────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: var(--z-tooltip);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 250px;
    margin-bottom: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    pointer-events: auto;
    animation: slideInRight var(--transition-base) ease-out;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-warning {
    border-left: 4px solid var(--warning);
}

.toast-info {
    border-left: 4px solid var(--info);
}

/* ───────────────────────────────────────────────────────────────
   VIEW SELECTOR
   ─────────────────────────────────────────────────────────────── */
.view-selector {
    display: inline-flex;
    background: var(--gray-100);
    padding: 3px;
    border-radius: var(--border-radius-md);
    gap: 2px;
}

.view-selector button {
    padding: var(--space-xs) var(--space-md);
    border: none;
    background: transparent;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.view-selector button:hover {
    color: var(--gray-900);
    background: rgba(0, 0, 0, 0.05);
}

.view-selector button.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════════
   FUSION RECOGNITION UI
   ═══════════════════════════════════════════════════════════════ */

/* Fusion Badge on Cards */
.fusion-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.fusion-badge .fusion-icon {
    font-size: 0.9em;
}

.fusion-badge .fusion-agreement {
    font-weight: 700;
}

.fusion-badge .fusion-agreement.excellent {
    color: #a8ffc4;
}

.fusion-badge .fusion-agreement.good {
    color: #fff3a8;
}

.fusion-badge .fusion-agreement.warning {
    color: #ffb3b3;
}

/* Review Warning */
.review-warning {
    position: absolute;
    top: 8px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 15;
    animation: pulseWarning 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

@keyframes pulseWarning {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Fusion Details Section */
.fusion-details {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.fusion-methods {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fusion-method {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

.fusion-method .method-icon {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.fusion-method .method-bar {
    flex: 1;
    height: 6px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.fusion-method .method-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Fusion-enabled card styling */
.hist-card.fusion-enabled {
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.hist-card.fusion-enabled:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Needs review card styling */
.hist-card.needs-review {
    border: 2px solid rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
}

.hist-card.needs-review:hover {
    border-color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

/* Fusion Settings Panel */
.fusion-settings {
    transition: all 0.3s ease;
}

.fusion-settings:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15)) !important;
}

#fusionOptions {
    transition: all 0.3s ease;
}

#fusionEnabled:not(:checked) ~ #fusionOptions {
    opacity: 0.5;
    pointer-events: none;
}

/* Validation Cards with Fusion */
.validation-card-v2.fusion-enabled {
    border-left: 4px solid #667eea;
}

.validation-card-v2.needs-review {
    border-left: 4px solid #ff6b6b;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.1) 0%, transparent 20%);
}

.validation-card-v2 .fusion-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin-top: 4px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #667eea;
}

.validation-card-v2 .fusion-indicator.needs-review {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

/* Dark Theme Support for Fusion */
[data-theme="dark"] .fusion-badge {
    background: linear-gradient(135deg, #7c9bff 0%, #a78bfa 100%);
}

[data-theme="dark"] .fusion-details {
    border-top-color: rgba(124, 155, 255, 0.3);
}

[data-theme="dark"] .fusion-method .method-bar {
    background: rgba(124, 155, 255, 0.2);
}

[data-theme="dark"] .fusion-method .method-fill {
    background: linear-gradient(90deg, #7c9bff 0%, #a78bfa 100%);
}

[data-theme="dark"] .hist-card.fusion-enabled {
    border-color: rgba(124, 155, 255, 0.4);
}

[data-theme="dark"] .hist-card.fusion-enabled:hover {
    border-color: #7c9bff;
    box-shadow: 0 8px 25px rgba(124, 155, 255, 0.3);
}

/* Premium Theme Support for Fusion */
[data-theme="premium"] .fusion-badge {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #1a1a1a;
}

[data-theme="premium"] .fusion-badge .fusion-agreement.excellent {
    color: #1a5f2a;
}

[data-theme="premium"] .fusion-badge .fusion-agreement.good {
    color: #7a5f00;
}

[data-theme="premium"] .fusion-badge .fusion-agreement.warning {
    color: #8a1a1a;
}

/* Review Badge for Validation Cards */
.review-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2rem;
    z-index: 15;
    animation: pulseWarning 2s infinite;
}