.mobile-app-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-app-prompt.visible {
    opacity: 1;
}

.mobile-app-prompt__content {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-app-prompt__image {
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-app-prompt__image img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-app-prompt__text {
    margin-bottom: 24px;
}

.mobile-app-prompt__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.mobile-app-prompt__description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.mobile-app-prompt__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mobile-app-prompt__btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-app-prompt__btn--primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.mobile-app-prompt__btn--primary:hover {
    background-color: #0056b3;
}

.mobile-app-prompt__btn--secondary {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.mobile-app-prompt__btn--secondary:hover {
    background-color: #f8f9fa;
    color: #333;
}

@media (min-width: 768px) {
    .mobile-app-prompt {
        display: none !important; /* Force hide on desktop if JS fails to prevent it */
    }
}
