/* NotificationX Container */
#nx-notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 320px;
    max-width: 90vw;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    border-left: 4px solid #2271b1;
    /* WordPress Blue */
}

#nx-notification-container.nx-show {
    transform: translateY(0);
    opacity: 1;
}

.nx-content {
    display: flex;
    align-items: center;
    padding: 15px;
    position: relative;
}

.nx-image {
    width: 50px;
    height: 50px;
    background: #f0f0f1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.nx-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.nx-image .dashicons {
    font-size: 24px;
    color: #555;
    width: 24px;
    height: 24px;
}

.nx-details {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.nx-name {
    font-weight: 600;
}

.nx-product {
    color: #2271b1;
    font-weight: 500;
}

.nx-time {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.nx-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    padding: 0 5px;
}


/* --- Announcement Banner --- */
.nx-announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 40px;
    background: #2271b1;
    color: #fff;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.nx-banner-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* --- Floating Footer Bar --- */
.nx-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nx-footer-text {
    font-weight: 600;
    color: #333;
}

.nx-footer-action {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* --- Visitor Counter --- */
.nx-visitor-counter {
    background: #f9f9f9;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
    display: inline-flex;
    align-items: center;
    color: #555;
    font-size: 14px;
}

.nx-visitor-counter .dashicons {
    margin-right: 8px;
    color: #2271b1;
}

/* --- GDPR Consent --- */
#nx-gdpr-consent {
    position: fixed;
    bottom: 80px;
    /* Above footer bar roughly */
    left: 20px;
    max-width: 350px;
    background: #333;
    color: #fff;
    padding: 20px;
    border-radius: 6px;
    z-index: 10001;
    font-size: 13px;
    line-height: 1.5;
}

.nx-gdpr-content button {
    margin-top: 10px;
    background: #fff;
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}