/* SFC Notification System */
.sfc-notification-container {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    pointer-events: none;
}

.sfc-toast {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    animation: toastSlideInCenter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    width: 100%;
    max-width: 484px;
    box-shadow: 0px 4px 35px 0px rgba(0, 0, 0, 0.08);
}

.sfc-toast::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 8px;
}

.sfc-toast.success::after {
    background-color: #10B981;
}

.sfc-toast.success .status-icon-wrapper {
    background-color: #ECFDF5;
}

.sfc-toast.error::after {
    background-color: #D92D20;
}

.sfc-toast.error .status-icon-wrapper {
    background-color: #FEF3F2;
}

.toast-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.toast-message {
    font-size: 16px;
    font-weight: 600;
    color: #1F2A37;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

.status-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-icon-wrapper img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.close-btn {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 6px;
    flex-shrink: 0;
}

.close-btn:hover {
    color: #111827;
    background-color: #F3F4F6;
}

@keyframes toastSlideInCenter {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast-fade-out {
    animation: toastFadeOutCenter 0.3s ease forwards;
}

@keyframes toastFadeOutCenter {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .sfc-notification-container {
        width: calc(100% - 32px);
        max-width: none;
        top: 20px;
    }

    .toast-message {
        font-size: 16px;
    }

    .status-icon-wrapper {
        width: 36px;
        height: 36px;
    }
}