/* PWA Installation Prompt Styles */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 16px;
    max-width: 320px;
    z-index: 9998;
    border: 1px solid #e9ecef;
    animation: slideInUp 0.5s ease-out;
}

.pwa-install-banner.hidden {
    animation: slideOutDown 0.5s ease-in;
    display: none;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.pwa-banner-text {
    flex: 1;
}

.pwa-banner-text h6 {
    margin: 0 0 4px 0;
    color: #333;
    font-weight: 600;
}

.pwa-banner-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.pwa-banner-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pwa-banner-btn {
    flex: 1;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-banner-btn.install {
    background: #ca3d2b;
    color: white;
}

.pwa-banner-btn.install:hover {
    background: #a83223;
}

.pwa-banner-btn.later {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.pwa-banner-btn.later:hover {
    background: #e9ecef;
}

.pwa-banner-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.pwa-banner-close:hover {
    color: #666;
}

/* Installation Steps */
.installation-steps {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.step-number {
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.9rem;
    color: #555;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pwa-install-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* For iOS specific instructions */
.ios-instructions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    border-left: 4px solid #6b1b07;
}

.ios-instructions h6 {
    color: #a40000;
    margin-bottom: 8px;
}

.ios-steps {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}

.btn-danger {
    color: #ffffff;
    background-color: #9e2608;
}