.safezone-notification-container {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 9999;
}

.safezone-notification {
    min-width: 245px;
    padding: 14px 17.5px;
    padding-bottom: 17.5px;
    border-radius: 8.4px;
    display: flex;
    align-items: center;
    gap: 10.5px;
    transform: translateY(200px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.safezone-notification.safezone-show {
    transform: translateY(0);
    opacity: 1;
}

.safezone-notification.safezone-enter {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.65), rgba(46, 125, 50, 0.65));
    border: none;
}

.safezone-notification.safezone-exit {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.65), rgba(183, 28, 28, 0.65));
    border: none;
}

.safezone-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16.8px;
    flex-shrink: 0;
}

.safezone-notification.safezone-enter .safezone-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.safezone-notification.safezone-exit .safezone-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.safezone-content {
    flex: 1;
    color: white;
}

.safezone-title {
    font-size: 12.6px;
    font-weight: 700;
    margin-bottom: 3.5px;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.safezone-message {
    font-size: 9.8px;
    opacity: 0.95;
    font-weight: 500;
}

.safezone-progress-bar {
    position: absolute;
    bottom: 5.6px;
    left: 14px;
    right: 14px;
    height: 2.8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1.4px;
    overflow: hidden;
}

.safezone-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: safezone-progress 3s linear;
}

@keyframes safezone-progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@keyframes safezone-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.safezone-notification.safezone-show .safezone-icon {
    animation: safezone-pulse 0.6s ease-in-out;
}


.safezone-shield {
    position: fixed;
    bottom: 30px;
    left: 50%;

    width: 64px;
    height: 64px;

    background: url("../img/safezone-shield.png") no-repeat center;
    background-size: contain;

    filter:
        brightness(0)
        saturate(100%)
        invert(48%)
        sepia(90%)
        saturate(1800%)
        hue-rotate(95deg)
        brightness(115%)
        contrast(105%)
        drop-shadow(0 0 6px rgba(0, 255, 120, 0.8))
        drop-shadow(0 0 14px rgba(0, 255, 120, 0.6))
        drop-shadow(0 0 28px rgba(0, 255, 120, 0.4));

    opacity: 0;
    transform: translateX(-50%) translateY(6px) scale(0.9);

    transition:
        opacity 0.25s ease,
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    z-index: 9998;
}

@keyframes shield-breathe {
    0% {
        filter:
            brightness(0)
            saturate(100%)
            invert(48%)
            sepia(90%)
            saturate(1800%)
            hue-rotate(95deg)
            brightness(110%)
            drop-shadow(0 0 10px rgba(0, 255, 120, 0.5));
    }
    100% {
        filter:
            brightness(0)
            saturate(100%)
            invert(48%)
            sepia(90%)
            saturate(2000%)
            hue-rotate(95deg)
            brightness(120%)
            drop-shadow(0 0 18px rgba(0, 255, 120, 0.8));
    }
}

.safezone-shield.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
     animation: shield-breathe 2.5s ease-in-out infinite alternate;
}
.safezone-notification-container,.safezone-shield{pointer-events:none}
