/* PWA Install Modal Styles */

/* Modal styling for better mobile experience */
#pwaInstallModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#pwaInstallModal .modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

#pwaInstallModal .modal-body {
    padding: 2rem 1.5rem;
}

/* Chrome Install Content */
#chromeInstallContent ul {
    margin: 0 auto;
    max-width: 300px;
}

#chromeInstallContent li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Brave Warning Content */
#braveWarningContent .alert {
    border-radius: 10px;
    background-color: #e7f3ff;
    border-color: #b3d9ff;
}

/* Button styling */
#installNowBtn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#installNowBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

#installLaterBtn {
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 576px) {
    #pwaInstallModal .modal-dialog {
        margin: 1rem;
    }

    #pwaInstallModal .modal-body {
        padding: 1.5rem 1rem;
    }

    #chromeInstallContent h5 {
        font-size: 1.1rem;
    }

    #chromeInstallContent p {
        font-size: 0.9rem;
    }

    #chromeInstallContent li {
        font-size: 0.85rem;
    }

    #installNowBtn,
    #installLaterBtn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation for modal appearance */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#pwaInstallModal.show .modal-content {
    animation: slideInUp 0.3s ease-out;
}

/* Icon animations */
#chromeInstallContent .fa-download {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

#braveWarningContent .fa-exclamation-triangle {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}