.sabah-pwa-install-button {
    min-height: 44px;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: 1px solid rgba(147, 197, 253, .32);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .18);
    font: 850 11px/1 Inter, "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}

.sabah-pwa-install-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
}

.sabah-pwa-install-button.is-floating {
    position: fixed;
    left: max(18px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 815;
}

.sabah-pwa-install-button span:first-child {
    font-size: 17px;
}

.sabah-pwa-ios-tip {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    z-index: 2147483200;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px;
    color: #0f172a;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(2, 6, 23, .34);
    font: 700 14px/1.5 Inter, "Segoe UI", Arial, sans-serif;
}

.sabah-pwa-ios-tip strong,
.sabah-pwa-ios-tip span {
    display: block;
}

.sabah-pwa-ios-tip strong {
    color: #071a34;
    font-size: 18px;
}

.sabah-pwa-ios-tip span {
    margin-top: 6px;
    color: #475569;
}

.sabah-pwa-ios-tip button {
    width: 100%;
    min-height: 46px;
    margin-top: 14px;
    color: #ffffff;
    background: #0b4f93;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 760px) {
    .sabah-pwa-install-button.is-floating {
        bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .sabah-pwa-install-button .sabah-pwa-install-label {
        display: none;
    }

    .sabah-pwa-install-button {
        min-width: 44px;
        padding: 9px 11px;
    }

    .sabah-pwa-ios-tip {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

@media print {
    .sabah-pwa-install-button,
    .sabah-pwa-ios-tip {
        display: none !important;
    }
}
