/* File: /b/f/css/notification.css */

/* ریشه نوتیفیکیشن – ثابت در پایین صفحه */
.vv-notification-root {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;

    padding: 0 12px 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));

    pointer-events: none;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* وقتی نمایش فعال شود */
.vv-notification-root.vv-notification-visible {
    opacity: 1;
    transform: translateY(0);
}

/* نوار اعلان */
.vv-notification-bar {
    pointer-events: auto;

    max-width: 1100px;
    width: 100%;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    background: radial-gradient(circle at 0% 0%, rgba(255, 86, 86, 0.16), #0000006b), linear-gradient(135deg, #0c0f1878, #151924b0);
    
    border-radius: 999px;

    border: 1px solid rgba(255, 86, 86, 0.55);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.03);

    color: #ffffff;
    direction: rtl;
}

/* آیکون اعلان */
.vv-notification-icon {
    flex-shrink: 0;

    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffcb47, #ff5656);
    box-shadow:
        0 0 0 2px rgba(255, 86, 86, 0.35),
        0 0 18px rgba(255, 86, 86, 0.6);
}

.vv-notification-icon::before {
    content: "🔔";
    font-size: 16px;
    line-height: 1;
}

/* متن پیام */
.vv-notification-text {
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.7;
    white-space: normal;
    text-align: right;
    color: #f5f6fa;
    flex: 1;
}

/* دکمه بستن (ضربدر) */
.vv-notification-close {
    appearance: none;
    border: none;
    outline: none;

    cursor: pointer;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);

    font-size: 18px;
    line-height: 1;
    color: #ffffff;

    transition: background 0.25s ease, transform 0.25s ease;
}

.vv-notification-close::before {
    content: "✕";
}

.vv-notification-close:hover {
    background: rgba(255, 255, 255, 0.17);
    transform: scale(1.12);
}

.vv-notification-close:active {
    transform: scale(0.92);
}


/* ریسپانسیو */
@media (min-width: 768px) {
    .vv-notification-root {
        padding-inline: 24px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .vv-notification-bar {
        padding: 14px 24px;
        gap: 14px;
    }

    .vv-notification-text {
        font-size: 1rem;
    }

    .vv-notification-close {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .vv-notification-bar {
        padding-inline: 12px;
        gap: 8px;
    }

    .vv-notification-close {
        width: 24px;
        height: 24px;
    }

    .vv-notification-text {
        font-size: 0.85rem;
    }
}




