/* TODO: Review box-shadow values - consider using design system shadow variables (--shadow-xs, --shadow-sm, etc.) */
/**
 * Panic Test Indicator Styles
 * Visual indicator for when panic test is required
 */

.panic-test-indicator {
    position: fixed;
    top: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-error) 0%, #c0392b 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    animation: panicPulse 1.5s ease-in-out infinite;
    border: 2px solid #fff;

.panic-test-indicator.hidden {
    display: none;

.panic-icon {
    font-size: var(--font-size-xl);
    animation: panicShake 0.5s ease-in-out infinite;

.panic-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

@keyframes panicPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5);
        transform: translateX(-50%) scale(1);

    50% {
        box-shadow: 0 6px 30px rgba(231, 76, 60, 0.8);
        transform: translateX(-50%) scale(1.02);

@keyframes panicShake {
    0%, 100% {
        transform: rotate(0deg);

    25% {
        transform: rotate(-5deg);

    75% {
        transform: rotate(5deg);

/* Highlight smooth button when panic test required */
button.panic-test-required {
    background: linear-gradient(135deg, var(--color-error) 0%, #c0392b 100%) !important;
    color: white !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8) !important;
    animation: panicButtonPulse 1s ease-in-out infinite !important;

@keyframes panicButtonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);

    50% {
        box-shadow: 0 0 30px rgba(231, 76, 60, 1);

}}}}}}}}}}}}}}}