/* ===== MOBILE NOTIFICATIONS - FORCE TO TOP ===== */

/* Force to top on ALL mobile devices */
@media (max-width: 991px) {
    /* Override simple-notify library positioning */
    .notifications-container {
        top: 80px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        position: fixed !important;
        z-index: 99999 !important;
        max-width: calc(100% - 32px) !important;
        width: calc(100% - 32px) !important;
    }
    
    /* Remove bottom positioning from all variants */
    .notifications-container.notify-is-bottom,
    .notifications-container.notify-is-right,
    .notifications-container.notify-is-left,
    .notifications-container.notify-is-top,
    .notifications-container.notify-is-center,
    .notifications-container.notify-is-x-center,
    .notifications-container.notify-is-y-center {
        top: 80px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    /* Stack notifications from top */
    .notify-live {
        margin-top: 12px !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .notify-live:first-child {
        margin-top: 0 !important;
    }
    
    /* Adjust animations for top positioning */
    .notifications-container .notify--slide {
        transform: translateY(-20px) !important;
    }
    
    .notifications-container .notify--slideIn {
        transform: translateY(0) !important;
    }
    
    /* Better visibility on mobile */
    .notify-live {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }
    
    .notify__title {
        font-size: 15px !important;
        font-weight: 700 !important;
    }
    
    .notify__text {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    .notifications-container {
        top: 70px !important;
        max-width: calc(100% - 24px) !important;
        width: calc(100% - 24px) !important;
    }
    
    .notify-live {
        padding: 14px !important;
        font-size: 13px !important;
    }
    
    .notify__title {
        font-size: 14px !important;
    }
    
    .notify__text {
        font-size: 12px !important;
    }
}
