﻿:root {
    --recipe-accent: var(--accent-color);
}

.bg-orange {
    background-color: var(--accent-color) !important;
}

.btn-orange {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

    .btn-orange:hover {
        background-color: #a90e0e;
        color: white;
    }

.border-dashed {
    border: 2px dashed #dee2e6 !important;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.form-control, .form-select {
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--recipe-accent);
        background-color: #fff;
    }

/* Ana Buton */
.generate-btn {
    background: linear-gradient(45deg, var(--recipe-accent), #ff4d4d);
    color: white;
    transition: all 0.3s ease;
}

    .generate-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(206, 18, 18, 0.3) !important;
    }

/* Malzeme Badge'leri (JS ile eklediğin kısımlar için) */
.badge.bg-orange {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}
.badge.bg-gray {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: 5px 12px;
    border-radius: 50px;
}

.orange-button {
    color: var(--contrast-color);
    background: var(--recipe-accent);
    border: 0;
    transition: 0.4s;
    border-radius: 4px;
}
    .orange-button:hover {
        background: color-mix(in srgb, var(--recipe-accent), transparent 20%);
    }

 /*______________________________________________________________________________*/


#ingredient-list-wrapper {
    width: 100%;
    margin-bottom: 28px;
    padding: 0px 5px 0px 5px;
    background: transparent;
}

#ingredient-box {
    width: 100%;
    min-height: 105px;
    padding: 16px 18px 0px 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 8px 24px rgba(0,0,0,0.035);
}

.ingredient-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #b85c38;
    margin-bottom: 12px;
}

.ingredient-list {
    min-height: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.place-holder {
    color: #b8b8b8;
    font-size: 0.88rem;
}

.ingredient-chip {
    background: #f5e6df;
    color: #b85c38;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #efd2c6;
}

    .ingredient-chip button {
        width: 18px;
        height: 18px;
        border: none;
        border-radius: 50%;
        background: rgba(184, 92, 56, 0.12);
        color: #b85c38;
        cursor: pointer;
        padding: 0;
        line-height: 18px;
        font-size: 0.8rem;
    }

        .ingredient-chip button:hover {
            background: #b85c38;
            color: #fff;
        }

.bg-accent-custom {
    background-color: var(--recipe-accent) !important;
    color: white !important;
}

.btn-accent {
    background-color: var(--recipe-accent) !important;
    border-color: var(--recipe-accent) !important;
    color: white !important;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.text-accent {
    color: var(--recipe-accent) !important;
}

.border-accent {
    border-color: var(--recipe-accent) !important;
}

.recipe-card:hover {
    border-color: var(--recipe-accent) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.page-link:focus {
    box-shadow: 0 0 0 0.25 r em rgba(var(--recipe-accent-rgb), 0.25);
}

.page-item.active .page-link {
    background-color: var(--recipe-accent) !important;
    border-color: var(--recipe-accent) !important;
}

.page-link {
    transition: all 0.2s ease;
}
