/* Floating notification enable button */
.push-notification #enable-notifications {
    position: fixed;
    right: 24px;
    top: 80%;
    transform: translateY(-50%);
    z-index: 1000;

    /* Button styling */
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;

    /* Visual design */
    background: linear-gradient(135deg, #00A651 0%, #198B53 100%);
    color: white;
    border: none;
    border-radius: 50px;

    /* Typography */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;

    /* Interactions */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadow */
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Bell icon styling */
.push-notification .bell-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Button text */
.push-notification .button-text {
    white-space: nowrap;
}

/* Hover effects */
.push-notification #enable-notifications:hover {
    transform: translateY(-50%) translateY(-2px);
    background: linear-gradient(135deg, #198B53 0%, #00A651 100%);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

/* Active state */
.push-notification #enable-notifications:active {
    transform: translateY(-50%) translateY(0px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* Focus state for accessibility */
.push-notification #enable-notifications:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3), 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Pulse animation for attention */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5), 0 0 0 8px rgba(99, 102, 241, 0.1);
    }
}

.push-notification #enable-notifications {
    animation: pulse 2s infinite;
}

/* Stop pulse on hover */
.push-notification #enable-notifications:hover {
    animation: none;
}

/* Slide in animation when button appears */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.push-notification #enable-notifications[style*="block"],
.push-notification #enable-notifications[style*="flex"] {
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive design */
@media (max-width: 768px) {
    .push-notification #enable-notifications {
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .push-notification .bell-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .push-notification #enable-notifications {
        right: 16px;
        padding: 12px 16px;
        font-size: 12px;
    }

    /* Show only icon on very small screens */
    .push-notification .button-text {
        display: none;
    }

    .push-notification #enable-notifications {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }

    .push-notification .bell-icon {
        width: 20px;
        height: 20px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .push-notification #enable-notifications {
        animation: none;
        transition: none;
    }

    .push-notification #enable-notifications:hover {
        transform: translateY(-50%);
    }
}