
.video-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    max-width: 100%;
}

.video-thumb {
    width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.video-content {
    flex: 1;
    font-size: 14px;
}

.video-description {
    font-size: 14px;
    margin: 5px 0px 10px;
}

@media (max-width: 600px) {
    .video-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .video-thumb {
        width: 100%;
        height: auto;
    }

    .video-content {
        text-align: left;
    }
}

.verder {
    background-color: #e9fcf2;color: #006238;font-size: 20px;padding: 20px;border-radius: 10px;margin-bottom: 20px;
}
span {
    font-weight: bold;
}
.titulo-principal, h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #111;
    margin: 40px 20px 20px 20px;
    line-height: 1.3;
    padding-top: 0px;
    padding-bottom: 20px;
}

.boton-generar {
    background: linear-gradient(134.38deg, #f539f8, #c342f9 43.55%, #5356fb 104.51%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 22px 20px;
    font-size: 24px;
    cursor: pointer;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
}

.pantalla-tablet {
    width: 100vw;
    display: flex;
    justify-content: center;
    background-color: #f5f5f5;
}

.formulario {
    width: 90%;
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-height: 100vh;
    margin-top: 10px;

}

.formulario input,
.formulario textarea,
.formulario .selector {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    max-width: 100%;
    min-width: 100%;
    border: 2px #ca41f8 solid;
}
.formulario textarea {
    min-height: 120px;
    height: 120px;
    max-height: 200px;
}

.cabecera {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    color: black;
    font-size: 20px;
    font-weight: bold;
}
.logo img {
    width: 200px;
}

.acciones {
    display: flex;
    align-items: center;
    gap: 15px;
}

.idioma-selector {
    padding: 8px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
}

.boton {
    background-color: black;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    background: linear-gradient(134.38deg, #f539f8, #c342f9 43.55%, #5356fb 104.51%);
}

.boton:hover {
    background-color: white;
    color: black;
    transition: 0.2s;
}

@media (max-width: 768px) {

    .verder {
        background-color: #e9fcf2;color: #006238;font-size: 16px;padding: 20px;border-radius: 10px;margin-bottom: 20px;
    }
    .cabecera {
        flex-direction: column;
        align-items: flex-start;
    }
    .boton-generar {
        font-size: 16px;
    }

    .logo {
        width: 100%;
    }

    .logo img {
        width: 150px;
    }

    .acciones {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .boton, .idioma-selector {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 768px) {

    .titulo-principal, h2 {
        font-size: 24px;
    }

}


/* Fondo oscurecido */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* Contenedor del modal */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

/* Botón de cerrar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
}