/* iOS "Add to Home Screen" instructions banner.
   Scoped entirely under #pwaIosBanner - fixed position, outside
   normal document flow, cannot shift or break any existing layout. */

#pwaIosBanner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 99999;
    max-width: 420px;
    margin: 0 auto;
    background: #1a56c4;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-family: 'Roboto', Arial, sans-serif;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

#pwaIosBanner.pwa-ios-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#pwaIosBanner .pwa-ios-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex: 0 0 auto;
    background: #fff;
}

#pwaIosBanner .pwa-ios-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
}

#pwaIosBanner .pwa-ios-text strong {
    font-size: 14px;
    font-weight: 700;
}

#pwaIosBanner .pwa-ios-text span {
    font-size: 12px;
    color: #dbe6fb;
}

#pwaIosBanner .pwa-ios-close {
    border: none;
    cursor: pointer;
    background: transparent;
    color: #dbe6fb;
    font-size: 15px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

#pwaIosBanner .pwa-ios-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 769px) {
    #pwaIosBanner {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 360px;
    }
}
