/* Keukenvrienden – Aangepaste stijlen */
:root {
    --kv-groen: #198754;
    --kv-licht: #f8f9fa;
}

body {
    background-color: #fafaf8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

/* Kaarten */
.card {
    border-radius: 0.75rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hover-kaart:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1) !important;
    transform: translateY(-2px);
}

/* Receptfoto's */
.recept-foto {
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem 0.75rem 0 0;
}
.recept-foto-placeholder {
    height: 180px;
    border-radius: 0.75rem 0.75rem 0 0;
}

.positie-relatief-foto {
    position: relative;
}

.kaart-overlay {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.kaart-overlay-boven {
    top: 0.5rem;
    right: 0.5rem;
}

.kaart-overlay-onder {
    right: 0.5rem;
    bottom: 0.5rem;
    color: #1f5135;
}

.kaart-overlay .bi-heart-fill {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.recept-detail-foto {
    max-height: 420px;
    object-fit: cover;
}

.kv-waardering-icoon {
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
}

/* Flash-berichten auto-verbergen */
.alert-dismissible { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; } }
