#sw-update-bar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 10005;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    background: #0b5;
    color: #fff;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgb(0 0 0 / .15);
    font-family: inherit;
    direction: rtl
}

#sw-update-bar .msg {
    font-size: 14px
}

#sw-update-bar .actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

#sw-update-bar .sw-btn {
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px
}

#sw-update-bar .sw-btn--primary {
    background: #fff;
    color: #0b5;
    font-weight: 600
}

#sw-update-bar .sw-btn--secondary {
    background: rgb(255 255 255 / .15);
    color: #fff
}

@media (max-width:360px) {
    #sw-update-bar {
        flex-direction: column;
        gap: 8px
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: translateY(0)
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-100%)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

#pull-indicator {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #1abc9c, #00bcd4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgb(0 0 0 / .1);
    direction: rtl
}

#pull-indicator .pull-content {
    display: flex;
    align-items: center;
    gap: 8px
}

#pull-indicator i {
    transition: transform 0.3s ease;
    font-size: 16px
}

@keyframes slideUp {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-100%)
    }
}