/* PWA Specific Styles */
.pwa-install-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #006bb3;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    max-width: 600px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

.pwa-install-banner.ios-banner {
    text-align: center;
    flex-direction: column;
}

.pwa-banner-content {
    flex: 1;
    margin-right: 15px;
}

.pwa-banner-actions {
    display: flex;
    gap: 10px;
}

.pwa-install-btn {
    background: white;
    color: #3182ce;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.pwa-dismiss-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.pwa-offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #e53e3e;
    color: white;
    padding: 10px;
    text-align: center;
    z-index: 9999;
    display: none;
}

.pwa-online-indicator {
    background: #38a169;
}

.pwa-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pwa-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3182ce;
    border-radius: 50%;
    animation: pwa-spin 1s linear infinite;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes pwa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .pwa-install-banner {
        bottom: 10px;
        padding: 12px 15px;
    }
    
    .pwa-banner-actions {
        flex-direction: column;
        gap: 5px;
    }
}