/* PWA Install Prompt Styles */

/* Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
    color: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.pwa-install-banner.show {
    display: flex;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 15px;
}

.pwa-banner-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.pwa-banner-text {
    flex: 1;
}

.pwa-banner-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.pwa-banner-description {
    font-size: 14px;
    opacity: 0.95;
}

.pwa-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pwa-install-btn {
    background: white;
    color: #ff6a00;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pwa-dismiss-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pwa-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pwa-install-banner {
        padding: 12px 15px;
    }

    .pwa-banner-content {
        flex-wrap: wrap;
    }

    .pwa-banner-icon {
        font-size: 30px;
    }

    .pwa-banner-title {
        font-size: 16px;
    }

    .pwa-banner-description {
        font-size: 13px;
    }

    .pwa-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .pwa-install-btn,
    .pwa-dismiss-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pwa-banner-icon {
        display: none;
    }

    .pwa-banner-description {
        display: none;
    }

    .pwa-banner-title {
        font-size: 14px;
    }

    .pwa-install-btn,
    .pwa-dismiss-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* iOS Safari specific styles */
@supports (-webkit-touch-callout: none) {
    .pwa-install-banner.ios-safari {
        display: flex;
    }

    .pwa-banner-description.ios-instruction {
        display: block !important;
    }
}

/* PWA mode - hide banner when already installed */
@media (display-mode: standalone) {
    .pwa-install-banner {
        display: none !important;
    }
}
