/* PWA Install Hint Styles */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pwa-install-banner.show {
    display: flex;
}

.pwa-install-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pwa-install-content {
    flex: 1;
}

.pwa-install-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.pwa-install-description {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
}

.pwa-install-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pwa-install-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-install-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.pwa-install-button.primary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
}

.pwa-install-button.primary:hover {
    background: white;
}

.pwa-install-close {
    background: none;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pwa-install-close:hover {
    opacity: 1;
}

/* iOS specific styles */
.ios-install-hint {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #007AFF;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.9rem;
    z-index: 9999;
    display: none;
}

.ios-install-hint.show {
    display: block;
}

.ios-install-steps {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.9;
}

.ios-share-icon {
    display: inline-block;
    font-size: 1.1rem;
    margin: 0 4px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .pwa-install-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .pwa-install-actions {
        width: 100%;
        justify-content: center;
    }
    
    .pwa-install-button {
        flex: 1;
        text-align: center;
    }
}