/* Phase 16.2 - Guided PWA Installation Experience Styles */

.app-install-card {
    position: fixed;
    bottom: -150px; /* Hidden initially for animation */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 450px;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    z-index: 99999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.app-install-card.visible {
    bottom: 24px;
}

.app-install-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0F172A; /* Slate 900 */
}

.app-install-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569; /* Slate 600 */
}

.app-install-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

.app-install-actions button {
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.app-btn-dismiss {
    background: transparent;
    color: #64748B; /* Slate 500 */
}

.app-btn-dismiss:hover {
    background: #F1F5F9; /* Slate 100 */
    color: #334155;
}

.app-btn-install {
    /* Uses BidQuest Primary Color approximately, or fallback to solid blue */
    background: #D4A33A;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(27, 108, 242, 0.3);
}

.app-btn-install:hover {
    background: #1557c0;
    box-shadow: 0 2px 5px rgba(27, 108, 242, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .app-install-card {
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        bottom: -200px;
        border-bottom: none;
        border-left: none;
        border-right: none;
    }
    
    .app-install-card.visible {
        bottom: 0;
    }
}

