/* ========================================
   CUSTOM INSTALL PROMPT STYLES
   Beautiful PWA install banner
   ======================================== */

.install-prompt-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.install-prompt-banner.show {
    transform: translateY(0);
}

.install-prompt-content {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.install-prompt-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.install-prompt-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.install-prompt-close:active {
    transform: scale(0.95);
}

.install-prompt-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.install-prompt-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.install-prompt-text h3 {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.install-prompt-text p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.install-prompt-benefits {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.benefit svg {
    flex-shrink: 0;
}

.install-prompt-actions {
    display: flex;
    gap: 12px;
}

.btn-install-now {
    flex: 1;
    padding: 14px 24px;
    background: white;
    color: #6366f1;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-install-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-install-now:active {
    transform: translateY(0);
}

.btn-not-now {
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-not-now:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-not-now:active {
    transform: scale(0.95);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .install-prompt-banner {
        padding: 20px 16px;
    }

    .install-prompt-icon {
        width: 56px;
        height: 56px;
    }

    .install-prompt-text h3 {
        font-size: 18px;
    }

    .install-prompt-benefits {
        gap: 12px;
    }

    .benefit {
        font-size: 12px;
    }

    .btn-install-now,
    .btn-not-now {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Dark mode (already has gradient, but adjust for consistency) */
@media (prefers-color-scheme: dark) {
    .install-prompt-banner {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    }
}