/* Copyright (c) 2026 Sabor Argentino - Adrian Marcelo Urrutia Soto. Todos los derechos reservados. Proyecto desarrollado bajo la marca Millennials Desarrollo. */
body {
    font-family: 'Inter', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.recipe-overlay {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-active {
    background-color: white;
    color: #dc2626;
    /* red-600 */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Fix for background image and layout */
.main-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1544025162-d76690b6d012?q=80&w=2574&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
}

#search-input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

#category-suggestion-panel {
    width: 100%;
}

.category-suggestion-button {
    width: 100%;
    min-width: 0;
}

/* Interacciones e Interfaz */
#btn-like.text-blue-600,
#btn-dislike.text-stone-900 {
    transform: scale(1.05);
}

#btn-like:active,
#btn-dislike:active,
[data-rate]:active {
    transform: scale(0.9);
}

[data-rate] {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-rate]:hover {
    transform: scale(1.3);
}

/* Comentarios */
.animate-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#comment-input:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

#btn-submit-comment:active {
    transform: translateY(2px) scale(0.98);
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.zoom-in {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#hamburger-menu {
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}