/* ==========================================================================
   Flanör — PWA Install Banner
   Alt-orta sticky pill banner, blurple gradient, 300ms slide-up
   ========================================================================== */

.flanor-pwa-banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    bottom: 16px;
    width: calc(100% - 24px);
    max-width: 480px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #5865F2 0%, #404EED 50%, #4752C4 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(88, 101, 242, 0.35);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    color: #FFFFFF;
    font-family: inherit;
    backdrop-filter: blur(8px);
}

.flanor-pwa-banner.show {
    transform: translateX(-50%) translateY(0);
}

.flanor-pwa-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flanor-pwa-banner-icon img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.flanor-pwa-banner-text {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.flanor-pwa-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.flanor-pwa-banner-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.flanor-pwa-banner-action {
    flex-shrink: 0;
    background: #FFFFFF;
    color: #404EED;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.flanor-pwa-banner-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flanor-pwa-banner-action:active {
    transform: translateY(0);
}

.flanor-pwa-banner-close {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
}

.flanor-pwa-banner-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 480px) {
    .flanor-pwa-banner {
        bottom: 12px;
        padding: 10px 12px;
        gap: 10px;
    }
    .flanor-pwa-banner-icon img {
        width: 36px;
        height: 36px;
    }
    .flanor-pwa-banner-title {
        font-size: 13px;
    }
    .flanor-pwa-banner-sub {
        font-size: 11px;
    }
}
