/**
 * ===================================
 * GunCult UI Kit - Status Indicators
 * ===================================
 * 
 * Индикаторы статуса (точки с анимацией)
 */

/* Базовый индикатор */
.gc-status-indicator {
    width: var(--spacing-sm) !important;
    height: var(--spacing-sm) !important;
    min-width: var(--spacing-sm) !important;
    min-height: var(--spacing-sm) !important;
    max-width: var(--spacing-sm) !important;
    max-height: var(--spacing-sm) !important;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 50% !important;
    background: var(--success-color);
}

/* Варианты цветов */
.gc-status-indicator-success {
    background: var(--success-color);
}

.gc-status-indicator-warning {
    background: var(--warning-color);
}

.gc-status-indicator-danger {
    background: var(--danger-color);
}

.gc-status-indicator-info {
    background: var(--info-color);
}

.gc-status-indicator-secondary {
    background: var(--font-secondary);
}

/* Анимации пульсации */
@keyframes pulse-green {
    0% { 
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); 
    }
}

@keyframes pulse-orange {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 6px rgba(255, 193, 7, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); 
    }
}

@keyframes pulse-red {
    0% { 
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); 
    }
}

@keyframes pulse-blue {
    0% { 
        box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 6px rgba(23, 162, 184, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(23, 162, 184, 0); 
    }
}

/* Применение анимации */
.gc-status-indicator-pulse {
    animation: pulse-green 2s infinite;
}

.gc-status-indicator-success.gc-status-indicator-pulse {
    animation: pulse-green 2s infinite;
}

.gc-status-indicator-warning.gc-status-indicator-pulse {
    animation: pulse-orange 2s infinite;
}

.gc-status-indicator-danger.gc-status-indicator-pulse {
    animation: pulse-red 2s infinite;
}

.gc-status-indicator-info.gc-status-indicator-pulse {
    animation: pulse-blue 2s infinite;
}

/* Размеры */
.gc-status-indicator-sm {
    width: 6px;
    height: 6px;
}

.gc-status-indicator-lg {
    width: 12px;
    height: 12px;
}

/* Адаптивность */
@media (prefers-reduced-motion: reduce) {
    .gc-status-indicator-pulse {
        animation: none;
    }
}

