.fsn-notif-container {
    position: fixed;
    z-index: 999999;
    /* Maximum z-index for better visibility */
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.fsn-notif-container.bottom-left {
    left: 20px;
    bottom: 20px;
}

.fsn-notif-container.bottom-right {
    right: 20px;
    bottom: 20px;
}

.fsn-notif-container.top-left {
    left: 20px;
    top: 20px;
}

.fsn-notif-container.top-right {
    right: 20px;
    top: 20px;
}

.fsn-notif {
    width: 350px;
    max-width: calc(100vw - 40px);
    margin-bottom: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    padding: 10px;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: all .4s cubic-bezier(.2, .9, .3, 1);
    pointer-events: auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.fsn-notif.fsn-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fsn-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    flex: 0 0 44px;
    margin-right: 10px;
    display: inline-block;
}

/* simple text styling */
.fsn-text {
    font-size: 13px;
    color: #222;
    line-height: 1.2;
}

/* Tablet and mobile responsiveness */
@media (max-width: 768px) {
    .fsn-notif {
        width: 320px;
        max-width: calc(100vw - 30px);
    }
}

@media (max-width: 480px) {
    .fsn-notif {
        width: 95%;
        max-width: unset;
        padding: 12px;
    }

    .fsn-notif-container {
        left: 2.5%;
        right: 2.5%;
    }

    .fsn-notif-container.bottom-left,
    .fsn-notif-container.bottom-right {
        left: 2.5%;
        right: 2.5%;
        bottom: 15px;
    }
}

.fsn-avatar img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.fsn-thumb-link {
    display: inline-block;
    margin-right: 10px;
}

.fsn-text-link {
    color: inherit;
    text-decoration: none;
}

.fsn-text-link:hover {
    text-decoration: underline;
}

.fsn-notif {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fsn-text-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.fsn-badge-wrap {
    flex: 0 0 auto;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.fsn-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    text-transform: capitalize;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.fsn-badge-purchased {
    background: #16a34a;
}

/* green */
.fsn-badge-checkout {
    background: #f97316;
}

/* orange */

/* ensure avatar + image rules from earlier are present */
.fsn-avatar img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.fsn-thumb-link {
    display: inline-block;
    margin-right: 10px;
}

.fsn-text-link {
    color: inherit;
    text-decoration: none;
}

.fsn-text-link:hover {
    text-decoration: underline;
}

.fsn-time {
    font-size: 11px;
    color: #6b7280;
    /* gray tone */
    margin-top: 6px;
}