/* استایل‌های پاپ‌آپ نوتیفیکیشن */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.notification-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    max-width: 90vw;
    max-height: 500px;
    height: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(-20px);
    animation: notificationSlideIn 0.4s ease-out forwards;
    text-align: center;
    color: white;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'Vazir', 'Tahoma', sans-serif;
    direction: rtl;
}

.notification-content>* {
    overflow: visible;
}

@keyframes notificationSlideIn {
    to {
        transform: scale(1) translateY(0);
    }
}

.notification-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bellShake 1s ease-in-out infinite;
    display: block;
    line-height: 1;
}

@keyframes bellShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

.notification-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Vazir', 'Tahoma', sans-serif;
    line-height: 1.3;
}

.notification-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
    font-family: 'Vazir', 'Tahoma', sans-serif;
    padding: 0 10px;
}

.notification-stats {
    display: none;
}

.notification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.btn-notification {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
    font-family: 'Vazir', 'Tahoma', sans-serif !important;
    direction: rtl;
    line-height: 1.4;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-enable {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-enable:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.btn-later {
    background: linear-gradient(45deg, #757575, #616161);
    color: white;
    box-shadow: 0 4px 15px rgba(117, 117, 117, 0.4);
}

.btn-later:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.6);
}

.btn-dismiss {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-dismiss:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.notification-progress {
    display: none;
}

.notification-footer {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-family: 'Vazir', 'Tahoma', sans-serif;
}

@media (max-width: 480px) {
    .notification-content {
        width: 320px;
        padding: 25px 20px;
        margin: 20px;
    }

    .notification-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-notification {
        width: 100%;
        max-width: 200px;
        padding: 14px 20px;
    }

    .notification-title {
        font-size: 1.3rem;
    }

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

.notification-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes notificationSlideOut {
    from {
        transform: scale(1) translateY(0);
    }

    to {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
}

/* استایل دکمه شناور نوتیفیکیشن */
.notification-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.notification-float-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.notification-float-btn.small {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
}

/* Tooltip برای دکمه شناور */
.notification-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'Vazir', 'Tahoma', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    direction: rtl;
}

.notification-float-btn:hover .notification-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

@media (max-width: 480px) {
    .notification-float-btn {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}