/* ==========================================================================
   PWA "Open in App" Banner
   ========================================================================== */
.app-banner {
    position: fixed;
    bottom: -120px; /* Hidden start state */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-banner.show {
    bottom: 24px;
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.app-icon img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-info strong {
    font-size: 0.95rem;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-info span {
    font-size: 0.78rem;
    color: #606770;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-open-app {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-open-app:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.btn-dismiss-app {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #777;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-dismiss-app:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}
