/* Toastify Custom Styles */
.toastify {
    background: whitesmoke;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: #1f2937;
    /* Smooth slide in/out animation */
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toastify.on {
    opacity: 1;
    transform: translateX(0);
}

@keyframes notix-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Toast Content Styles */
.notix-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.notix-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
}

.notix-placeholder {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    font-size: 20px;
    flex-shrink: 0;
    border-radius: 6px;
}

.notix-info {
    flex: 1;
    min-width: 0;
}

.notix-line-1 {
    font-size: 14px;
    margin-bottom: 2px;
}

.notix-highlight {
    color: #1a1b1d;
    font-weight: bold;
}

.notix-line-2 {
    font-size: 13px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.notix-line-3 {
    font-size: 11px;
    color: #9ca3af;
    font-style: italic;
}

.notix-user {
    font-size: 14px;
    margin-bottom: 2px;
}

.notix-product {
    font-size: 13px;
    color: #797c83;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.notix-timestamp {
    font-size: 11px;
    color: #797c83;
    font-style: italic;
    text-align: right;
}

.notix-progress-container {
    height: 4px;
    background: #e5e7eb;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    margin: 8px -12px -12px -12px;
    border: 1px solid #e5e7eb;
    border-top: none;
}

.notix-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #050c17 0%, #383d45 100%);
    width: 100%;
    animation: notix-progress 6000ms linear forwards;
}