/* PWA Install Banner Styles */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pwa-install-banner.hidden {
    display: none;
}

.pwa-install-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pwa-install-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pwa-install-text {
    flex: 1;
    min-width: 0;
}

.pwa-install-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pwa-install-text p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.pwa-install-button {
    background: white;
    color: #3b82f6;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pwa-install-button:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pwa-install-button:active {
    transform: translateY(0);
}

.pwa-install-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.pwa-dismiss-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.pwa-dismiss-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pwa-dismiss-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .pwa-install-content {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .pwa-install-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .pwa-install-text {
        flex-basis: calc(100% - 60px);
    }

    .pwa-install-text h3 {
        font-size: 0.9375rem;
    }

    .pwa-install-text p {
        font-size: 0.8125rem;
    }

    .pwa-install-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }

    .pwa-install-button {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

/* iOS specific adjustments */
@supports (-webkit-touch-callout: none) {
    .pwa-install-banner {
        padding-bottom: env(safe-area-inset-bottom);
    }
}






