/* Estilos para el modal de recetas */
#modal-imagen {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

#modal-ingredientes {
    list-style-type: disc;
    padding-left: 20px;
}

#modal-ingredientes li {
    margin-bottom: 8px;
}

#modal-instrucciones {
    line-height: 1.8;
    text-align: justify;
}

.modal-body {
    max-height: 70vh;
}

/* Mejorar el cursor en los botones de ver receta */
.ver-receta-btn {
    cursor: pointer;
}

/* Estilos para la sección hero */
.hero {
    position: relative;
    color: #ffffff;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.45));
    z-index: 1;
}
.hero > .container {
    position: relative;
    z-index: 2;
}
.hero .display-4,
.hero .lead,
.hero .btn {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

/* Estilo del buscador */
#searchInput {
    background-color: rgba(255, 255, 255, 0.95);
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
#searchInput::placeholder {
    color: #6c757d;
}
#searchInput:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.6);
    outline: none;
}
