#wisecampaign-notification-container {
    position: fixed;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
}

#wisecampaign-notification-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Base Popup Styles */
#wisecampaign-notification-container .wisecampaign-notification-popup {
    display: inline-flex;
    align-items: stretch;
    width: 380px;
    min-height: 100px;
    padding: 16px 20px;
    /* Basic fallback font */
    font-family: sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

#wisecampaign-notification-container .wisecampaign-notification-popup img {
    /* CHANGED from 80px */
    width: 100px;
    /* CHANGED from 80px */
    height: 100px;
    /* CHANGED from 15px */
    margin-right: 20px;
    object-fit: cover;
    align-self: center;
}

/* Template Specific Styles for Image Radius */
#wisecampaign-notification-container .wisecampaign-notification-popup[data-template="template_1"] img {
    border-radius: 8px;
}

#wisecampaign-notification-container .wisecampaign-notification-popup[data-template="template_2"] img {
    border-radius: 50%;
}

/* Content Layout */
#wisecampaign-notification-container .wisecampaign-notification-popup .notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    color: #333;
}

#wisecampaign-notification-container .wisecampaign-notification-popup .notification-body p,
#wisecampaign-notification-container .wisecampaign-notification-popup .notification-footer p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

#wisecampaign-notification-container .wisecampaign-notification-popup .buyer-info {
    font-size: 14px;
    color: #555;
}

#wisecampaign-notification-container .wisecampaign-notification-popup .buyer-name {
    font-weight: 600;
}

#wisecampaign-notification-container .wisecampaign-notification-popup .product-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e1e1e;
    margin: 4px 0 !important;
    white-space: nowrap;         /* Prevents line break */
    overflow: hidden;            /* Hides overflowed text */
    text-overflow: ellipsis;     /* Adds ... at the end */
    max-width: 220px; /* Add or adjust this value as needed */
}

#wisecampaign-notification-container .wisecampaign-notification-popup .location-info {
    font-size: 13px;
    color: #555;
}

#wisecampaign-notification-container .wisecampaign-notification-popup .notification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

#wisecampaign-notification-container .wisecampaign-notification-popup .timestamp,
#wisecampaign-notification-container .wisecampaign-notification-popup .brand-credit {
    font-size: 11px;
    color: #888;
}

/* --- Positioning --- */

/* Bottom-left corner */
#wisecampaign-notification-container.position-bottom-left {
    bottom: 45px;
    left: 40px;
}

/* Bottom-right corner */
#wisecampaign-notification-container.position-bottom-right {
    bottom: 45px;
    right: 40px;
}

/* Top-left corner */
#wisecampaign-notification-container.position-top-left {
    top: 20px;
    left: 20px;
}

/* Top-right corner */
#wisecampaign-notification-container.position-top-right {
    top: 20px;
    right: 20px;
}