/* Estilos para la pagina standalone de clase */

/* Padding superior para separar del navbar */
.clase-page-container {
    padding-top: 1.5rem;
}

/* Header: titulo + botones arriba del video */
.clase-header {
    min-height: 0;
}

/* Tags ocultos temporalmente */
.clase-header [data-clase="tags"] {
    display: none !important;
}

.clase-header h1 {
    line-height: 1.3;
}

/* Contenedor de video/portada */
.clase-video-container {
    background-color: var(--bs-body-bg);
    min-height: 300px;
}

@media (min-width: 768px) {
    .clase-video-container {
        min-height: 450px;
    }
}

/* Portada */
.clase-portada {
    position: relative;
    cursor: pointer;
}

.clase-portada:hover img {
    opacity: 0.9;
}

.clase-play-overlay {
    transition: transform 0.2s;
}

.clase-portada:hover .clase-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive: en mobile los botones solo muestran icono */
@media (max-width: 575.98px) {
    .clase-header h1 {
        font-size: 1.1rem;
    }
    [data-clase="buttons"] .btn {
        padding: 0.4rem 0.6rem;
    }
}

/* Video player */
.video-wrap {
    width: 100%;
}

.video-wrap .video-js {
    width: 100%;
    border-radius: 1rem;
}

.video-js .vjs-big-play-button {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin-top: -40px;
    margin-left: -40px;
}

/* Ocultar boton de subtitulos */
.vjs-subtitles-button {
    display: none !important;
}

/* Contenedor de comentarios */
.clase-comentarios-container {
    max-height: none;
}

/* Contenedor de clases sugeridas */

/* Items de comentario */
.comentario-item .btn:hover {
    color: var(--bs-primary) !important;
}

/* Tags */
.clase-tag {
    font-size: 0.75rem;
}

/* Botones de accion (estilo Airbnb) */
.clase-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0.4rem 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: #222;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.clase-action-btn span {
    text-decoration: underline;
}

.clase-action-btn i {
    font-size: 1.1rem;
    text-decoration: none;
}

.clase-action-btn:hover {
    background: #f0f0f0;
}

/* Receta container */
#receta_container {
    background-color: var(--bs-body-secondary-bg);
}

#receta_container .ingredientes,
#receta_container .instrucciones {
    padding: 1rem;
}

#receta_container ol {
    list-style: none;
    counter-reset: item;
    padding: 0;
}

#receta_container ol li {
    counter-increment: item;
    margin-bottom: 5px;
    position: relative;
    padding-left: 42px;
    margin-bottom: 20px;
}

#receta_container ol li:before {
    content: counter(item);
    background: #999B8350;
    border-radius: 100%;
    color: #999B83;
    width: 28px;
    height: 28px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
}

#receta_container ul {
    list-style: none;
    padding: 0;
}

#receta_container ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 32px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#receta_container ul li:before {
    content: '';
    background: #999B8350;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
}

/* Spinner de carga */
.clase-loading {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal de intensidad slider */
.intensidad {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #d3d3d3;
    outline: none;
}

.intensidad::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #999B83;
    cursor: pointer;
    transition: background 0.3s;
}

.intensidad::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #999B83;
    cursor: pointer;
    transition: background 0.3s;
}

/* Animacion de blur para portada */
.blur {
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
}

/* Boton de like en comentarios */
[data-clase="like-comentario"] {
    transition: color 0.2s;
}

[data-clase="like-comentario"]:hover {
    color: var(--bs-primary) !important;
}

