/* Floating PWA Install Banner */
.pwa-floating-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #111e38; /* Sleek dark navy matching screenshot */
    color: #ffffff;
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 94vw;
    width: 440px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    animation: pwaSlideUp 0.35s ease-out forwards;
}

@keyframes pwaSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 25px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.pwa-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pwa-banner-icon {
    width: 48px;
    height: 48px;
    background: #0b1527;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.pwa-banner-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.pwa-banner-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pwa-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-banner-sub {
    font-size: 11.5px;
    color: #9cb1c9;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-banner-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pwa-btn-install {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #df6804; /* Orange pill */
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.pwa-btn-install:hover {
    background: #c75c02;
}

.pwa-btn-install:active {
    transform: scale(0.97);
}

.pwa-btn-close {
    background: transparent;
    border: none;
    color: #7d93ad;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.pwa-btn-close:hover {
    color: #ffffff;
}

/* iOS instructions popup matching screenshot */
.pwa-ios-modal {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: #111e38;
    color: #ffffff;
    padding: 18px 18px 14px 18px;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    width: 330px;
    max-width: 92vw;
    z-index: 100000;
    display: none;
    font-size: 13.5px;
    animation: pwaSlideUp 0.3s ease-out;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pwa-ios-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pwa-ios-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-ios-icon {
    width: 38px;
    height: 38px;
    background: #0b1527;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pwa-ios-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pwa-ios-title-wrap {
    display: flex;
    flex-direction: column;
}

.pwa-ios-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.pwa-ios-subtitle {
    font-size: 11.5px;
    color: #8c9eb5;
    margin-top: 2px;
}

.pwa-ios-close {
    background: transparent;
    border: none;
    color: #7d93ad;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.pwa-ios-close:hover {
    color: #ffffff;
}

.pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.pwa-ios-step {
    background: #192a4a;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dbe4ef;
    font-size: 13px;
    font-weight: 500;
}

.pwa-ios-step strong {
    color: #5ba3f5;
    font-weight: 600;
}

.pwa-ios-step-num {
    width: 24px;
    height: 24px;
    background: #df6804;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.pwa-ios-footer-note {
    text-align: center;
    color: #d89632;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.pwa-ios-footer-note svg {
    margin-left: 4px;
    animation: pwaBounce 1.5s infinite;
}

@keyframes pwaBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}
