/* Sales Notifier Styles - Final Visual Consistency (300x75) */
#sales-notifier {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    background: #fff;
    border-radius: 12px;
    padding: 7px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 300px;
    height: 75px;
    box-sizing: border-box;
    transform: translateX(-150%);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#sales-notifier.show {
    transform: translateX(0);
}

.dark-theme #sales-notifier {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.notifier-img-wrapper {
    flex-shrink: 0;
    width: 61px;
    height: 61px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.notifier-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.notifier-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 15px;
}

.notifier-header {
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
}

.notifier-user-name {
    font-weight: 700;
    color: #0095f6;
    font-size: 13px;
}

.notifier-bought-text {
    font-size: 13px;
    color: #262626;
    font-weight: 400;
}

.dark-theme .notifier-bought-text {
    color: #e4e4e7;
}

.notifier-product-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #0095f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.notifier-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.notifier-time {
    font-size: 12px;
    color: #8e8e8e;
    font-weight: 400;
}

.notifier-bank-logo-img {
    height: 14px;
    max-width: 60px;
    object-fit: contain;
    display: block;
}

.notifier-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notifier-close:hover {
    opacity: 1;
}

/* Progress Bar */
.notifier-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #0095f6;
    width: 0;
    transition: none;
}

#sales-notifier.show .notifier-progress {
    width: 100%;
    animation: notifier-progress-deplete 6s linear forwards;
}

@keyframes notifier-progress-deplete {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Mobile Specific: 250x74 */
@media (max-width: 768px) {
    #sales-notifier {
        bottom: 80px;
        left: 20px;
        width: 250px;
        height: 74px;
        padding: 6px;
        gap: 10px;
    }

    .notifier-img-wrapper {
        width: 60px;
        height: 60px;
    }
}