/* Notification System - Static Absolute Placement (Scrollable) */
.notif-container {
    position: absolute !important;
    top: 1.1rem !important;
    right: 0.1rem !important;
    left: auto !important;
    transform: none !important;
    z-index: 10 !important;
    width: 4.5rem !important;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.notif-toast {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eaffef 0%, #c3fce3 100%);
    border: 0.02rem solid #4affff;
    border-radius: 0.2rem;
    padding: 0.12rem 0.2rem;
    box-shadow: 0 0.1rem 0.25rem rgba(0, 128, 105, 0.12);
    margin-bottom: 0.15rem;
    width: 100%;
    max-height: 1.8rem;
    box-sizing: border-box;
    animation: fadeInSlide 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    overflow: hidden;
}

.notif-toast.leaving {
    animation: fadeOutSlide 0.5s ease-in forwards;
}

.notif-icon {
    width: 0.75rem !important;
    height: 0.75rem !important;
    margin-right: 0.2rem;
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.notif-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0.02rem 0.04rem rgba(0, 0, 0, 0.1));
}

.notif-content {
    flex: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.02rem 0;
    min-width: 0;
}

.notif-header {
    font-family: 'NewEras', sans-serif;
    font-size: 0.18rem;
    color: #008069;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-title {
    font-family: 'NewEras', sans-serif;
    font-size: 0.26rem;
    font-weight: bold;
    color: #006b58;
    line-height: 1.2;
    margin-bottom: 0.02rem;
    letter-spacing: -0.01rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-subtitle {
    font-family: Arial, sans-serif;
    font-size: 0.16rem;
    color: #008a73;
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.notif-verified {
    color: #00b894;
    font-weight: bold;
    margin-left: 0.08rem;
    font-size: 0.14rem;
}

@keyframes fadeInSlide {
    0% {
        transform: translateX(30px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOutSlide {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(30px) scale(0.9);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.notif-toast::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.15rem;
    pointer-events: none;
}
