/* Add to Home Screen Prompt Styles */
.a2hs-prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.a2hs-prompt.a2hs-show {
    opacity: 1;
}

.a2hs-prompt-content {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.a2hs-prompt.a2hs-show .a2hs-prompt-content {
    transform: translateY(0);
}

.a2hs-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.a2hs-close:hover {
    background-color: #f0f0f0;
}

.a2hs-icon-container {
    text-align: center;
    margin-bottom: 16px;
}

.a2hs-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.a2hs-prompt-content h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    text-align: center;
    color: #333;
}

.a2hs-prompt-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.a2hs-instructions {
    text-align: center;
}

.a2hs-ios-instructions {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 !important;
}

.a2hs-share-icon {
    color: #007AFF;
}

.a2hs-install-btn {
    background: #007AFF;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.a2hs-install-btn:hover {
    background: #0062CC;
}

.a2hs-install-btn:active {
    transform: scale(0.98);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .a2hs-prompt-content {
        background: #2d2d2d;
        color: #fff;
    }
    
    .a2hs-prompt-content h3 {
        color: #fff;
    }
    
    .a2hs-prompt-content p {
        color: #ccc;
    }
    
    .a2hs-close {
        color: #ccc;
    }
    
    .a2hs-close:hover {
        background-color: #444;
    }
    
    .a2hs-ios-instructions {
        background: #444;
        color: #fff;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .a2hs-prompt-content {
        border-radius: 16px 16px 0 0;
        padding: 20px;
    }
    
    .a2hs-prompt-content h3 {
        font-size: 18px;
    }
    
    .a2hs-prompt-content p {
        font-size: 13px;
    }
}