/* PWA Install Button Styles */
#ftco-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#installAppButton {
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #003d24;
    border: none;
    border-radius: 9999px; /* rounded-full */
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: auto;
    white-space: nowrap;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 61, 36, 0.15), 0 1px 2px rgba(0, 61, 36, 0.1);
}

#installAppButton:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 61, 36, 0.2), 0 2px 4px rgba(0, 61, 36, 0.15);
}

#installAppButton:active {
    transform: scale(0.95);
    box-shadow: 0 1px 2px rgba(0, 61, 36, 0.1);
}

#installAppButton.pwa-install-visible {
    display: flex;
    animation: fadeIn 0.4s ease-out;
}

#installAppButton svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    color: #003d24;
    stroke: #003d24;
}

#installAppButton span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    color: #003d24;
}

/* Animation for button appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #installAppButton {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    #installAppButton svg {
        width: 13px;
        height: 13px;
        margin-right: 3px;
    }
}

@media (max-width: 576px) {
    #installAppButton {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    #installAppButton svg {
        width: 12px;
        height: 12px;
        margin-right: 3px;
    }
    
    /* Keep text visible on mobile */
    #installAppButton span {
        display: inline-block;
    }
}