/* PWA Installation Modal Styles */
.pwa-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.pwa-modal-header {
    background: linear-gradient(135deg, #00b894 0%, #0984e3 100%);
    padding: 20px;
}

.pwa-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.pwa-modal-body {
    padding: 30px;
}

.pwa-modal-body ul {
    max-width: 300px;
    margin: 0 auto;
}

.pwa-modal-body li {
    padding: 8px 0;
    font-size: 0.95em;
}

.pwa-modal-footer {
    padding: 20px 30px 30px;
    gap: 15px;
}

.btn-install {
    background: linear-gradient(135deg, #00b894 0%, #0984e3 100%);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

/* iOS Install Steps */
.ios-install-steps .step {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ios-install-steps .step:last-child {
    border-bottom: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #007AFF;
    color: white;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

/* PWA Update Notifications */
.pwa-update-notification,
.pwa-success-toast,
.pwa-offline-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.pwa-update-notification.show,
.pwa-success-toast.show {
    transform: translateX(0);
}

.pwa-offline-banner {
    background: #ff6b6b;
    color: white;
    top: 0;
    right: 0;
    left: 0;
    border-radius: 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .pwa-modal-content {
        margin: 10px;
        border-radius: 15px;
    }
    
    .pwa-modal-header {
        padding: 15px;
    }
    
    .pwa-modal-body {
        padding: 20px;
    }
    
    .pwa-modal-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
    }
    
    .pwa-modal-footer .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .pwa-modal-footer .btn:last-child {
        margin-bottom: 0;
    }
    
    .pwa-update-notification,
    .pwa-success-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Animation for install button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 184, 148, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
    }
}

.btn-install:focus {
    animation: pulse 2s infinite;
}