/**
 * ═══════════════════════════════════════════════════════════
 * ARQUIVO: ci-core.css
 * LOCALIZAÇÃO: /cozinha-inventiva-core/assets/css/
 * NÚMERO: 12/14 (Lote 3) | 12/14 (Total)
 * LINHAS: 202
 * ═══════════════════════════════════════════════════════════
 * DESCRIÇÃO:
 * CSS completo do plugin. Estilos para botões (cook mode e favoritos),
 * overlay do modo cozinha com checkboxes, tags de ingredientes, cards
 * de receitas, grid de favoritos e responsividade mobile. Usa cores
 * do tema: laranja #D2691E e verde #9ACD32.
 * ═══════════════════════════════════════════════════════════
 */

/* ==========================================================================
   BOTÕES PRINCIPAIS
   ========================================================================== */

.ci-cook-mode-btn,
.ci-fav-btn {
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ci-cook-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.4);
}

.ci-fav-btn {
    display: inline-block;
}

.ci-fav-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.3);
}

/* ==========================================================================
   MODO COZINHA - OVERLAY FULLSCREEN
   ========================================================================== */

.ci-cook-overlay {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.ci-cook-overlay h1,
.ci-cook-overlay h2 {
    font-weight: bold;
}

.ci-cook-overlay h1 {
    color: white;
}

.ci-cook-close {
    transition: background 0.3s ease;
}

.ci-cook-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Checkboxes do modo cozinha */
.ci-cook-overlay input[type="checkbox"] {
    cursor: pointer;
    accent-color: #9ACD32;
}

.ci-cook-overlay label {
    transition: opacity 0.3s ease;
}

.ci-cook-overlay label:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   TAGS DE INGREDIENTES (Busca)
   ========================================================================== */

.ci-ingredient-tag {
    animation: slideIn 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ci-remove-ing {
    transition: transform 0.2s ease;
}

.ci-remove-ing:hover {
    transform: scale(1.2);
}

/* ==========================================================================
   CARDS DE RECEITAS
   ========================================================================== */

.ci-recipe-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ci-recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.ci-recipe-card img {
    transition: transform 0.3s ease;
}

.ci-recipe-card:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   FAVORITOS GRID
   ========================================================================== */

#ci-favorites-grid {
    min-height: 200px;
}

#ci-no-favorites {
    color: #666;
    font-size: 1.1rem;
}

/* ==========================================================================
   CORES DO TEMA
   ========================================================================== */

.ci-color-primary {
    color: #D2691E;
}

.ci-color-secondary {
    color: #9ACD32;
}

.ci-bg-primary {
    background: #D2691E;
}

.ci-bg-secondary {
    background: #9ACD32;
}

.ci-gradient {
    background: linear-gradient(135deg, #D2691E, #9ACD32);
}

/* ==========================================================================
   RESPONSIVO MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    .ci-cook-overlay h1 {
        font-size: 2rem !important;
    }
    
    .ci-cook-overlay h2 {
        font-size: 1.5rem !important;
    }
    
    .ci-cook-overlay label {
        font-size: 1.2rem !important;
    }
    
    .ci-cook-close {
        top: 0.5rem !important;
        right: 0.5rem !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .ci-cook-mode-btn,
    .ci-fav-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem !important;
    }
    
    #ci-favorites-grid {
        grid-template-columns: 1fr;
    }
}
