/* Custom styles for MyRecipeCart */

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4ade80;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}

/* Loading animation for demo buttons */
.demo-loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .demo-screenshot {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Instacart-approved button styles - Exact specifications */
.instacart-cta-button {
    height: 46px !important;
    padding: 16px 18px !important;
    background-color: #003D29 !important;
    color: #FAF1E5 !important;
    border: none !important;
    border-radius: 23px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: auto !important;
    min-width: fit-content !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
}

.instacart-cta-button:hover {
    background-color: #00523A !important;
    color: #FAF1E5 !important;
    text-decoration: none !important;
}

.instacart-cta-button:focus {
    outline: 2px solid #003D29 !important;
    outline-offset: 2px !important;
}

.instacart-logo {
    width: 22px !important;
    height: 22px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
