/* PWA Installation Prompt Styles */
#pwa-install-prompt,
#pwa-thank-you,
#pwa-manual-instructions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    font-family: 'Prompt', sans-serif;
    animation: slideUp 0.3s forwards;
}

#pwa-install-prompt.hide-prompt {
    animation: slideDown 0.3s forwards;
}

.pwa-prompt-container,
.pwa-thank-container,
.pwa-instructions-container {
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.pwa-prompt-header,
.pwa-instructions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pwa-logo {
    width: 32px;
    height: 32px;
}

.pwa-close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.pwa-prompt-body,
.pwa-instructions-body,
.pwa-thank-content {
    margin-bottom: 16px;
}

.pwa-prompt-body h3,
.pwa-instructions-header h3,
.pwa-thank-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.pwa-prompt-body p,
.pwa-thank-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.pwa-instructions-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.pwa-instructions-body ol {
    padding-left: 20px;
    margin: 10px 0;
}

.pwa-instructions-body li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pwa-prompt-footer,
.pwa-instructions-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pwa-install-btn, 
.pwa-thank-btn {
    background: #0ec960;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 24px;
    font-weight: 500;
    flex-grow: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.pwa-install-btn:hover, 
.pwa-thank-btn:hover {
    background: #0bb352;
}

.pwa-later-btn {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 10px 16px;
    border-radius: 24px;
    font-weight: 500;
    flex-grow: 1;
    cursor: pointer;
    transition: background 0.2s;
}

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

.pwa-instructions {
    margin-top: 12px;
    text-align: center;
    color: #888;
    font-size: 12px;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

/* For larger screens - show as modal */
@media (min-width: 768px) {
    #pwa-install-prompt,
    #pwa-thank-you,
    #pwa-manual-instructions {
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        animation: fadeIn 0.3s forwards;
    }
    
    #pwa-install-prompt.hide-prompt {
        animation: fadeOut 0.3s forwards;
    }
    
    .pwa-prompt-container,
    .pwa-thank-container,
    .pwa-instructions-container {
        border-radius: 16px;
        width: 400px;
        max-width: 90%;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    @keyframes fadeOut {
        from {
            opacity: 1;
        }
        to {
            opacity: 0;
        }
    }
}