@charset "utf-8";
@import (optional, reference) "var.less";
/*Alarm*/
AX-ALARM {
    --_alarm-sz: var(--_sz-font);
    --_alarm-bg: var(--_c-error);
    .v3-flex-center(inline-flex);
    [rep=wrap] {
        color: #fff;
        aspect-ratio: 1 /1;
        max-width: var(--_w-list);
        line-height: 1em;
        border-radius: 100%;
        padding: var(--_sz-space);
        background-color: var(--_alarm-bg);
        .v3-flex-center(inline-flex);
        text-align: center;
        position: relative;
        .v3-trans-all();
        * {
            position: relative;
            z-index: 2;
        }
    }
    [rep=wrap]:before,
    [rep=wrap]:after {
        content: '';
        width: 100%;
        aspect-ratio: 1 /1;
        border-radius: inherit;
        background-color: var(--_alarm-bg);
        transform: scale(3);
        opacity: 0.5;
        position: absolute;
        left: 0;
        top: 0;
        pointer-events: none;
    }
    [rep=image]{
        width: var(--_sz-input);
        aspect-ratio: 1 /1;
        object-fit: cover;
        border-radius: inherit;
    }
    [rep=wrap]:before {
        animation: _wave-3 1s infinite;
    }
    [rep=wrap]:after {
        animation: _wave-5 1s infinite;
    }
    &[size=sm] [rep=wrap]:before {
        animation-name: _wave-2
    }
    &[size=sm] [rep=wrap]:after {
        animation-name: _wave-3
    }
    &[size=md] [rep=wrap]:before {
        animation-name: _wave-3
    }
    &[size=md] [rep=wrap]:after {
        animation-name: _wave-5
    }
    &[size=lg] [rep=wrap]:before {
        animation-name: _wave-4
    }
    &[size=lg] [rep=wrap]:after {
        animation-name: _wave-7
    }
    &[theme=prim] [rep=wrap],
    &[theme=prim] [rep=wrap]:before,
    &[theme=prim] [rep=wrap]:after {
        background-color: var(--_c-prim);
    }
    &[theme=error] [rep=wrap],
    &[theme=error] [rep=wrap]:before,
    &[theme=error] [rep=wrap]:after {
        background-color: var(--_c-error);
    }
    &[theme=succ] [rep=wrap],
    &[theme=succ] [rep=wrap]:before,
    &[theme=succ] [rep=wrap]:after {
        background-color: var(--_c-succ);
    }
    &[theme=warn] [rep=wrap],
    &[theme=warn] [rep=wrap]:before,
    &[theme=warn] [rep=wrap]:after {
        background-color: var(--_c-warn);
    }
    &[theme=info] [rep=wrap],
    &[theme=info] [rep=wrap]:before,
    &[theme=info] [rep=wrap]:after {
        background-color: var(--_c-info);
    }
    &[theme=issue] [rep=wrap],
    &[theme=issue] [rep=wrap]:before,
    &[theme=issue] [rep=wrap]:after {
        background-color: var(--_c-issue);
    }
}
@keyframes _wave-2 {
    0% {
        transform: scale(1);
        opacity: .9
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
@keyframes _wave-3 {
    0% {
        transform: scale(1);
        opacity: .9
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}
@keyframes _wave-4 {
    0% {
        transform: scale(1);
        opacity: .9
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}
@keyframes _wave-5 {
    0% {
        transform: scale(1);
        opacity: .9;
    }
    100% {
        transform: scale(5);
        opacity: 0;
    }
}
@keyframes _wave-6 {
    0% {
        transform: scale(1);
        opacity: .9;
    }
    100% {
        transform: scale(6);
        opacity: 0;
    }
}
@keyframes _wave-7 {
    0% {
        transform: scale(1);
        opacity: .9;
    }
    100% {
        transform: scale(7);
        opacity: 0;
    }
}
