.pwa-install-button,
.push-enable-button {
    border: 1px solid rgba(0, 123, 255, .22);
    background: rgba(0, 123, 255, .1);
    color: #007bff;
    border-radius: 8px;
    min-height: 36px;
    padding: .42rem .7rem;
    font-weight: 850;
    cursor: pointer;
}

.pwa-install-button[hidden],
.push-enable-button[hidden] {
    display: none;
}

.pwa-update-toast {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 2000;
    width: min(420px, calc(100% - 24px));
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-radius: 8px;
    background: #0b1f3a;
    color: #fff;
    padding: .85rem;
    box-shadow: 0 18px 50px rgba(11, 31, 58, .28);
}

.pwa-update-toast.is-visible {
    display: flex;
}

.notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(0, 123, 255, .22);
    background: rgba(0, 123, 255, .1);
    color: #007bff;
    text-decoration: none;
    font-weight: 900;
}

.notification-bell__count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ff8a00;
    color: #1f1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .25rem;
    font-size: .68rem;
    font-weight: 950;
}

.pwa-ios-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(11, 31, 58, .48);
}

.pwa-ios-modal[hidden] {
    display: none;
}

.pwa-ios-modal__dialog {
    position: relative;
    width: min(380px, 100%);
    border-radius: 10px;
    background: #fff;
    color: #0b1f3a;
    padding: 1.15rem;
    box-shadow: 0 24px 70px rgba(11, 31, 58, .32);
}

.pwa-ios-modal__dialog h2 {
    margin: 0 0 .5rem;
    font-size: 1.18rem;
    font-weight: 900;
}

.pwa-ios-modal__dialog p,
.pwa-ios-modal__dialog li {
    color: #475569;
}

.pwa-ios-modal__dialog ol {
    margin: .75rem 0 0;
    padding-left: 1.15rem;
}

.pwa-install-steps {
    display: grid;
    gap: .55rem;
}

.pwa-ios-modal__notice {
    margin-top: .9rem;
    border-radius: 8px;
    background: #eaf4ff;
    border: 1px solid rgba(0, 123, 255, .18);
    color: #0b1f3a;
    padding: .72rem .8rem;
    font-size: .92rem;
    line-height: 1.35;
}

.pwa-ios-modal__primary {
    width: 100%;
    margin-top: .9rem;
    border: 0;
    border-radius: 8px;
    background: #ff8a00;
    color: #111827;
    min-height: 42px;
    padding: .65rem .9rem;
    font-weight: 900;
    cursor: pointer;
}

.pwa-ios-modal__close {
    position: absolute;
    top: .55rem;
    right: .65rem;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
