/* Purchase Notification Popup Styles */
.purchase-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px 30px;
    max-width: 600px;
    width: auto;
    white-space: nowrap;
    z-index: 1000;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary, #4B0082);
}

.purchase-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.purchase-notification.hiding {
    opacity: 0;
    transform: translateX(-100%);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-text {
    font-size: 14px;
    line-height: 1;
    color: var(--headerColor, #1a1a1a);
    white-space: nowrap;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: var(--bodyTextColor, #666);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--headerColor, #1a1a1a);
}

/* Mobile Styles - Tablets and Large Phones (max-width: 48rem - 768px) */
@media (max-width: 48rem) {
    .purchase-notification {
        bottom: 0.625rem;
        left: 0.625rem;
        right: 0.625rem;
        padding: 0.875rem 1.25rem;
        max-width: calc(100% - 1.25rem);
        width: auto;
        white-space: normal;
        font-size: 0.9375rem;
    }

    .notification-text {
        font-size: 0.9375rem;
        white-space: normal;
        line-height: 1.4;
    }
}

/* Small Mobile Styles (max-width: 30rem - 480px) */
@media (max-width: 30rem) {
    .purchase-notification {
        bottom: 0.3125rem;
        left: 0.3125rem;
        right: 0.3125rem;
        padding: 0.75rem 1rem;
        max-width: calc(100% - 0.625rem);
        font-size: 0.875rem;
    }

    .notification-text {
        font-size: 0.875rem;
    }
}
